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.RemoteServiceServletBase 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractGwtRpcProxyServlet()protectedAbstractGwtRpcProxyServlet(IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected com.google.gwt.user.server.rpc.SerializationPolicydoGetSerializationPolicy(javax.servlet.http.HttpServletRequest request, String moduleBaseURL, String strongName)protected voiddoUnexpectedFailure(Throwable e)protected abstract AbstractGwtRpcgetRpc(javax.servlet.http.HttpServletRequest httpRequest)IGwtRpcSerializationPolicyCachegetSerializationPolicyCache()StringprocessCall(String requestPayload)protected StringreadContent(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
-
-
-
-
Constructor Detail
-
AbstractGwtRpcProxyServlet
protected AbstractGwtRpcProxyServlet()
-
AbstractGwtRpcProxyServlet
protected AbstractGwtRpcProxyServlet(@Nullable IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
-
Method Detail
-
getSerializationPolicyCache
@NonNull public IGwtRpcSerializationPolicyCache getSerializationPolicyCache()
-
doUnexpectedFailure
protected void doUnexpectedFailure(Throwable e)
- Overrides:
doUnexpectedFailurein classcom.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:
readContentin classcom.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
processCall
public String processCall(String requestPayload) throws com.google.gwt.user.client.rpc.SerializationException
- Overrides:
processCallin classcom.google.gwt.user.server.rpc.RemoteServiceServlet- Throws:
com.google.gwt.user.client.rpc.SerializationException
-
-