All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Class Description Assert a set of assertable things about the requests that the mock client handled.BaseRequest<R extends HttpRequest> BaseResponse<T> BasicResponse<T> Body BodyBuilder BodyMatcher Body Matchers can be used to evaluate a entity body.BodyPart<T> BoundaryAppender Strategy for appending the boundary across parts.ByteArrayPart ByteResponse Cache Cache interface for response cachingCache.Builder 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 keyCacheManager CacheManager.CacheMap CacheManager.HashKey Callback<T> CallbackFuture Client The client that does the work.CompoundInterceptor 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.Cookie.Pair Cookie.SameSite Cookies Represents a collection of cookies with some helper methods for parsing and getting cookieCookieSpecs Standard cookie specifications supported by Unirest.CoreFactory DefaultInterceptor Empty EqualsBodyMatcher Expectation A expectation for a particular method/pathExpectedResponse The expected response of a assertion.ExpectedResponseRecord FailedResponse<T> A failed response you COULD return if you want to live in a house of lies.FieldMatcher Matches simple form fieldsFilePart FileResponse Foo GenericType<T> Parts of this file were taken from Jackson/core TypeReference under the Apache License: Apache (Software) License, version 2.0 ("the License").GetRequest GsonArray GsonElement<T extends com.google.gson.JsonElement> GsonEngine GsonEngine.JavaTypeAdapter GsonNull GsonObject GsonObjectMapper GsonObjectMapper.CalendarSerializer GsonObjectMapper.DateAdapter GsonObjectMapper.DateTimeAdapter<T> GsonObjectMapper.LocalDateAdapter GsonObjectMapper.LocalDateTimeAdapter GsonObjectMapper.ZonedDateAdapter GsonPrimitive Header HeaderNames Constants enumerating the HTTP headers.Headers Headers.Entry HttpMethod HttpRequest<R extends HttpRequest> The primary request builder used to create a request.HttpRequestBody HttpRequestJsonPatch HttpRequestMultiPart HttpRequestNoBody HttpRequestSummary A summary of a request about to be performedHttpRequestUniBody HttpRequestWithBody A request Builder for POST and PUT operations with a body.HttpResponse<T> HttpResponseSummary A Summary of rhe responseHttpStatus InputStreamBody InputStreamPart Interceptor Each configuration of Unirest has an interceptor.Invocation JacksonArray JacksonElement<T extends com.fasterxml.jackson.databind.JsonNode> JacksonEngine JacksonEngine.ValueSupplier<V> JacksonObject JacksonObjectMapper JacksonPrimitive JavaClient JavaClientBuilder JavaResponse JSONArray https://json.org/ https://tools.ietf.org/html/rfc7159#section-4 Represents a JSON ArrayJSONElement JsonEngine JsonEngine.Array JsonEngine.Element JsonEngine.Object JsonEngine.Primitive JSONException JsonNode JSONObject https://json.org/ https://tools.ietf.org/html/rfc7159#section-4 represents a JSON ObjectJsonPatch JsonPatchItem JsonPatchOperation JsonPatchRequest JSONPointer A Json Pointer query object following https://tools.ietf.org/html/rfc6901JSONPointer.Builder JSONPointer.Queryable<T> JSONPointerException JsonResponse Matchers Static set of MatchersMatchStatus Indicates a successful match and a description of the failure (if any)MetricContext A metric context for the current requestMimeTypes A non-exclusive list of the most popular mime content typesMockClient A Mock client for unirest to make requests against This implements both sync and async clientsMockConfig A Mock Config that will not actually start up any real clients.MockListener A Mock WebSocket.Lister that records messages and has custom asserts.MockRawResponse MockResponse<T> A Mock Response that can be used in testing.MockWebSocket A Mock of a websocket that sends messages directly to a single listener on the other sideMonitoringInputStream MonitoringInputStream MultipartBody Represents a multi-part body builder for a request.MultipartBodyPublisher ABodyPublisher
implementing the multipart request type.MultipartBodyPublisher.Builder MultipartMode MultipartSubscription NeverUseInProdTrustManager NoopMetric NullObject ObjectMapper Interface for object mappers that can transform response bodies to other structures.ObjectResponse<T> PagedList<T> ParamPart Part Represents a part in a multipart request body.PartPublisher PartSubscriber Path Prefetcher Simple class for encapsulating prefetch logic used across subscribers.ProgressMonitor A ProgressMonitor is a functional interface which can be passed to unirest for the purposes of monitoring uploads and downloads.Proxy QueryParams QueryParams.NameValuePair RawResponse The Raw Response represents the response before any mapping or consumption of the content.RawResponseBase RequestBodyEntity RequestSummary ResponseBuilder ResponseSummary RetryStrategy A Strategy for performing retries.RetryStrategy.Standard 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.Routes SocketSet<S extends java.net.http.WebSocket,L extends java.net.http.WebSocket.Listener> A socket set represents a websocket and the listener for a target.SSLContextBuilder StringResponse SummaryFormatter TestBody Times Times.AtLeast Times.AtMost Times.EvaluationResult Times.Exactly ToObjectMapper UnibodyString UniByteArrayBody UniMetric A UniMetric is a factory for producing a MetricContext this will be called just before any Http RequestUnirest UnirestAssertion Thrown to indicate that an assertion has failed.UnirestConfigException UnirestException 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.UnirestParsingException UnrecoverableException An exception which prevents Unirest from attempting to recover the body from a failed response / parsing errorUpstream A one-use atomic reference to an upstream subscription.Util WebSocketRequest WebSocketRequestImpl WebSocketResponse Just a silly little class that holds on to the socket and listener