| Interface | Description |
|---|---|
| Client<O extends Options,U extends OptionsBuilder,T extends RequestBuilder> | |
| Decoder<U,T> |
A decoder can be used to 'decode' the response's body.
|
| Encoder<U,T> |
Encode the request's body (or transform) of type U into an object of type T.
|
| Function<T> |
A function is asynchronously invoked when a response is received, complete or not.
|
| FunctionResolver |
FunctionResolver are useful for mapping received message with a
Function. |
| Future | |
| Options |
Configure the underlying WebSocket/HTTP client.
|
| ReplayDecoder |
A
Decoder that always return a List of message to be dispatched one by one to the remaining list of Decoder. |
| Request |
Define a request for
Socket. |
| Socket |
A Socket represents a connection to a remote server.
|
| Transport |
Define a supported
Transport. |
| Class | Description |
|---|---|
| ClientFactory |
Create a
Client. |
| Decoder.Decoded<T> |
A Decoder may return an instance of a Decoded object to prevent some messages from being delivered to a
Function,
by returning a Decoder.Decoded.ABORT instance. |
| FunctionWrapper |
A tuple which contains a
Function and its associated functionName. |
| OptionsBuilder<U extends Options,T extends OptionsBuilder<U,T>> |
Base class for building
Options |
| RequestBuilder<T extends RequestBuilder<T>> |
Base class for building
Request |
| Enum | Description |
|---|---|
| Decoder.Decoded.ACTION | |
| Event | |
| Request.METHOD | |
| Request.TRANSPORT | |
| Socket.STATUS |
The current state of the underlying Socket.
|
Copyright © 2014. All Rights Reserved.