Class AbstractGwtRpcProxyServlet

  • All Implemented Interfaces:
    com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
    Direct Known Subclasses:
    GwtRpcPluginProxyServlet, GwtRpcProxyServlet

    public abstract class AbstractGwtRpcProxyServlet
    extends com.google.gwt.user.server.rpc.RemoteServiceServlet
    Base class for GWT RPC proxying servlets, which allows developers to write GWT Services as Pojos and have the GWT client POST requests to subclasses of this class.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        perThreadRequest, perThreadResponse
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.google.gwt.user.server.rpc.SerializationPolicy doGetSerializationPolicy​(javax.servlet.http.HttpServletRequest request, String moduleBaseURL, String strongName)  
      protected void doUnexpectedFailure​(Throwable e)  
      protected abstract AbstractGwtRpc getRpc​(javax.servlet.http.HttpServletRequest httpRequest)  
      IGwtRpcSerializationPolicyCache getSerializationPolicyCache()  
      String processCall​(String requestPayload)  
      protected String readContent​(javax.servlet.http.HttpServletRequest httpRequest)  
      • Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

        checkPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
      • Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized
      • 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
    • Constructor Detail

      • AbstractGwtRpcProxyServlet

        protected AbstractGwtRpcProxyServlet()
    • Method Detail

      • doUnexpectedFailure

        protected void doUnexpectedFailure​(Throwable e)
        Overrides:
        doUnexpectedFailure in class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
      • getRpc

        @NonNull
        protected abstract AbstractGwtRpc getRpc​(@NonNull
                                                 javax.servlet.http.HttpServletRequest httpRequest)
      • readContent

        protected String readContent​(javax.servlet.http.HttpServletRequest httpRequest)
        Overrides:
        readContent in class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
      • processCall

        public String processCall​(String requestPayload)
                           throws com.google.gwt.user.client.rpc.SerializationException
        Overrides:
        processCall in class com.google.gwt.user.server.rpc.RemoteServiceServlet
        Throws:
        com.google.gwt.user.client.rpc.SerializationException
      • doGetSerializationPolicy

        protected com.google.gwt.user.server.rpc.SerializationPolicy doGetSerializationPolicy​(javax.servlet.http.HttpServletRequest request,
                                                                                              String moduleBaseURL,
                                                                                              String strongName)
        Overrides:
        doGetSerializationPolicy in class com.google.gwt.user.server.rpc.RemoteServiceServlet