public interface HasRpcToken
GWT.create(Class)
on a
RemoteService
to this interface to set RpcToken
and
RpcTokenExceptionHandler
.Modifier and Type | Method and Description |
---|---|
RpcToken |
getRpcToken()
Return RPC token used with this RPC instance.
|
RpcTokenExceptionHandler |
getRpcTokenExceptionHandler()
Return RPC token exception handler used with this RPC instance.
|
void |
setRpcToken(RpcToken token)
Sets the
RpcToken to be included with each RPC call. |
void |
setRpcTokenExceptionHandler(RpcTokenExceptionHandler handler)
Sets the handler for exceptions that occurred during RPC token processing.
|
RpcToken getRpcToken()
null
if none set.RpcTokenExceptionHandler getRpcTokenExceptionHandler()
null
if none set.void setRpcTokenExceptionHandler(RpcTokenExceptionHandler handler)