|
||||||||||
| 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
at.spardat.xma.rpc.RPCServletServer
This servlet is the server side endpoint for XMA remote calls in components.
The corresponding client class that is the communication partner is
RemoteCall.
What this servlet roughly does, is:
RemoteReplyDataobject and write it to the servlet output stream.
| Constructor Summary | |
RPCServletServer()
|
|
| Method Summary | |
void |
dispatchRemoteCall(ComponentServer component,
RemoteCall call,
RemoteReply reply)
This method processes a remote call at the component level. |
static boolean |
doCompress(int length)
Determines if responses to the client of length should be compressed. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The post method that exactly does the things described above. |
protected void |
doPost0(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String measurementPraefix)
The post method that exactly does the things described above. |
void |
init(javax.servlet.ServletConfig sc)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RPCServletServer()
| Method Detail |
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void init(javax.servlet.ServletConfig sc)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionGenericServlet.init(javax.servlet.ServletConfig)
protected void doPost0(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String measurementPraefix)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletException
java.io.IOExceptionpublic static boolean doCompress(int length)
public void dispatchRemoteCall(ComponentServer component,
RemoteCall call,
RemoteReply reply)
component - the component where to dispatch the callcall - the remote request object as transmitted from the clientreply - the remote reply object that is going to hold the reply data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||