All Classes and Interfaces
Class
Description
Cache interface for response caching
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.
A functional interface to generate a cache key
The client that does the work.
Represents a cookie parsed from the set-cookie header
per https://tools.ietf.org/html/rfc6265
note that the RFC is awful.
Represents a collection of cookies with some helper methods for parsing and getting cookie
Standard cookie specifications supported by Unirest.
The CoreFactory is a service locator for JsonEngines
Because core does not have a dependency on the various Json implementations
this class automatically finds and holds on to a implementation.
A server sent event.
A failed response you COULD return if you want to live in a house of lies.
Parts of this file were taken from Jackson/core TypeReference under the Apache License:
Apache (Software) License, version 2.0 ("the License").
Constants enumerating the HTTP headers.
Represents a collection of headers
The primary request builder used to create a request.
A summary of a request about to be performed
A request Builder for POST and PUT operations with a body.
will switch to a MultipartBody once http form variables are introduced.
or to a RequestBodyEntity
A Summary of rhe response
Each configuration of Unirest has an interceptor.
https://json.org/
https://tools.ietf.org/html/rfc7159#section-4
Represents a JSON Array
https://json.org/
https://tools.ietf.org/html/rfc7159#section-4
represents a JSON Object
A Json Pointer query object following
https://tools.ietf.org/html/rfc6901
A metric context for the current request
A non-exclusive list of the most popular mime content types
Represents a multi-part body builder for a request.
Interface for object mappers that can transform response bodies to other structures.
Class for building a URI with query params
A ProgressMonitor is a functional interface which can be passed to unirest for the purposes of
monitoring uploads and downloads.
represents basic proxy settings
When this is used to configure the client it sets the following:
Proxy host and port are configured as a simple java.net.ProxySelector and set as the default selector
Username and password are configured as a single java.net.Authenticator which will apply to ALL auth challenges (not just the proxy)
The Raw Response represents the response before any mapping or consumption of the content.
A Strategy for performing retries.
A standard implementation of the RetryStrategy which follows spec based Retry-After logic
- Will attempt a retry on any 301, 429, 503, or 529 response which is accompanied by a Retry-After header.
- Retry-After can be either date or seconds based
see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
The Server Sent Event Handler is used to consume Server Sent Events
https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events
The Server Sent Event Request Builder interface
A UniMetric is a factory for producing a MetricContext this will be called just before
any Http Request
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.
An exception which prevents Unirest from attempting to recover the body from a failed response / parsing error
Just a silly little class that holds on to the socket and listener