Class AbstractGwtRpcProxyServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.pentaho.platform.web.servlet.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:
  • Field Summary

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

    perThreadRequest, perThreadResponse
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
     
  • Method Summary

    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
     
    protected abstract AbstractGwtRpc
    getRpc(javax.servlet.http.HttpServletRequest httpRequest)
     
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractGwtRpcProxyServlet

      protected AbstractGwtRpcProxyServlet()
    • AbstractGwtRpcProxyServlet

      protected AbstractGwtRpcProxyServlet(@Nullable IGwtRpcSerializationPolicyCache serializationPolicyCache)
  • Method Details

    • getSerializationPolicyCache

      @NonNull public IGwtRpcSerializationPolicyCache getSerializationPolicyCache()
    • 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