public abstract static class AbstractDispatchAsyncModule.Builder<B extends AbstractDispatchAsyncModule.Builder<B>> extends Object
AbstractDispatchAsyncModule builder.
By default, this builder configures the AbstractDispatchAsyncModule to use DefaultExceptionHandler and DefaultSecurityCookieAccessor.com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule.Builder,
com.gwtplatform.dispatch.rest.client.gin.RestDispatchAsyncModule.Builder| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDispatchAsyncModule.Builder()
Constructs
AbstractDispatchAsyncModule builder. |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractDispatchAsyncModule |
build()
Build the
AbstractDispatchAsyncModule. |
B |
exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
Specify an alternative exception handler.
|
protected abstract B |
self() |
B |
sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
Specify an alternate session accessor.
|
protected AbstractDispatchAsyncModule.Builder()
AbstractDispatchAsyncModule builder.public abstract AbstractDispatchAsyncModule build()
AbstractDispatchAsyncModule.AbstractDispatchAsyncModule.public B exceptionHandler(Class<? extends ExceptionHandler> exceptionHandlerType)
exceptionHandlerType - The ExceptionHandler class.AbstractDispatchAsyncModule.Builder object.public B sessionAccessor(Class<? extends SecurityCookieAccessor> sessionAccessorType)
sessionAccessorType - The SecurityCookieAccessor class.AbstractDispatchAsyncModule.Builder object.protected abstract B self()
Copyright © 2010–2015 Arcbees. All rights reserved.