Package jadex.web.examples.helloworld
Class JadexDispatcherServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- jadex.web.examples.helloworld.JadexDispatcherServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class JadexDispatcherServlet extends javax.servlet.http.HttpServlet
Servlet implementation class JadexDispatcherServlet- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IExternalAccess
platform
The platform.
-
Constructor Summary
Constructors Constructor Description JadexDispatcherServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Shut down the platform on exit.protected void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Called on each web request.void
init()
Init the servlet by starting the Jadex platform.-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
platform
protected IExternalAccess platform
The platform.
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException
Init the servlet by starting the Jadex platform.- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
Shut down the platform on exit.- Specified by:
destroy
in interfacejavax.servlet.Servlet
- Overrides:
destroy
in classjavax.servlet.GenericServlet
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
Called on each web request.- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
-
-