org.mortbay.gwt
Class AsyncRemoteServiceServlet

java.lang.Object
  extended by HttpServlet
      extended by com.google.gwt.user.server.rpc.OpenRemoteServiceServlet
          extended by org.mortbay.gwt.AsyncRemoteServiceServlet

public class AsyncRemoteServiceServlet
extends OpenRemoteServiceServlet


Field Summary
static String PAYLOAD
           
 
Constructor Summary
AsyncRemoteServiceServlet()
           
 
Method Summary
protected  void handleException(String responsePayload, Throwable caught)
           
protected  String readPayloadAsUtf8(HttpServletRequest request)
           
protected  void respondWithFailure(HttpServletResponse response, Throwable caught)
          Called when the machinery of this class itself has a problem, rather than the invoked third-party method.
protected  void throwIfRetyRequest(Throwable caught)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.OpenRemoteServiceServlet
doPost, getThreadLocalRequest, getThreadLocalResponse, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, shouldCompressResponse, writeResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAYLOAD

public static final String PAYLOAD
See Also:
Constant Field Values
Constructor Detail

AsyncRemoteServiceServlet

public AsyncRemoteServiceServlet()
Method Detail

readPayloadAsUtf8

protected String readPayloadAsUtf8(HttpServletRequest request)
                            throws IOException,
                                   ServletException
Overrides:
readPayloadAsUtf8 in class OpenRemoteServiceServlet
Throws:
IOException
ServletException

respondWithFailure

protected void respondWithFailure(HttpServletResponse response,
                                  Throwable caught)
Description copied from class: OpenRemoteServiceServlet
Called when the machinery of this class itself has a problem, rather than the invoked third-party method. It writes a simple 500 message back to the client.

Overrides:
respondWithFailure in class OpenRemoteServiceServlet

handleException

protected void handleException(String responsePayload,
                               Throwable caught)
Overrides:
handleException in class OpenRemoteServiceServlet

throwIfRetyRequest

protected void throwIfRetyRequest(Throwable caught)


Copyright © 2007 Mort Bay Consulting. All Rights Reserved.