Package com.google.gwt.user.server.rpc
Class RPCRequest
java.lang.Object
com.google.gwt.user.server.rpc.RPCRequest
Describes an incoming RPC request in terms of a resolved
Method
and
an array of arguments.-
Constructor Summary
ConstructorDescriptionRPCRequest
(Method method, Object[] parameters, RpcToken rpcToken, SerializationPolicy serializationPolicy, int flags) Construct an RPCRequest.RPCRequest
(Method method, Object[] parameters, SerializationPolicy serializationPolicy, int flags) Construct an RPCRequest. -
Method Summary
Modifier and TypeMethodDescriptionint
getFlags()
Get the request's method.Object[]
Get the request's parameters.Get the request's RPC token.Returns theSerializationPolicy
used to decode this request.toString()
For debugging use only.
-
Constructor Details
-
RPCRequest
public RPCRequest(Method method, Object[] parameters, SerializationPolicy serializationPolicy, int flags) Construct an RPCRequest. -
RPCRequest
public RPCRequest(Method method, Object[] parameters, RpcToken rpcToken, SerializationPolicy serializationPolicy, int flags) Construct an RPCRequest.
-
-
Method Details
-
getFlags
public int getFlags() -
getMethod
Get the request's method. -
getParameters
Get the request's parameters. -
getRpcToken
Get the request's RPC token. -
getSerializationPolicy
Returns theSerializationPolicy
used to decode this request. This is also theSerializationPolicy
that should be used to encode responses.- Returns:
SerializationPolicy
used to decode this request
-
toString
For debugging use only.
-