Package | Description |
---|---|
com.google.gwt.rpc.server |
Contains the server-side APIs for deRPC.
|
com.google.gwt.user.server.rpc |
Classes used in server-side implementation of remote procedure calls.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingClientOracle
A delegate-pattern ClientOracle that can be used to introduce custom
behavior.
|
class |
HostedModeClientOracle
A ClientOracle that is used for hosted-mode clients.
|
class |
WebModeClientOracle
Encapsulates data about the structure of the client code.
|
Modifier and Type | Method and Description |
---|---|
ClientOracle |
RpcServlet.getClientOracle()
This method creates the ClientOracle that will provide data about the
remote client.
|
Modifier and Type | Method and Description |
---|---|
static RPCRequest |
RPC.decodeRequest(String encodedRequest,
Class<?> type,
ClientOracle clientOracle) |
static void |
RPC.invokeAndStreamResponse(Object target,
Method serviceMethod,
Object[] args,
ClientOracle clientOracle,
OutputStream stream) |
void |
RpcServlet.processCall(ClientOracle clientOracle,
String payload,
OutputStream stream)
Process a call originating from the given request.
|
static void |
RPC.streamResponseForFailure(ClientOracle clientOracle,
OutputStream out,
Throwable payload) |
static void |
RPC.streamResponseForSuccess(ClientOracle clientOracle,
OutputStream out,
Object payload) |
Constructor and Description |
---|
CommandServerSerializationStreamWriter(ClientOracle oracle,
CommandSink sink) |
DelegatingClientOracle(ClientOracle delegate) |
SimplePayloadDecoder(ClientOracle clientOracle,
CharSequence payload)
Construct a new SimplePayloadDecoder.
|
WebModePayloadSink(ClientOracle clientOracle,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
ClientOracle |
HybridServiceServlet.getClientOracle()
This method will return
null instead of throwing an exception. |
Modifier and Type | Method and Description |
---|---|
void |
HybridServiceServlet.processCall(ClientOracle clientOracle,
String payload,
OutputStream stream) |
Copyright © 2018. All rights reserved.