Package com.google.gwt.user.client.rpc
Interface HasRpcToken
public interface HasRpcToken
An interface implemented by client-side RPC proxy objects. Cast the object
returned from
GWT.create(Class) on a
RemoteService to this interface to set RpcToken and
RpcTokenExceptionHandler.-
Method Summary
Modifier and TypeMethodDescriptionReturn RPC token used with this RPC instance.Return RPC token exception handler used with this RPC instance.voidsetRpcToken(RpcToken token) Sets theRpcTokento be included with each RPC call.voidSets the handler for exceptions that occurred during RPC token processing.
-
Method Details
-
getRpcToken
RpcToken getRpcToken()Return RPC token used with this RPC instance.- Returns:
- RPC token or
nullif none set.
-
getRpcTokenExceptionHandler
RpcTokenExceptionHandler getRpcTokenExceptionHandler()Return RPC token exception handler used with this RPC instance.- Returns:
- Exception handler or
nullif none set.
-
setRpcToken
Sets theRpcTokento be included with each RPC call. -
setRpcTokenExceptionHandler
Sets the handler for exceptions that occurred during RPC token processing.
-