Package com.google.gwt.user.client.rpc
Interface HasRpcToken
-
public interface HasRpcTokenAn interface implemented by client-side RPC proxy objects. Cast the object returned fromGWT.create(Class)on aRemoteServiceto this interface to setRpcTokenandRpcTokenExceptionHandler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RpcTokengetRpcToken()Return RPC token used with this RPC instance.RpcTokenExceptionHandlergetRpcTokenExceptionHandler()Return RPC token exception handler used with this RPC instance.voidsetRpcToken(RpcToken token)Sets theRpcTokento be included with each RPC call.voidsetRpcTokenExceptionHandler(RpcTokenExceptionHandler handler)Sets the handler for exceptions that occurred during RPC token processing.
-
-
-
Method Detail
-
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.
-
setRpcTokenExceptionHandler
void setRpcTokenExceptionHandler(RpcTokenExceptionHandler handler)
Sets the handler for exceptions that occurred during RPC token processing.
-
-