public abstract class AbstractDispatchAsyncModule extends AbstractGinModule
ExceptionHandler and a SecurityCookieAccessor. By default, these will be bound to
DefaultExceptionHandler, DefaultSecurityCookieAccessor respectively.
Install the module in one of your configure() methods:
install(new RestDispatchAsyncModule.Builder()
.exceptionHandler(MyExceptionHandler.class)
.sessionAccessor(MySessionAccessor.class)
.build());
com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule,
com.gwtplatform.dispatch.rest.client.gin.RestDispatchAsyncModule| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDispatchAsyncModule.Builder<B extends AbstractDispatchAsyncModule.Builder<B>>
A
AbstractDispatchAsyncModule builder. |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDispatchAsyncModule(AbstractDispatchAsyncModule.Builder<?> builder,
Class<? extends Annotation> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected void |
configureDispatch()
Override this method to perform additional bindings in your implementation of
AbstractDispatchAsyncModule. |
bind, bind, bind, bindConstant, binder, configure, install, requestStaticInjectionprotected AbstractDispatchAsyncModule(AbstractDispatchAsyncModule.Builder<?> builder, Class<? extends Annotation> annotationClass)
protected final void configure()
configure in class AbstractGinModuleprotected void configureDispatch()
AbstractDispatchAsyncModule.Copyright © 2010–2016 Arcbees. All rights reserved.