Package | Description |
---|---|
com.google.gwt.user.client.rpc |
Classes used in client-side implementation of remote procedure calls.
|
com.google.gwt.user.client.rpc.impl | |
com.google.gwt.user.server.rpc |
Classes used in server-side implementation of remote procedure calls.
|
Modifier and Type | Class and Description |
---|---|
class |
XsrfToken
XSRF token.
|
Modifier and Type | Method and Description |
---|---|
RpcToken |
HasRpcToken.getRpcToken()
Return RPC token used with this RPC instance.
|
Modifier and Type | Method and Description |
---|---|
void |
HasRpcToken.setRpcToken(RpcToken token)
Sets the
RpcToken to be included with each RPC call. |
Modifier and Type | Method and Description |
---|---|
RpcToken |
RemoteServiceProxy.getRpcToken() |
Modifier and Type | Method and Description |
---|---|
protected void |
RemoteServiceProxy.checkRpcTokenType(RpcToken token)
This method is overridden by generated proxy classes to ensure that
current service's
RpcToken is of the type specified in RpcToken.RpcTokenImplementation annotation. |
void |
RemoteServiceProxy.setRpcToken(RpcToken token) |
Modifier and Type | Method and Description |
---|---|
RpcToken |
RPCRequest.getRpcToken()
Get the request's RPC token.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractXsrfProtectedServiceServlet.validateXsrfToken(RpcToken token,
Method method)
Override this method to perform XSRF token verification.
|
protected void |
XsrfProtectedServiceServlet.validateXsrfToken(RpcToken token,
Method method)
Validates
XsrfToken included with RPCRequest against XSRF
cookie. |
Constructor and Description |
---|
RPCRequest(Method method,
Object[] parameters,
RpcToken rpcToken,
SerializationPolicy serializationPolicy,
int flags)
Construct an RPCRequest.
|
Copyright © 2018. All rights reserved.