public abstract class AbstractDispatchAsyncModule extends AbstractGinModule
ExceptionHandler, a DefaultClientActionHandlerRegistry and a
SecurityCookieAccessor. By default, these will be bound to DefaultExceptionHandler,
DefaultClientActionHandlerRegistry and DefaultSecurityCookieAccessor respectively.
Install the module in one of your configure() methods:
install(new RestDispatchAsyncModule.Builder()
.exceptionHandler(MyExceptionHandler.class)
.clientActionHandlerRegistry(MyClientActionHandlerRegistry.class)
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDispatchAsyncModule.Builder
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–2014 Arcbees. All rights reserved.