Package | Description |
---|---|
com.google.gwt.user.server.rpc |
Classes used in server-side implementation of remote procedure calls.
|
com.google.gwt.user.server.rpc.impl |
Modifier and Type | Method and Description |
---|---|
protected SerializationPolicy |
RemoteServiceServlet.doGetSerializationPolicy(javax.servlet.http.HttpServletRequest request,
String moduleBaseURL,
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 |
RemoteServiceServlet.getSerializationPolicy(String moduleBaseURL,
String strongName) |
SerializationPolicy |
SerializationPolicyProvider.getSerializationPolicy(String moduleBaseURL,
String serializationPolicyStrongName)
Returns a
SerializationPolicy for a given module base URL and
serialization policy strong name. |
static SerializationPolicy |
SerializationPolicyLoader.loadFromStream(InputStream inputStream)
Deprecated.
|
static SerializationPolicy |
SerializationPolicyLoader.loadFromStream(InputStream inputStream,
List<ClassNotFoundException> classNotFoundExceptions)
Loads a SerializationPolicy from an input stream and optionally record any
ClassNotFoundException s. |
protected SerializationPolicy |
RemoteServiceServlet.loadPolicyFromCodeServer(String url)
Loads a serialization policy from a Super Dev Mode code server.
|
Modifier and Type | Method and Description |
---|---|
static String |
RPC.encodeResponseForFailure(Method serviceMethod,
Throwable cause,
SerializationPolicy serializationPolicy)
Returns a string that encodes an exception.
|
static String |
RPC.encodeResponseForFailure(Method serviceMethod,
Throwable cause,
SerializationPolicy serializationPolicy,
int flags) |
static String |
RPC.encodeResponseForSuccess(Method serviceMethod,
Object object,
SerializationPolicy serializationPolicy)
Returns a string that encodes the object.
|
static String |
RPC.encodeResponseForSuccess(Method serviceMethod,
Object object,
SerializationPolicy serializationPolicy,
int flags) |
static String |
RPC.invokeAndEncodeResponse(Object target,
Method serviceMethod,
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 String |
RPC.invokeAndEncodeResponse(Object target,
Method serviceMethod,
Object[] args,
SerializationPolicy serializationPolicy,
int flags) |
Constructor and Description |
---|
RPCRequest(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.
|
Modifier and Type | Class and Description |
---|---|
class |
LegacySerializationPolicy
A serialization policy compatible with GWT 1.3.3 RPC.
|
class |
StandardSerializationPolicy
Standard implementation of a
SerializationPolicy . |
Modifier and Type | Method and Description |
---|---|
SerializationPolicy |
ServerSerializationStreamReader.getSerializationPolicy() |
Modifier and Type | Method and Description |
---|---|
static Field[] |
SerializabilityUtil.applyFieldSerializationPolicy(Class<?> clazz,
SerializationPolicy policy)
Returns the fields of a particular class that can be considered for
serialization.
|
static String |
SerializabilityUtil.encodeSerializedInstanceReference(Class<?> instanceType,
SerializationPolicy policy) |
static String |
SerializabilityUtil.getSerializationSignature(Class<?> instanceType,
SerializationPolicy policy) |
Constructor and Description |
---|
ServerSerializationStreamWriter(SerializationPolicy serializationPolicy) |
Copyright © 2018. All rights reserved.