Package com.google.gwt.user.server.rpc
Class RPCRequest
- java.lang.Object
-
- com.google.gwt.user.server.rpc.RPCRequest
-
public final class RPCRequest extends java.lang.ObjectDescribes an incoming RPC request in terms of a resolvedMethodand an array of arguments.
-
-
Constructor Summary
Constructors Constructor Description RPCRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, RpcToken rpcToken, SerializationPolicy serializationPolicy, int flags)Construct an RPCRequest.RPCRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, SerializationPolicy serializationPolicy, int flags)Construct an RPCRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFlags()java.lang.reflect.MethodgetMethod()Get the request's method.java.lang.Object[]getParameters()Get the request's parameters.RpcTokengetRpcToken()Get the request's RPC token.SerializationPolicygetSerializationPolicy()Returns theSerializationPolicyused to decode this request.java.lang.StringtoString()For debugging use only.
-
-
-
Constructor Detail
-
RPCRequest
public RPCRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, SerializationPolicy serializationPolicy, int flags)Construct an RPCRequest.
-
RPCRequest
public RPCRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, RpcToken rpcToken, SerializationPolicy serializationPolicy, int flags)Construct an RPCRequest.
-
-
Method Detail
-
getFlags
public int getFlags()
-
getMethod
public java.lang.reflect.Method getMethod()
Get the request's method.
-
getParameters
public java.lang.Object[] getParameters()
Get the request's parameters.
-
getRpcToken
public RpcToken getRpcToken()
Get the request's RPC token.
-
getSerializationPolicy
public SerializationPolicy getSerializationPolicy()
Returns theSerializationPolicyused to decode this request. This is also theSerializationPolicythat should be used to encode responses.- Returns:
SerializationPolicyused to decode this request
-
toString
public java.lang.String toString()
For debugging use only.- Overrides:
toStringin classjava.lang.Object
-
-