Package org.pentaho.platform.web.servlet
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
ModifierConstructorDescriptionprotected
protected
AbstractGwtRpcProxyServlet
(IGwtRpcSerializationPolicyCache serializationPolicyCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
AbstractGwtRpcProxyServlet
protected AbstractGwtRpcProxyServlet() -
AbstractGwtRpcProxyServlet
protected AbstractGwtRpcProxyServlet(@Nullable IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
-
Method Details
-
getSerializationPolicyCache
-
doUnexpectedFailure
- Overrides:
doUnexpectedFailure
in classcom.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
getRpc
@NonNull protected abstract AbstractGwtRpc getRpc(@NonNull javax.servlet.http.HttpServletRequest httpRequest) -
readContent
- Overrides:
readContent
in classcom.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
processCall
public String processCall(String requestPayload) throws com.google.gwt.user.client.rpc.SerializationException - Overrides:
processCall
in classcom.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 classcom.google.gwt.user.server.rpc.RemoteServiceServlet
-