public class RpcDispatchAsyncModule extends AbstractDispatchAsyncModule
AbstractDispatchAsyncModule
that uses Remote Procedure Calls (RPC).
This gin module provides provides access to the DispatchAsync
singleton, which is used to make calls to the
server over RPC.
If you want to prevent XSRF attack (you use secured Action
s) the empty
DefaultSecurityCookieAccessor
could leave your application vulnerable to XSRF attacks.Modifier and Type | Class and Description |
---|---|
static class |
RpcDispatchAsyncModule.Builder
A
RpcDispatchAsyncModule builder. |
Modifier | Constructor and Description |
---|---|
|
RpcDispatchAsyncModule() |
protected |
RpcDispatchAsyncModule(RpcDispatchAsyncModule.Builder builder) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDispatch()
Override this method to perform additional bindings in your implementation of
AbstractDispatchAsyncModule . |
configure
bind, bind, bind, bindConstant, binder, configure, install, requestStaticInjection
public RpcDispatchAsyncModule()
protected RpcDispatchAsyncModule(RpcDispatchAsyncModule.Builder builder)
protected void configureDispatch()
AbstractDispatchAsyncModule
AbstractDispatchAsyncModule
.configureDispatch
in class AbstractDispatchAsyncModule
Copyright © 2010–2014 Arcbees. All rights reserved.