Package | Description |
---|---|
com.google.gwt.user.server.rpc |
Classes used in server-side implementation of remote procedure calls.
|
Modifier and Type | Method and Description |
---|---|
protected SerializationPolicy |
RemoteServiceServlet.doGetSerializationPolicy(javax.servlet.http.HttpServletRequest request,
java.lang.String moduleBaseURL,
java.lang.String strongName)
Loads the
SerializationPolicy for given module base URL and strong name. |
static SerializationPolicy |
RPC.getDefaultSerializationPolicy()
Returns a default serialization policy.
|
SerializationPolicy |
RPCRequest.getSerializationPolicy()
Returns the
SerializationPolicy used to decode this request. |
SerializationPolicy |
SerializationPolicyProvider.getSerializationPolicy(java.lang.String moduleBaseURL,
java.lang.String serializationPolicyStrongName)
Returns a
SerializationPolicy for a given module base URL and
serialization policy strong name. |
SerializationPolicy |
RemoteServiceServlet.getSerializationPolicy(java.lang.String moduleBaseURL,
java.lang.String strongName) |
static SerializationPolicy |
SerializationPolicyLoader.loadFromStream(java.io.InputStream inputStream)
Deprecated.
|
static SerializationPolicy |
SerializationPolicyLoader.loadFromStream(java.io.InputStream inputStream,
java.util.List<java.lang.ClassNotFoundException> classNotFoundExceptions)
Loads a SerializationPolicy from an input stream and optionally record any
ClassNotFoundException s. |
(package private) SerializationPolicy |
SerializationPolicyClient.loadPolicy(java.lang.String url,
SerializationPolicyClient.Logger logger) |
protected SerializationPolicy |
RemoteServiceServlet.loadPolicyFromCodeServer(java.lang.String url)
Loads a serialization policy from a Super Dev Mode code server.
|
(package private) static SerializationPolicy |
RemoteServiceServlet.loadSerializationPolicy(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest request,
java.lang.String moduleBaseURL,
java.lang.String strongName)
Loads a serialization policy stored as a servlet resource in the same
ServletContext as this servlet.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
RPC.encodeResponseForFailure(java.lang.reflect.Method serviceMethod,
java.lang.Throwable cause,
SerializationPolicy serializationPolicy)
Returns a string that encodes an exception.
|
static java.lang.String |
RPC.encodeResponseForFailure(java.lang.reflect.Method serviceMethod,
java.lang.Throwable cause,
SerializationPolicy serializationPolicy,
int flags) |
static java.lang.String |
RPC.encodeResponseForSuccess(java.lang.reflect.Method serviceMethod,
java.lang.Object object,
SerializationPolicy serializationPolicy)
Returns a string that encodes the object.
|
static java.lang.String |
RPC.encodeResponseForSuccess(java.lang.reflect.Method serviceMethod,
java.lang.Object object,
SerializationPolicy serializationPolicy,
int flags) |
static java.lang.String |
RPC.invokeAndEncodeResponse(java.lang.Object target,
java.lang.reflect.Method serviceMethod,
java.lang.Object[] args,
SerializationPolicy serializationPolicy)
Returns a string that encodes the result of calling a service method, which
could be the value returned by the method or an exception thrown by it.
|
static java.lang.String |
RPC.invokeAndEncodeResponse(java.lang.Object target,
java.lang.reflect.Method serviceMethod,
java.lang.Object[] args,
SerializationPolicy serializationPolicy,
int flags) |
Constructor and 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.
|