## Uses of Class
com.google.gwt.user.server.rpc.SerializationPolicy

- Packages that use SerializationPolicy
  Package | Description
  --- | ---
  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
    Modifier and Type | Method and Description
    --- | ---
    `protected SerializationPolicy` | HybridServiceServlet.`doGetSerializationPolicy(javax.servlet.http.HttpServletRequest request, java.lang.String moduleBaseURL, java.lang.String strongName)` Gets the `SerializationPolicy` for given module base URL and strong name if there is one.
    `protected SerializationPolicy` | RemoteServiceServlet.`doGetSerializationPolicy(javax.servlet.http.HttpServletRequest request, java.lang.String moduleBaseURL, java.lang.String strongName)` Gets the `SerializationPolicy` for given module base URL and strong name if there is one.
    `static SerializationPolicy` | RPC.`getDefaultSerializationPolicy()` Returns a default serialization policy.
    `SerializationPolicy` | RPCRequest.`getSerializationPolicy()` Returns the `SerializationPolicy` used to decode this request.
    `SerializationPolicy` | HybridServiceServlet.`getSerializationPolicy(java.lang.String moduleBaseURL, java.lang.String strongName)`
    `SerializationPolicy` | RemoteServiceServlet.`getSerializationPolicy(java.lang.String moduleBaseURL, java.lang.String strongName)`
    `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.
    `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) static SerializationPolicy` | RemoteServiceServlet.`loadSerializationPolicy(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest request, java.lang.String moduleBaseURL, java.lang.String strongName)` Used by HybridServiceServlet.

    Methods in com.google.gwt.user.server.rpc with parameters of type SerializationPolicy
    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)`

    Constructors in com.google.gwt.user.server.rpc with parameters of type SerializationPolicy
    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.