## Uses of Class
com.google.gwt.rpc.server.ClientOracle

- Packages that use ClientOracle
  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.

- - ### Uses of ClientOracle in com.google.gwt.rpc.server

    Subclasses of ClientOracle in com.google.gwt.rpc.server
    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.

    Methods in com.google.gwt.rpc.server that return ClientOracle
    Modifier and Type | Method and Description
    --- | ---
    `ClientOracle` | RpcServlet.`getClientOracle()` This method creates the ClientOracle that will provide data about the remote client.

    Methods in com.google.gwt.rpc.server with parameters of type ClientOracle
    Modifier and Type | Method and Description
    --- | ---
    `static RPCRequest` | RPC.`decodeRequest(java.lang.String encodedRequest, java.lang.Class<?> type, ClientOracle clientOracle)`
    `static void` | RPC.`invokeAndStreamResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args, ClientOracle clientOracle, java.io.OutputStream stream)`
    `void` | RpcServlet.`processCall(ClientOracle clientOracle, java.lang.String payload, java.io.OutputStream stream)` Process a call originating from the given request.
    `static void` | RPC.`streamResponseForFailure(ClientOracle clientOracle, java.io.OutputStream out, java.lang.Throwable payload)`
    `static void` | RPC.`streamResponseForSuccess(ClientOracle clientOracle, java.io.OutputStream out, java.lang.Object payload)`

    Constructors in com.google.gwt.rpc.server with parameters of type ClientOracle
    Constructor and Description
    `CommandServerSerializationStreamWriter(ClientOracle oracle, com.google.gwt.rpc.client.ast.CommandSink sink)`
    `DelegatingClientOracle(ClientOracle delegate)`
    `SimplePayloadDecoder(ClientOracle clientOracle, java.lang.CharSequence payload)` Construct a new SimplePayloadDecoder.
    `WebModePayloadSink(ClientOracle clientOracle, java.io.OutputStream out)`

  - ### Uses of ClientOracle in com.google.gwt.user.server.rpc

    Methods in com.google.gwt.user.server.rpc that return ClientOracle
    Modifier and Type | Method and Description
    --- | ---
    `ClientOracle` | HybridServiceServlet.`getClientOracle()` This method will return `null` instead of throwing an exception.

    Methods in com.google.gwt.user.server.rpc with parameters of type ClientOracle
    Modifier and Type | Method and Description
    --- | ---
    `void` | HybridServiceServlet.`processCall(ClientOracle clientOracle, java.lang.String payload, java.io.OutputStream stream)`