public abstract static class AbstractDispatchAsyncModule.Builder extends Object
AbstractDispatchAsyncModule builder.
By default, this builder configures the AbstractDispatchAsyncModule to use
DefaultExceptionHandler, DefaultClientActionHandlerRegistry and
DefaultSecurityCookieAccessor.| Constructor and Description |
|---|
AbstractDispatchAsyncModule.Builder()
Constructs
AbstractDispatchAsyncModule builder. |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractDispatchAsyncModule |
build()
Build the
AbstractDispatchAsyncModule. |
<T extends AbstractDispatchAsyncModule.Builder> |
clientActionHandlerRegistry(Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType)
Specify an alternate client action handler registry.
|
<T extends AbstractDispatchAsyncModule.Builder> |
dispatchHooks(Class<? extends DispatchHooks> dispatchHooks)
Supply your own implementation of
DispatchHooks. |
<T extends AbstractDispatchAsyncModule.Builder> |
exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
Specify an alternative exception handler.
|
<T extends AbstractDispatchAsyncModule.Builder> |
sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
Specify an alternate session accessor.
|
public AbstractDispatchAsyncModule.Builder()
AbstractDispatchAsyncModule builder.public abstract AbstractDispatchAsyncModule build()
AbstractDispatchAsyncModule.AbstractDispatchAsyncModule.public <T extends AbstractDispatchAsyncModule.Builder> T clientActionHandlerRegistry(Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType)
clientActionHandlerRegistryType - A ClientActionHandlerRegistry class.AbstractDispatchAsyncModule.Builder object.public <T extends AbstractDispatchAsyncModule.Builder> T dispatchHooks(Class<? extends DispatchHooks> dispatchHooks)
DispatchHooks.
Default is DefaultDispatchHooksdispatchHooks - The DispatchHooks implementation.AbstractDispatchAsyncModule.Builder object.public <T extends AbstractDispatchAsyncModule.Builder> T exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
exceptionHandlerType - The ExceptionHandler class.AbstractDispatchAsyncModule.Builder object.public <T extends AbstractDispatchAsyncModule.Builder> T sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
sessionAccessorType - The SecurityCookieAccessor class.AbstractDispatchAsyncModule.Builder object.Copyright © 2010–2014 Arcbees. All rights reserved.