com.gwtplatform.dispatch.server
Class AbstractDispatchServiceImpl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.gwtplatform.dispatch.server.AbstractDispatchServiceImpl
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, DispatchService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public abstract class AbstractDispatchServiceImpl
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
- implements DispatchService
This is the server-side implementation of the DispatchService
, for which the client-side async service is
DispatchServiceAsync
.
This class is closely related to AbstractDispatchImpl
, in theory the latter wouldn't be needed, but we use it
to workaround a GWT limitation described in DispatchAsync
.
- Author:
- Christian Goudreau, David Peterson
- See Also:
DispatchAsync
,
Dispatch
,
com.gwtplatform.dispatch.server.guice.DispatchImpl
,
DispatchService
,
DispatchServiceAsync
,
com.gwtplatform.dispatch.server.guice.DispatchServiceImpl
,
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, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, 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, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dispatch
protected final Dispatch dispatch
logger
protected final Logger logger
requestProvider
protected RequestProvider requestProvider
AbstractDispatchServiceImpl
protected AbstractDispatchServiceImpl(Logger logger,
Dispatch dispatch,
RequestProvider requestProvider)
getSecurityCookieName
public String getSecurityCookieName()
execute
public Result execute(String cookieSentByRPC,
Action<?> action)
throws ActionException,
ServiceException
- Specified by:
execute
in interface DispatchService
- Throws:
ActionException
ServiceException
undo
public void undo(String cookieSentByRPC,
Action<Result> action,
Result result)
throws ActionException,
ServiceException
- Specified by:
undo
in interface DispatchService
- Throws:
ActionException
ServiceException
Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.