public abstract class AbstractDispatchServiceImpl extends RemoteServiceServlet implements DispatchService
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.DispatchAsync,
Dispatch,
com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl,
DispatchService,
DispatchServiceAsync,
com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Dispatch |
dispatch |
protected Logger |
logger |
protected RequestProvider |
requestProvider |
perThreadRequest, perThreadResponse| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDispatchServiceImpl(Logger logger,
Dispatch dispatch,
RequestProvider requestProvider) |
| Modifier and Type | Method and Description |
|---|---|
Result |
execute(String cookieSentByRPC,
Action<?> action)
ActionException and ServiceException will have their stacktraces (and stacktraces of their
causes) removed for security purposes. |
String |
getSecurityCookieName() |
void |
undo(String cookieSentByRPC,
Action<Result> action,
Result result) |
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected final Dispatch dispatch
protected final Logger logger
protected RequestProvider requestProvider
protected AbstractDispatchServiceImpl(Logger logger, Dispatch dispatch, RequestProvider requestProvider)
public String getSecurityCookieName()
public Result execute(String cookieSentByRPC, Action<?> action) throws ActionException, ServiceException
ActionException and ServiceException will have their stacktraces (and stacktraces of their
causes) removed for security purposes.execute in interface DispatchServiceActionExceptionServiceExceptionDispatchService for further API docspublic void undo(String cookieSentByRPC, Action<Result> action, Result result) throws ActionException, ServiceException
undo in interface DispatchServiceActionExceptionServiceExceptionCopyright © 2010–2015 Arcbees. All rights reserved.