| javax.servlet.http.HttpServlet org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet
GWTRemoteServiceServlet | public class GWTRemoteServiceServlet extends HttpServlet (Code) | | author: @hacker Michael Neale author: This is a less then ideal approach, but GWT (up to and including 1.3) author: has no means to get into the internals of the RPC mechanism, and free it author: from the shackles of the servlet API. author: So I, the liberator, have hacked this out of RemoteServiceServlet to do this, heretofore. author: When GWT 1.4 comes along to save us all, this can be retired, and the RPC utility class author: - as contributed by Rob Jellinghaus can be used instead. |
GWTRemoteServiceServlet | public GWTRemoteServiceServlet()(Code) | | The default constructor.
|
getThreadLocalRequest | final protected HttpServletRequest getThreadLocalRequest()(Code) | | Gets the HttpServletRequest object for the current call. It
is stored thread-locally so that simultaneous invocations can have
different request objects.
|
getThreadLocalResponse | final protected HttpServletResponse getThreadLocalResponse()(Code) | | Gets the HttpServletResponse object for the current call. It
is stored thread-locally so that simultaneous invocations can have
different response objects.
|
onAfterResponseSerialized | protected void onAfterResponseSerialized(String serializedResponse)(Code) | | Override this method to examine the serialized response that will be
returned to the client. The default implementation does nothing and need
not be called by subclasses.
|
onBeforeRequestDeserialized | protected void onBeforeRequestDeserialized(String serializedRequest)(Code) | | Override this method to examine the serialized version of the request
payload before it is deserialized into objects. The default implementation
does nothing and need not be called by subclasses.
|
processCall | public String processCall(String payload) throws SerializationException(Code) | | This is public so that it can be unit tested easily without HTTP.
|
shouldCompressResponse | protected boolean shouldCompressResponse(HttpServletRequest request, HttpServletResponse response, String responsePayload)(Code) | | Determines whether the response to a given servlet request should or should
not be GZIP compressed. This method is only called in cases where the
requestor accepts GZIP encoding.
This implementation currently returns true if the response
string's estimated byte length is longer than 256 bytes. Subclasses can
override this logic.
Parameters: request - the request being served Parameters: response - the response that will be written into Parameters: responsePayload - the payload that is about to be sent to the client true if responsePayload should be GZIP compressed,otherwise false . |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|