AbstractDispatchServiceImpl.@Deprecated 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.server.guice.DispatchImpl,
DispatchService,
DispatchServiceAsync,
com.gwtplatform.dispatch.server.guice.DispatchServiceImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Dispatch |
dispatch
Deprecated.
|
protected Logger |
logger
Deprecated.
|
protected RequestProvider |
requestProvider
Deprecated.
|
perThreadRequest, perThreadResponse| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDispatchServiceImpl(Logger logger,
Dispatch dispatch,
RequestProvider requestProvider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
execute(String cookieSentByRPC,
Action<?> action)
Deprecated.
ActionException and
ServiceException will have their stacktraces (and stacktraces of their
causes) removed for security purposes. |
String |
getSecurityCookieName()
Deprecated.
|
void |
undo(String cookieSentByRPC,
Action<Result> action,
Result result)
Deprecated.
|
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 DispatchServiceActionExceptionServiceExceptioncom.gwtplatform.dispatch.shared.DispatchService} 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.