|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.creamtec.ajaxswing.AjaxSwingRouter
public class AjaxSwingRouter
AjaxSwing uses the router servlet to receive, pre-process and delegate HTTP requests to the appropriate client agent. The agent generates HTML that is returned to the browser by the router.
Nested Class Summary | |
---|---|
static class |
AjaxSwingRouter.InProcessJVMFactory
Extends the JVMFactory to provide AjaxSwing with a class that is not loaded from the boot class path. |
Field Summary | |
---|---|
static java.lang.String |
PROPS_FILE_NAME
|
Constructor Summary | |
---|---|
AjaxSwingRouter()
|
Method Summary | |
---|---|
void |
destroy()
Shuts down AjaxSwing subsystem |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Delegates to doPost |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Delegates the processing to the ServletHelper.processHttpRequest |
java.lang.String |
getServletInfo()
Returns AjaxSwing information |
void |
init(javax.servlet.ServletConfig config)
Verifies AjaxSwing configuration and initializes the router |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Traces all incoming service requests |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPS_FILE_NAME
Constructor Detail |
---|
public AjaxSwingRouter()
Method Detail |
---|
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- ServletConfig
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
request
- HttpServletRequestresponse
- HttpServletResponse
javax.servlet.ServletException
java.io.IOException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
request
- HttpServletRequestresponse
- HttpServletResponse
javax.servlet.ServletException
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
request
- HttpServletRequestresponse
- HttpServletResponse
javax.servlet.ServletException
java.io.IOException
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |