org.cruxframework.crux.core.server.dispatch
Class RemoteServiceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by 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

Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
RemoteServiceServlet()
           
 
Method Summary
protected  boolean checkSynchonizerToken(com.google.gwt.user.server.rpc.RPCRequest rpcRequest, CruxSynchronizerTokenHandler handler)
           
protected  void clearUserLocaleResolver()
           
protected  Object getServiceForRequest(String encodedRequest)
          Return the service that will handle this request
protected  boolean initUserLocaleResolver()
           
 String processCall(String payload)
           
 
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
 

Constructor Detail

RemoteServiceServlet

public RemoteServiceServlet()
Method Detail

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.