Interface | Description |
---|---|
DateDeserializeContext | |
HttpRequest |
HttpRequest is the main entry point to the API used to build and execute client requests.
|
Response | |
ResponseBodyReadableContext | |
ResponseBodyReader<T> |
Implementation of this interface must provided deserialization of response body to type
T |
ResponseBodyReaderContext | |
ResponseHandler<T> |
ResponseHandler objects are immutable they can be shared.
|
RetryContext | |
WebTarget |
A resource target identified by the resource URI.
|
Class | Description |
---|---|
ClientBuilder |
Builder for
CloseableHttpClient . |
FilterSupport<T> | |
HttpRequestBuilder |
Http request builder
|
OtherwiseSupport<T> | |
TypeReference<T> |
This generic abstract class is used for obtaining full generics type information
Class is based on ideas from
http://gafter.blogspot.com/2006/12/super-type-tokens.html,
Additional idea (from a suggestion made in comments of the article)
is to require bogus implementation of
Comparable
(any such generic interface would do, as long as it forces a method
with generic type to be implemented). |
Enum | Description |
---|---|
HttpMethod |
Exception | Description |
---|---|
HttpRequestBuildException | |
InvalidContentLengthException | |
InvalidMimeTypeException | |
NoSuchContentException | |
RequestException |
Signals an error in the HTTP protocol.
|
ResponseBodyReaderException | |
ResponseBodyReaderNotFoundException | |
ResponseException |
Signals an HTTP response processing error
|
UnexpectedResponseException |
Signals an unexpected HTTP response
|
UnexpectedStatusCodeException |
Signals a non 2xx HTTP response.
|
Copyright © 2020. All rights reserved.