public abstract static class AbstractDispatchAsyncModule.Builder extends Object
AbstractDispatchAsyncModule
builder.
By default, this builder configures the AbstractDispatchAsyncModule
to use
DefaultExceptionHandler
, DefaultClientActionHandlerRegistry
and
DefaultSecurityCookieAccessor
.Modifier and Type | Field and Description |
---|---|
protected Class<? extends ClientActionHandlerRegistry> |
clientActionHandlerRegistryType |
protected Class<? extends ExceptionHandler> |
exceptionHandlerType |
protected Class<? extends SecurityCookieAccessor> |
sessionAccessorType |
Constructor and Description |
---|
AbstractDispatchAsyncModule.Builder()
Constructs
AbstractDispatchAsyncModule builder. |
Modifier and Type | Method and Description |
---|---|
abstract AbstractDispatchAsyncModule |
build()
Build the
AbstractDispatchAsyncModule . |
AbstractDispatchAsyncModule.Builder |
clientActionHandlerRegistry(Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType)
Specify an alternate client action handler registry.
|
AbstractDispatchAsyncModule.Builder |
exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
Specify an alternative exception handler.
|
AbstractDispatchAsyncModule.Builder |
sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
Specify an alternate session accessor.
|
protected Class<? extends ExceptionHandler> exceptionHandlerType
protected Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType
protected Class<? extends SecurityCookieAccessor> sessionAccessorType
public AbstractDispatchAsyncModule.Builder()
AbstractDispatchAsyncModule
builder.public AbstractDispatchAsyncModule.Builder exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
exceptionHandlerType
- The ExceptionHandler
class.AbstractDispatchAsyncModule.Builder
object.public AbstractDispatchAsyncModule.Builder clientActionHandlerRegistry(Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType)
clientActionHandlerRegistryType
- A ClientActionHandlerRegistry
class.AbstractDispatchAsyncModule.Builder
object.public AbstractDispatchAsyncModule.Builder sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
sessionAccessorType
- The SecurityCookieAccessor
class.AbstractDispatchAsyncModule.Builder
object.public abstract AbstractDispatchAsyncModule build()
AbstractDispatchAsyncModule
.AbstractDispatchAsyncModule
.Copyright © 2010-2014 ArcBees. All Rights Reserved.