|
GWT 2.7.0 | |||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SerializationPolicy | |
---|---|
com.google.gwt.user.server.rpc | Classes used in server-side implementation of remote procedure calls. |
Uses of SerializationPolicy in com.google.gwt.user.server.rpc |
---|
Methods in com.google.gwt.user.server.rpc that return SerializationPolicy | |
---|---|
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. see SerializationPolicyLoader.loadFromStream(InputStream, List) |
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. |
Methods in com.google.gwt.user.server.rpc with parameters of type SerializationPolicy | |
---|---|
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)
|
Constructors in com.google.gwt.user.server.rpc with parameters of type SerializationPolicy | |
---|---|
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. |
|
GWT 2.7.0 | |||||||
PREV NEXT | FRAMES NO FRAMES |