org.cruxframework.crux.core.server.dispatch
Class RemoteServiceServlet
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.cruxframework.crux.core.server.dispatch.RemoteServiceServlet
- All Implemented Interfaces:
- com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class RemoteServiceServlet
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
- Author:
- Thiago Bustamante
- See Also:
- Serialized Form
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| 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 |
RemoteServiceServlet
public RemoteServiceServlet()
processCall
public String processCall(String payload)
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- See Also:
RemoteServiceServlet.processCall(java.lang.String)
checkSynchonizerToken
protected boolean checkSynchonizerToken(com.google.gwt.user.server.rpc.RPCRequest rpcRequest,
CruxSynchronizerTokenHandler handler)
throws com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException
- Parameters:
rpcRequest - handler -
- Returns:
-
- Throws:
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException
initUserLocaleResolver
protected boolean initUserLocaleResolver()
clearUserLocaleResolver
protected void clearUserLocaleResolver()
getServiceForRequest
protected Object getServiceForRequest(String encodedRequest)
throws com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException
- Return the service that will handle this request
- Parameters:
encodedRequest -
- Returns:
-
- Throws:
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException
Copyright © 2015. All rights reserved.