|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.figure8.join.services.remoting.xmlrpc.XmlRpcServlet
public class XmlRpcServlet
This is a servlet that initialized a XmlRpcServer
if required conditions
are present. It retrieves the "xmlRpcHandler" component from a WebApplicationContext
as a handler for XmlRpcServer.
Constructor Summary | |
---|---|
XmlRpcServlet()
|
Method Summary | |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Service a GET method Http call. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Service a POST method Http call. |
protected void |
serviceXmlRpcRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Service the request using the XmlRpcServer. |
protected void |
setupXmlRpcServer()
Setup the Xml-Rpc server if application setup is complete and we are on synchronous side of it. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcServlet()
Method Detail |
---|
protected 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
- The container Http request wrapperresponse
- The container Http rseponse wrapper
javax.servlet.ServletException
- if iniatilization of Xml-Rpc service fails
java.io.IOException
- if input or outputstream cannot be read/written/closedprotected 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
- The container Http request wrapperresponse
- The container Http rseponse wrapper
javax.servlet.ServletException
- if iniatilization of Xml-Rpc service fails
java.io.IOException
- if input or outputstream cannot be read/written/closedprotected void serviceXmlRpcRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
request
- The container Http request wrapperresponse
- The container Http rseponse wrapper
java.io.IOException
- if input or outputstream cannot be read/written/closedprotected void setupXmlRpcServer() throws javax.servlet.ServletException
javax.servlet.ServletException
- if conditions are not present or initialization of XmlRpc handler fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |