|
GWTP Dispatch client 0.6-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtplatform.dispatch.client.gin.DispatchAsyncModule.Builder
public static class DispatchAsyncModule.Builder
A DispatchAsyncModule
builder.
By default, this builder configures the DispatchAsyncModule
to use
DefaultExceptionHandler
, DefaultSecurityCookieAccessor
, and
DefaultClientActionHandlerRegistry
.
Field Summary | |
---|---|
protected Class<? extends ClientActionHandlerRegistry> |
clientActionHandlerRegistryType
|
protected Class<? extends ExceptionHandler> |
exceptionHandlerType
|
protected Class<? extends SecurityCookieAccessor> |
sessionAccessorType
|
Constructor Summary | |
---|---|
DispatchAsyncModule.Builder()
Constructs DispatchAsyncModule builder. |
Method Summary | |
---|---|
DispatchAsyncModule |
build()
Build the DispatchAsyncModule . |
DispatchAsyncModule.Builder |
clientActionHandlerRegistry(Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType)
Specify an alternate client action handler registry. |
DispatchAsyncModule.Builder |
exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
Specify an alternative exception handler. |
DispatchAsyncModule.Builder |
sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
Specify an alternate session accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Class<? extends ExceptionHandler> exceptionHandlerType
protected Class<? extends SecurityCookieAccessor> sessionAccessorType
protected Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType
Constructor Detail |
---|
public DispatchAsyncModule.Builder()
DispatchAsyncModule
builder.
Method Detail |
---|
public DispatchAsyncModule.Builder exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
exceptionHandlerType
- The ExceptionHandler
class.
DispatchAsyncModule.Builder
object.public DispatchAsyncModule.Builder sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
sessionAccessorType
- The SecurityCookieAccessor
class.
DispatchAsyncModule.Builder
object.public DispatchAsyncModule.Builder clientActionHandlerRegistry(Class<? extends ClientActionHandlerRegistry> clientActionHandlerRegistryType)
clientActionHandlerRegistryType
- A ClientActionHandlerRegistry
class.
DispatchAsyncModule.Builder
object.public DispatchAsyncModule build()
DispatchAsyncModule
.
DispatchAsyncModule
.
|
GWTP Dispatch client 0.6-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |