Interface | Description |
---|---|
AsyncClient | |
Body | |
Cache |
Cache interface for response caching
|
Cache.Key |
Interface for the cache key which can be implemented by consumers
The key should implement equals and hashCode
It must must return the time the key was created.
|
Cache.KeyGenerator |
A functional interface to generate a cache key
|
Callback<T> | |
Client | |
GetRequest | |
Header | |
HttpRequest<R extends HttpRequest> |
The primary request builder used to create a request.
|
HttpRequestSummary |
A summary of a request about to be performed
|
HttpRequestWithBody |
A request Builder for POST and PUT operations with a body.
|
HttpResponse<T> | |
HttpResponseSummary |
A Summary of rhe response
|
Interceptor |
Each configuration of Unirest has an interceptor.
|
JsonPatchRequest | |
MetricContext |
A metric context for the current request
|
MultipartBody |
Represents a multi-part body builder for a request.
|
ObjectMapper | |
ProgressMonitor |
A ProgressMonitor is a functional interface which can be passed to unirest for the purposes of
monitoring uploads and downloads.
|
RawResponse | |
RequestBodyEntity | |
UniMetric |
A UniMetric is a factory for producing a MetricContext this will be called just before
any Http Request
|
Class | Description |
---|---|
BasicResponse<T> | |
BodyPart<T> | |
ByteArrayPart | |
ByteResponse | |
Cache.Builder | |
Config | |
ContentType | |
Cookie |
Represents a cookie parsed from the set-cookie header
per https://tools.ietf.org/html/rfc6265
note that the RFC is awful.
|
Cookies |
Represents a collection of cookies with some helper methods for parsing and getting cookie
|
CookieSpecs |
Standard cookie specifications supported by Unirest.
|
Empty | |
FailedResponse<T> |
A failed response you COULD return if you want to live in a house of lies.
|
FileResponse | |
GenericType<T> |
Parts of this file were taken from Jackson/core TypeReference under the Apache License:
Apache (Software) License, version 2.0 ("the License").
|
HeaderNames |
Constants enumerating the HTTP headers.
|
Headers | |
HttpMethod | |
HttpStatus | |
InputStreamPart | |
JsonNode | |
JsonObjectMapper | |
JsonPatch | |
JsonPatchItem | |
JsonResponse | |
MimeTypes |
A non-exclusive list of the most popular mime content types
|
PagedList<T> | |
ParamPart | |
Proxy | |
QueryParams | |
QueryParams.NameValuePair | |
RawResponseBase | |
StringResponse | |
TestBody | |
Unirest | |
UnirestInstance |
A Instance of the unirest runtime, you can have many of these but it is the config
and its clients where all the action happens.
|
Enum | Description |
---|---|
Cookie.SameSite | |
JsonPatchOperation | |
MultipartMode |
Exception | Description |
---|---|
UnirestConfigException | |
UnirestException | |
UnirestParsingException |
Copyright © 2021. All rights reserved.