java.lang.Object | |||||
↳ | javax.servlet.GenericServlet | ||||
↳ | javax.servlet.http.HttpServlet | ||||
↳ | com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet | ||||
↳ | com.google.gwt.rpc.server.RpcServlet | ||||
↳ | com.google.gwt.user.server.rpc.HybridServiceServlet |
Known Direct Subclasses |
EXPERIMENTAL and subject to change. Do not use this in production code.
This RemoteServiceServlet provides support for both legacy and deRPC clients at the cost of additional runtime overhead and API complexity.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.rpc.server.RpcServlet
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method will return
null instead of throwing an exception. | |||||||||||
Returns a
SerializationPolicy for a given module base URL and
serialization policy strong name. | |||||||||||
Process a call originating from the given request.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the
SerializationPolicy for given module base URL and strong
name if there is one. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.rpc.server.RpcServlet
| |||||||||||
From class
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
| |||||||||||
From class
javax.servlet.http.HttpServlet
| |||||||||||
From class
javax.servlet.GenericServlet
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.user.server.rpc.SerializationPolicyProvider
| |||||||||||
From interface
javax.servlet.Servlet
| |||||||||||
From interface
javax.servlet.ServletConfig
|
This method will return null
instead of throwing an exception.
Returns a SerializationPolicy
for a given module base URL and
serialization policy strong name.
moduleBaseURL | the URL for the module |
---|---|
strongName | strong name of the serialization policy for the specified module URL |
SerializationPolicy
for a given module base URL and RPC
strong name; must not return null
Process a call originating from the given request. Uses the
invokeAndStreamResponse(Object, java.lang.reflect.Method, Object[], ClientOracle, OutputStream)
method to do the actual work.
Subclasses may optionally override this method to handle the payload in any
way they desire (by routing the request to a framework component, for
instance). The HttpServletRequest and HttpServletResponse
can be accessed via the getThreadLocalRequest()
and
getThreadLocalResponse()
methods.
clientOracle | the ClientOracle that will be used to interpret the request |
---|---|
payload | the UTF-8 request payload |
stream | the OutputStream that will receive the encoded response |
SerializationException |
---|
Gets the SerializationPolicy
for given module base URL and strong
name if there is one.
Override this method to provide a SerializationPolicy
using an
alternative approach.
request | the HTTP request being serviced |
---|---|
moduleBaseURL | as specified in the incoming payload |
strongName | a strong name that uniquely identifies a serialization policy file |
SerializationPolicy
for the given module base URL and
strong name, or null
if there is none