public interface

HasRpcToken

com.google.gwt.user.client.rpc.HasRpcToken
Known Indirect Subclasses

Class Overview

An interface implemented by client-side RPC proxy objects. Cast the object returned from create(Class) on a RemoteService to this interface to set RpcToken and RpcTokenExceptionHandler.

Summary

Public Methods
abstract RpcToken getRpcToken()
Return RPC token used with this RPC instance.
abstract RpcTokenExceptionHandler getRpcTokenExceptionHandler()
Return RPC token exception handler used with this RPC instance.
abstract void setRpcToken(RpcToken token)
Sets the RpcToken to be included with each RPC call.
abstract void setRpcTokenExceptionHandler(RpcTokenExceptionHandler handler)
Sets the handler for exceptions that occurred during RPC token processing.

Public Methods

public abstract RpcToken getRpcToken ()

Return RPC token used with this RPC instance.

Returns
  • RPC token or null if none set.

public abstract RpcTokenExceptionHandler getRpcTokenExceptionHandler ()

Return RPC token exception handler used with this RPC instance.

Returns
  • Exception handler or null if none set.

public abstract void setRpcToken (RpcToken token)

Sets the RpcToken to be included with each RPC call.

public abstract void setRpcTokenExceptionHandler (RpcTokenExceptionHandler handler)

Sets the handler for exceptions that occurred during RPC token processing.