Interface | Description |
---|---|
Client<I extends Request,O extends Response> | |
ClientBuilderParams |
Provides the construction parameters of a client.
|
ClientFactory |
Creates and manages clients.
|
ClientFactoryProvider |
Creates a new
ClientFactory dynamically via Java SPI (Service Provider Interface). |
ClientRequestContext |
Class | Description |
---|---|
AbstractClientFactory |
A skeletal
ClientFactory implementation. |
AllInOneClientFactory |
A
ClientFactory which combines all discovered ClientFactory implementations. |
ClientBuilder |
Creates a new client that connects to the specified
URI using the builder pattern. |
ClientDecoration |
A set of
Function s that transforms a Client into another. |
ClientDecorationBuilder |
Creates a new
ClientDecoration using the builder pattern. |
ClientOption<T> |
A client option.
|
ClientOptions |
A set of
ClientOption s and their respective values. |
ClientOptionsBuilder |
Creates a new
ClientOptions using the builder pattern. |
ClientOptionValue<T> |
A value of a
ClientOption . |
ClientRequestContextWrapper |
Wraps an existing
ServiceRequestContext . |
Clients |
Creates a new client that connects to a specified
URI . |
DecoratingClient<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response> |
Decorates a
Client . |
DecoratingClientFactory | |
DefaultClientBuilderParams |
Default
ClientBuilderParams implementation. |
DefaultClientRequestContext |
Default
ClientRequestContext implementation. |
Endpoint |
A remote endpoint that refers to a single host or a group of multiple hosts.
|
NonDecoratingClientFactory |
A skeletal
ClientFactory that does not decorate other ClientFactory . |
SessionOption<T> |
An option that affects the session management of a
ClientFactory . |
SessionOptions |
A set of
SessionOption s and their respective values. |
SessionOptionValue<T> |
A value of a
SessionOption . |
SessionProtocolNegotiationCache |
Keeps the recent
SessionProtocol negotiation failures. |
UserClient<I extends Request,O extends Response> |
A base class for implementing a user's entry point for sending a
Request . |
Exception | Description |
---|---|
InvalidResponseException |
A
RuntimeException raised when the client received a response with an unexpected status code. |
ResponseTimeoutException |
A
TimeoutException raised when a response has not been received from a server within timeout. |
SessionProtocolNegotiationException |
An exception triggered when failed to negotiate the desired
SessionProtocol with a server. |
WriteTimeoutException |
A
TimeoutException raised when a client failed to send a request to the wire within timeout. |