A B C D E F G H I J K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort() - Method in class kong.unirest.core.MockWebSocket
- abort(boolean) - Method in class kong.unirest.core.java.MultipartSubscription
-
Called when the subscription is cancelled.
- abortUpstream(boolean) - Method in class kong.unirest.core.java.PartSubscriber
- accept(String) - Method in class kong.unirest.core.BaseRequest
- accept(String) - Method in interface kong.unirest.core.HttpRequest
-
The Accept header to send (e.g.
- accept(String) - Method in interface kong.unirest.core.WebSocketRequest
-
The Accept header to send (e.g.
- accept(String) - Method in class kong.unirest.core.WebSocketRequestImpl
- accept(String, String, Long, Long) - Method in interface kong.unirest.core.ProgressMonitor
-
Accept stats about the current file upload chunk for a file.
- ACCEPT - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.1
- ACCEPT_CHARSET - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.2
- ACCEPT_ENCODING - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.3
- ACCEPT_LANGUAGE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.4
- ACCEPT_RANGES - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.5
- ACCEPTED - Static variable in class kong.unirest.core.HttpStatus
- accepts(String) - Method in class kong.unirest.core.Headers
- accumulate(String, Object) - Method in class kong.unirest.core.json.JSONObject
-
Add a element to a JSONArray in a element.
- ADAPTER - Static variable in class kong.unirest.gson.GsonEngine
- add - kong.unirest.core.JsonPatchOperation
- add(Boolean) - Method in interface kong.unirest.core.json.JsonEngine.Array
- add(Boolean) - Method in class kong.unirest.gson.GsonArray
- add(Boolean) - Method in class kong.unirest.jackson.JacksonArray
- add(Number) - Method in interface kong.unirest.core.json.JsonEngine.Array
- add(Number) - Method in class kong.unirest.gson.GsonArray
- add(Number) - Method in class kong.unirest.jackson.JacksonArray
- add(String) - Method in interface kong.unirest.core.json.JsonEngine.Array
- add(String) - Method in class kong.unirest.gson.GsonArray
- add(String) - Method in class kong.unirest.jackson.JacksonArray
- add(String, E) - Method in interface kong.unirest.core.json.JsonEngine.Object
- add(String, E) - Method in class kong.unirest.gson.GsonObject
- add(String, E) - Method in class kong.unirest.jackson.JacksonObject
- add(String, Object) - Method in class kong.unirest.core.HttpRequestJsonPatch
- add(String, Object) - Method in class kong.unirest.core.JsonPatch
- add(String, Object) - Method in interface kong.unirest.core.JsonPatchRequest
- add(String, String) - Method in class kong.unirest.core.Headers
-
Add a header element
- add(String, Supplier<String>) - Method in class kong.unirest.core.Headers
-
Add a header element with a supplier which will be evaluated on request
- add(String, JsonEngine.Element) - Method in interface kong.unirest.core.json.JsonEngine.Object
- add(String, JsonEngine.Element) - Method in class kong.unirest.gson.GsonObject
- add(String, JsonEngine.Element) - Method in class kong.unirest.jackson.JacksonObject
- add(Map<String, String>) - Method in class kong.unirest.core.Headers
- add(JsonEngine.Element) - Method in interface kong.unirest.core.json.JsonEngine.Array
- add(JsonEngine.Element) - Method in class kong.unirest.gson.GsonArray
- add(JsonEngine.Element) - Method in class kong.unirest.jackson.JacksonArray
- add(GsonArray, Object) - Method in class kong.unirest.gson.GsonEngine
- add(JacksonArray, Object) - Method in class kong.unirest.jackson.JacksonEngine
- addBody(HttpRequest<?>, StringJoiner) - Method in class kong.unirest.core.SummaryFormatter
- addDefaultCookie(String, String) - Method in class kong.unirest.core.Config
-
Adds a default cookie to be added to all requests with this config
- addDefaultCookie(Cookie) - Method in class kong.unirest.core.Config
-
Adds a default cookie to be added to all requests with this config
- addDefaultHeader(String, String) - Method in class kong.unirest.core.Config
-
Add default header to appear on all requests
- addInvoke(Invocation) - Method in class kong.unirest.core.Routes
- addPart(String, Object, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- addPart(BodyPart) - Method in class kong.unirest.core.HttpRequestMultiPart
- addProperty(String, Boolean) - Method in interface kong.unirest.core.json.JsonEngine.Object
- addProperty(String, Boolean) - Method in class kong.unirest.gson.GsonObject
- addProperty(String, Boolean) - Method in class kong.unirest.jackson.JacksonObject
- addProperty(String, Number) - Method in interface kong.unirest.core.json.JsonEngine.Object
- addProperty(String, Number) - Method in class kong.unirest.gson.GsonObject
- addProperty(String, Number) - Method in class kong.unirest.jackson.JacksonObject
- addProperty(String, String) - Method in interface kong.unirest.core.json.JsonEngine.Object
- addProperty(String, String) - Method in class kong.unirest.gson.GsonObject
- addProperty(String, String) - Method in class kong.unirest.jackson.JacksonObject
- addProperty(String, JsonEngine.Element) - Method in interface kong.unirest.core.json.JsonEngine.Object
- addProperty(String, JsonEngine.Element) - Method in class kong.unirest.gson.GsonObject
- addProperty(String, JsonEngine.Element) - Method in class kong.unirest.jackson.JacksonObject
- AGE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.6
- all - Static variable in enum kong.unirest.core.Cookie.SameSite
- all() - Method in class kong.unirest.core.Headers
-
Get all of the headers
- all() - Method in class kong.unirest.core.HttpMethod
- allHeaders() - Method in class kong.unirest.core.Invocation
- allHeaders() - Method in class kong.unirest.core.Routes
- ALLOW - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.1, RFC 2616 (HTTP/1.1) Section 14.7
- ALREADY_REPORTED - Static variable in class kong.unirest.core.HttpStatus
- alreadyHasMultiPartHeader() - Method in class kong.unirest.core.java.BodyBuilder
- append(int) - Method in class kong.unirest.core.json.JSONPointer.Builder
- append(String) - Method in class kong.unirest.core.json.JSONPointer.Builder
- append(StringBuilder, String) - Method in enum kong.unirest.core.java.BoundaryAppender
- append(String, Object) - Method in class kong.unirest.core.json.JSONObject
-
appends to an existing array
- appendEscaped(StringBuilder, String) - Static method in class kong.unirest.core.java.Part
- appendHeader(StringBuilder, String, String) - Static method in class kong.unirest.core.java.MultipartBodyPublisher
- appendPartHeaders(StringBuilder, Part) - Static method in class kong.unirest.core.java.MultipartBodyPublisher
- APPLICATION_ATOM_XML - Static variable in class kong.unirest.core.ContentType
- APPLICATION_FORM_URLENCODED - Static variable in class kong.unirest.core.ContentType
- APPLICATION_JSON - Static variable in class kong.unirest.core.ContentType
- APPLICATION_JSON_PATCH - Static variable in class kong.unirest.core.ContentType
- APPLICATION_OCTET_STREAM - Static variable in class kong.unirest.core.ContentType
- APPLICATION_PDF - Static variable in class kong.unirest.core.ContentType
- APPLICATION_SVG_XML - Static variable in class kong.unirest.core.ContentType
- APPLICATION_XHTML_XML - Static variable in class kong.unirest.core.ContentType
- APPLICATION_XML - Static variable in class kong.unirest.core.ContentType
- apply(Config) - Method in class kong.unirest.core.java.JavaClientBuilder
- apply(HttpRequest<?>) - Method in class kong.unirest.core.SummaryFormatter
- apply(HttpRequest, Boolean, Class<?>) - Method in interface kong.unirest.core.Cache.KeyGenerator
-
A function to generate a cache key
- apply(JsonEngine.Element) - Method in class kong.unirest.core.json.ToObjectMapper
- array - Variable in class kong.unirest.core.json.JSONPointer.QueryArray
- array - Variable in class kong.unirest.core.JsonNode
- asBytes() - Method in class kong.unirest.core.BaseRequest
- asBytes() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and returns the response with the body mapped into a byte[]
- asBytesAsync() - Method in class kong.unirest.core.BaseRequest
- asBytesAsync() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response with the body mapped into a byte[]
- asBytesAsync(Callback<byte[]>) - Method in class kong.unirest.core.BaseRequest
- asBytesAsync(Callback<byte[]>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response with the body mapped into a byte[]
- ASCII - Static variable in class kong.unirest.core.java.BodyBuilder
- asElement() - Method in class kong.unirest.core.json.JSONObject
- asEmpty() - Method in class kong.unirest.core.BaseRequest
- asEmpty() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and returns the response without parsing the body
- asEmptyAsync() - Method in class kong.unirest.core.BaseRequest
- asEmptyAsync() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response without parsing the body
- asEmptyAsync(Callback<Empty>) - Method in class kong.unirest.core.BaseRequest
- asEmptyAsync(Callback<Empty>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns a empty response which is passed to a callback
- asFile(String, CopyOption...) - Method in class kong.unirest.core.BaseRequest
- asFile(String, CopyOption...) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and writes the contents into a file
- asFileAsync(String, CopyOption...) - Method in class kong.unirest.core.BaseRequest
- asFileAsync(String, CopyOption...) - Method in interface kong.unirest.core.HttpRequest
-
asynchronously executes the request and writes the contents into a file
- asFileAsync(String, Callback<File>, CopyOption...) - Method in class kong.unirest.core.BaseRequest
- asFileAsync(String, Callback<File>, CopyOption...) - Method in interface kong.unirest.core.HttpRequest
-
asynchronously executes the request and writes the contents into a file
- asJson() - Method in class kong.unirest.core.BaseRequest
- asJson() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and returns the response with the body mapped into a JsonNode
- asJsonAsync() - Method in class kong.unirest.core.BaseRequest
- asJsonAsync() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response with the body mapped into a JsonNode
- asJsonAsync(Callback<JsonNode>) - Method in class kong.unirest.core.BaseRequest
- asJsonAsync(Callback<JsonNode>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response with the body mapped into a JsonNode
- asObject(Class<? extends T>) - Method in class kong.unirest.core.BaseRequest
- asObject(Class<? extends T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and returns the response with the body mapped into T by a configured ObjectMapper
- asObject(Function<RawResponse, T>) - Method in class kong.unirest.core.BaseRequest
- asObject(Function<RawResponse, T>) - Method in interface kong.unirest.core.HttpRequest
-
Execute the request and pass the raw response to a function for mapping.
- asObject(GenericType<T>) - Method in class kong.unirest.core.BaseRequest
- asObject(GenericType<T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and returns the response with the body mapped into T by a configured ObjectMapper
- asObjectAsync(Class<? extends T>) - Method in class kong.unirest.core.BaseRequest
- asObjectAsync(Class<? extends T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns response with the body mapped into T by a configured ObjectMapper
- asObjectAsync(Class<? extends T>, Callback<T>) - Method in class kong.unirest.core.BaseRequest
- asObjectAsync(Class<? extends T>, Callback<T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously, mapping to a type via the configured object mapper and then passed to a callback handler.
- asObjectAsync(Function<RawResponse, T>) - Method in class kong.unirest.core.BaseRequest
- asObjectAsync(Function<RawResponse, T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously, and pass the raw response to a function for mapping.
- asObjectAsync(GenericType<T>) - Method in class kong.unirest.core.BaseRequest
- asObjectAsync(GenericType<T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously, and use a GenericType with the ObjectMapper
- asObjectAsync(GenericType<T>, Callback<T>) - Method in class kong.unirest.core.BaseRequest
- asObjectAsync(GenericType<T>, Callback<T>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously, and use a GenericType with the ObjectMapper
- asPaged(Function<HttpRequest, HttpResponse>, Function<HttpResponse<T>, String>) - Method in class kong.unirest.core.BaseRequest
- asPaged(Function<HttpRequest, HttpResponse>, Function<HttpResponse<T>, String>) - Method in interface kong.unirest.core.HttpRequest
-
Allows for following paging links common in many APIs.
- Assert - Interface in kong.unirest.core
-
a set of assertable things about the requests that the mock client handled.
- assertIsClosed(int, String) - Method in class kong.unirest.core.MockListener
- assertIsOpen() - Method in class kong.unirest.core.MockListener
- assertPing(ByteBuffer) - Method in class kong.unirest.core.MockListener
-
assert that a ping message was received.
- assertPong(ByteBuffer) - Method in class kong.unirest.core.MockListener
-
assert that a pong message was received.
- assertReceivedMessage(Object, boolean) - Method in class kong.unirest.core.MockListener
- assertThat(HttpMethod, String) - Method in class kong.unirest.core.MockClient
-
Assert a specific method and path were invoked
- asString() - Method in class kong.unirest.core.BaseRequest
- asString() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request and returns the response with the body mapped into a String
- asString() - Method in interface kong.unirest.core.HttpRequestSummary
- asString() - Method in class kong.unirest.core.RequestSummary
- asStringAsync() - Method in class kong.unirest.core.BaseRequest
- asStringAsync() - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response with the body mapped into a String
- asStringAsync(Callback<String>) - Method in class kong.unirest.core.BaseRequest
- asStringAsync(Callback<String>) - Method in interface kong.unirest.core.HttpRequest
-
Executes the request asynchronously and returns the response with the body mapped into a String
- asyncWrapper - Variable in class kong.unirest.core.CacheManager
- atLeast(int) - Static method in class kong.unirest.core.Times
- AtLeast(int) - Constructor for class kong.unirest.core.Times.AtLeast
- atLeastOnce() - Static method in class kong.unirest.core.Times
- atMost(int) - Static method in class kong.unirest.core.Times
- AtMost(int) - Constructor for class kong.unirest.core.Times.AtMost
- AU - Static variable in class kong.unirest.core.MimeTypes
- AUTHORIZATION - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.2, RFC 2616 (HTTP/1.1) Section 14.8
- available() - Method in class kong.unirest.core.java.MonitoringInputStream
- available() - Method in class kong.unirest.core.MonitoringInputStream
- AVI - Static variable in class kong.unirest.core.MimeTypes
B
- backing - Variable in class kong.unirest.core.Cache.Builder
- backingCache - Variable in class kong.unirest.core.CacheManager
- backingCache(Cache) - Method in class kong.unirest.core.Cache.Builder
-
Sets a custom backing cache.
- bad(T) - Static method in class kong.unirest.core.MockResponse
-
Construct a simple failed (400 bad request) response with a body
- BAD_GATEWAY - Static variable in class kong.unirest.core.HttpStatus
- BAD_REQUEST - Static variable in class kong.unirest.core.HttpStatus
- bar - Variable in class kong.unirest.core.json.Foo
- BaseRequest<R extends HttpRequest> - Class in kong.unirest.core
- BaseRequest(BaseRequest) - Constructor for class kong.unirest.core.BaseRequest
- BaseRequest(Config, HttpMethod, String) - Constructor for class kong.unirest.core.BaseRequest
- BaseResponse<T> - Class in kong.unirest.core
- BaseResponse(BaseResponse) - Constructor for class kong.unirest.core.BaseResponse
- BaseResponse(RawResponse) - Constructor for class kong.unirest.core.BaseResponse
- baseUrl() - Method in class kong.unirest.core.Path
- basicAuth(String, String) - Method in class kong.unirest.core.BaseRequest
- basicAuth(String, String) - Method in interface kong.unirest.core.HttpRequest
-
Basic auth credentials
- basicAuth(String, String) - Method in interface kong.unirest.core.WebSocketRequest
-
Basic auth credentials
- basicAuth(String, String) - Method in class kong.unirest.core.WebSocketRequestImpl
- BasicResponse<T> - Class in kong.unirest.core
- BasicResponse(BaseResponse, T) - Constructor for class kong.unirest.core.BasicResponse
- BasicResponse(RawResponse) - Constructor for class kong.unirest.core.BasicResponse
- BasicResponse(RawResponse, String, RuntimeException) - Constructor for class kong.unirest.core.BasicResponse
- BasicResponse(RawResponse, T) - Constructor for class kong.unirest.core.BasicResponse
- begin(HttpRequestSummary) - Method in class kong.unirest.core.NoopMetric
- begin(HttpRequestSummary) - Method in interface kong.unirest.core.UniMetric
-
Factory method for a MetricContext
- BINARY_OCTET_STREAM - Static variable in class kong.unirest.core.ContentType
- BINARY_TYPES - Static variable in class kong.unirest.core.ContentType
- BMP - Static variable in class kong.unirest.core.MimeTypes
- body - Variable in class kong.unirest.core.BasicResponse
- body - Variable in class kong.unirest.core.ByteResponse
- body - Variable in class kong.unirest.core.FileResponse
- body - Variable in class kong.unirest.core.HttpRequestUniBody
- body - Variable in class kong.unirest.core.MockResponse
- body - Variable in class kong.unirest.core.ObjectResponse
- body - Variable in class kong.unirest.core.StringResponse
- body(byte[]) - Method in class kong.unirest.core.HttpRequestBody
- body(byte[]) - Method in class kong.unirest.core.HttpRequestUniBody
- body(byte[]) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set a byte array as the body of the request
- body(byte[]) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set a byte array as the body of the request
- body(InputStream) - Method in class kong.unirest.core.HttpRequestBody
- body(InputStream) - Method in class kong.unirest.core.HttpRequestUniBody
- body(InputStream) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set a InputStream as the body
- body(InputStream) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set a InputStream as the body
- body(Object) - Method in class kong.unirest.core.HttpRequestBody
- body(Object) - Method in class kong.unirest.core.HttpRequestUniBody
- body(Object) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set a Object as the body of the request.
- body(Object) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set a Object as the body of the request.
- body(String) - Method in interface kong.unirest.core.Expectation
-
A expected body for a request
- body(String) - Method in class kong.unirest.core.HttpRequestBody
- body(String) - Method in class kong.unirest.core.HttpRequestUniBody
- body(String) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set a String as the body of the request
- body(String) - Method in class kong.unirest.core.Invocation
- body(String) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set a String as the body of the request
- body(BodyMatcher) - Method in interface kong.unirest.core.Expectation
-
A matcher for the body for a request
- body(BodyMatcher) - Method in class kong.unirest.core.Invocation
- body(JSONElement) - Method in class kong.unirest.core.HttpRequestBody
-
Sugar method for body operation
- body(JSONElement) - Method in class kong.unirest.core.HttpRequestUniBody
- body(JSONElement) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set JSON on the body
- body(JSONElement) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set JSON on the body
- body(JsonNode) - Method in class kong.unirest.core.HttpRequestBody
- body(JsonNode) - Method in class kong.unirest.core.HttpRequestUniBody
- body(JsonNode) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set JSON on the body
- body(JsonNode) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set JSON on the body
- Body - Interface in kong.unirest.core
- BodyBuilder - Class in kong.unirest.core.java
- BodyBuilder(HttpRequest) - Constructor for class kong.unirest.core.java.BodyBuilder
- bodyFields(String) - Method in class kong.unirest.core.Matchers
-
Creates a FieldMatcher expecting a map of keys and values use like: FieldMatcher.of("fruit", "orange", "quantity" "42")
- BodyMatcher - Interface in kong.unirest.core
-
Body Matchers can be used to evaluate a entity body.
- BodyPart<T> - Class in kong.unirest.core
- BodyPart(T, String, String) - Constructor for class kong.unirest.core.BodyPart
- bodyPublisher - Variable in class kong.unirest.core.java.Part
- bodyPublisher() - Method in class kong.unirest.core.java.Part
- boundary - Variable in class kong.unirest.core.java.MultipartBodyPublisher
- boundary - Variable in class kong.unirest.core.java.MultipartSubscription
- boundary() - Method in class kong.unirest.core.java.MultipartBodyPublisher
- BoundaryAppender - Enum in kong.unirest.core.java
-
Strategy for appending the boundary across parts.
- BoundaryAppender(String, String) - Constructor for enum kong.unirest.core.java.BoundaryAppender
- BROWSER_COMPATIBLE - kong.unirest.core.MultipartMode
-
browser-compatible mode, i.e.
- buffers - Variable in class kong.unirest.core.java.PartSubscriber
- build() - Method in class kong.unirest.core.Cache.Builder
- build() - Method in class kong.unirest.core.java.SSLContextBuilder
- build() - Method in class kong.unirest.core.json.JSONPointer.Builder
- build(ProgressMonitor) - Method in class kong.unirest.core.java.MultipartBodyPublisher.Builder
-
Creates and returns a new
MultipartBodyPublisher
with a snapshot of the added parts. - buildClient() - Method in class kong.unirest.core.Config
- builder() - Static method in interface kong.unirest.core.Cache
-
a builder for cache options
- builder() - Static method in class kong.unirest.core.json.JSONPointer
- Builder() - Constructor for class kong.unirest.core.Cache.Builder
- Builder() - Constructor for class kong.unirest.core.java.MultipartBodyPublisher.Builder
- Builder() - Constructor for class kong.unirest.core.json.JSONPointer.Builder
- ByteArrayPart - Class in kong.unirest.core
- ByteArrayPart(String, byte[], ContentType, String) - Constructor for class kong.unirest.core.ByteArrayPart
- byteCount - Variable in class kong.unirest.core.MonitoringInputStream
- ByteResponse - Class in kong.unirest.core
- ByteResponse(RawResponse, ProgressMonitor) - Constructor for class kong.unirest.core.ByteResponse
- BZ2 - Static variable in class kong.unirest.core.MimeTypes
C
- cache - Variable in class kong.unirest.core.Config
- Cache - Interface in kong.unirest.core
-
Cache interface for response caching
- CACHE_CONTROL - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.9
- Cache.Builder - Class in kong.unirest.core
- Cache.Key - Interface in kong.unirest.core
-
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 - Interface in kong.unirest.core
-
A functional interface to generate a cache key
- CacheManager - Class in kong.unirest.core
- CacheManager() - Constructor for class kong.unirest.core.CacheManager
- CacheManager(int, long, Cache.KeyGenerator) - Constructor for class kong.unirest.core.CacheManager
- CacheManager(Cache, Cache.KeyGenerator) - Constructor for class kong.unirest.core.CacheManager
- CacheManager.CacheMap - Class in kong.unirest.core
- CacheManager.CacheWrapper - Class in kong.unirest.core
- CacheManager.HashKey - Class in kong.unirest.core
- CacheMap(int, long) - Constructor for class kong.unirest.core.CacheManager.CacheMap
- cacheResponses(boolean) - Method in class kong.unirest.core.Config
-
Enable Response Caching with default options
- cacheResponses(Cache.Builder) - Method in class kong.unirest.core.Config
-
Enable Response Caching with custom options
- CacheWrapper() - Constructor for class kong.unirest.core.CacheManager.CacheWrapper
- CalendarSerializer() - Constructor for class kong.unirest.gson.GsonObjectMapper.CalendarSerializer
- Callback<T> - Interface in kong.unirest.core
- CallbackFuture - Class in kong.unirest.core
- CallbackFuture() - Constructor for class kong.unirest.core.CallbackFuture
- callCount - Variable in class kong.unirest.core.BaseRequest
- cancel() - Method in class kong.unirest.core.java.MultipartSubscription
- cancel() - Method in class kong.unirest.core.java.Upstream
-
Cancels the upstream if set.
- cancelled() - Method in interface kong.unirest.core.Callback
- CANCELLED - Static variable in class kong.unirest.core.java.MultipartSubscription
- CANCELLED_SUBSCRIBER - Static variable in class kong.unirest.core.java.MultipartSubscription
- cancelOnComplete(Flow.Subscriber<? super ByteBuffer>) - Method in class kong.unirest.core.java.MultipartSubscription
-
Calls downstream's
onComplete
after cancelling this subscription. - cancelOnError(Flow.Subscriber<? super ByteBuffer>, Throwable, boolean) - Method in class kong.unirest.core.java.MultipartSubscription
-
Calls downstream's
onError
after cancelling this subscription. - charset(Charset) - Method in class kong.unirest.core.HttpRequestBody
- charset(Charset) - Method in class kong.unirest.core.HttpRequestMultiPart
- charset(Charset) - Method in class kong.unirest.core.HttpRequestUniBody
- charset(Charset) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Set the Charset encoding for the Content-Type.
- charset(Charset) - Method in interface kong.unirest.core.MultipartBody
-
Set the encoding of the request body
- charset(Charset) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set the Charset encoding for the Content-Type.
- charSet - Variable in class kong.unirest.core.HttpRequestBody
- charSet - Variable in class kong.unirest.core.HttpRequestMultiPart
- charSet - Variable in class kong.unirest.core.HttpRequestUniBody
- CHARSET_PATTERN - Static variable in class kong.unirest.core.RawResponseBase
- checkClientTrusted(X509Certificate[], String) - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- ciphers - Variable in class kong.unirest.core.Config
- ciphers(String...) - Method in class kong.unirest.core.Config
-
Set a custom array of ciphers
- clear() - Method in class kong.unirest.core.Headers
-
Clear the headers!
- clear() - Method in class kong.unirest.core.java.Upstream
-
Just loses the reference to upstream if cancellation it is not required.
- clear() - Static method in class kong.unirest.core.MockClient
-
Clears any MockClient from the primary instance
- clear(UnirestInstance) - Static method in class kong.unirest.core.MockClient
-
Clears any MockClient from the instance
- clearDefaultHeaders() - Method in class kong.unirest.core.Config
-
Clear default headers
- clearOld() - Method in class kong.unirest.core.CacheManager.CacheMap
- client - Variable in class kong.unirest.core.Config
- client - Variable in class kong.unirest.core.java.JavaClient
- client - Variable in class kong.unirest.core.MockConfig
- Client - Interface in kong.unirest.core
-
The client that does the work.
- clientBuilder - Variable in class kong.unirest.core.Config
- clientCertificateStore(String, String) - Method in class kong.unirest.core.Config
-
Set a custom keystore via a file path.
- clientCertificateStore(KeyStore, String) - Method in class kong.unirest.core.Config
-
Set a custom keystore
- clock - Static variable in class kong.unirest.core.Util
- close() - Method in class kong.unirest.core.java.MonitoringInputStream
- close() - Method in class kong.unirest.core.MonitoringInputStream
- close() - Method in class kong.unirest.core.UnirestInstance
-
Wraps shutdown and will automatically be called when UnirestInstance is used with try-with-resource.
- closedMessage - Variable in class kong.unirest.core.MockListener
- closedStatus - Variable in class kong.unirest.core.MockListener
- compareTo(Object) - Method in class kong.unirest.core.BodyPart
- compareTo(GenericType<T>) - Method in class kong.unirest.core.GenericType
- compile(String) - Static method in class kong.unirest.core.json.JSONPointer
- compileNext(String) - Static method in class kong.unirest.core.json.JSONPointer
-
Many of the path compiling code was borrowed from Jackson.
- compileNextEscaped(String, int) - Static method in class kong.unirest.core.json.JSONPointer
- complete - Variable in class kong.unirest.core.java.MultipartSubscription
- complete(HttpResponseSummary, Exception) - Method in interface kong.unirest.core.MetricContext
-
Finishes a Http Request.
- completed(HttpResponse<T>) - Method in interface kong.unirest.core.Callback
- CompoundInterceptor - Class in kong.unirest.core
- CompoundInterceptor() - Constructor for class kong.unirest.core.CompoundInterceptor
- CompoundInterceptor(List<Interceptor>) - Constructor for class kong.unirest.core.CompoundInterceptor
- computeLength() - Method in class kong.unirest.core.java.MultipartBodyPublisher
- config - Variable in class kong.unirest.core.BaseRequest
- config - Variable in class kong.unirest.core.BaseResponse
- config - Variable in class kong.unirest.core.java.JavaClient
- config - Variable in class kong.unirest.core.MockClient
- config - Variable in class kong.unirest.core.MockRawResponse
- config - Variable in class kong.unirest.core.RawResponseBase
- config - Variable in class kong.unirest.core.UnirestInstance
- config - Variable in class kong.unirest.core.WebSocketRequestImpl
- config() - Method in class kong.unirest.core.MockResponse
-
get the MockConfig for this MockResponse
- config() - Static method in class kong.unirest.core.Unirest
-
Access the default configuration for the primary Unirest instance.
- config() - Method in class kong.unirest.core.UnirestInstance
-
Access the default configuration for the primary Unirest instance.
- Config - Class in kong.unirest.core
- Config() - Constructor for class kong.unirest.core.Config
- configureTLSOptions(Config, HttpClient.Builder) - Method in class kong.unirest.core.java.JavaClientBuilder
- CONFLICT - Static variable in class kong.unirest.core.HttpStatus
- connect(WebSocket.Listener) - Method in interface kong.unirest.core.WebSocketRequest
- connect(WebSocket.Listener) - Method in class kong.unirest.core.WebSocketRequestImpl
- CONNECTION - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.10
- connectionTimeout - Variable in class kong.unirest.core.Config
- connectionTTL(long, TimeUnit) - Method in class kong.unirest.core.Config
-
Sets the jdk.httpclient.keepalive.timeout setting https://docs.oracle.com/en/java/javase/20/docs/api/java.net.http/module-summary.html The number of seconds to keep idle HTTP connections alive in the keep alive cache.
- connectionTTL(Duration) - Method in class kong.unirest.core.Config
-
Sets the jdk.httpclient.keepalive.timeout setting https://docs.oracle.com/en/java/javase/20/docs/api/java.net.http/module-summary.html The number of seconds to keep idle HTTP connections alive in the keep alive cache.
- connectTimeout - Variable in class kong.unirest.core.BaseRequest
- connectTimeout - Variable in class kong.unirest.core.WebSocketRequestImpl
- connectTimeout(int) - Method in class kong.unirest.core.BaseRequest
- connectTimeout(int) - Method in class kong.unirest.core.Config
-
Set the connection timeout
- connectTimeout(int) - Method in interface kong.unirest.core.HttpRequest
-
Set a connect timeout for this request
- consumer - Variable in class kong.unirest.core.DefaultInterceptor
- containsKey(String) - Method in class kong.unirest.core.Headers
-
Check if a header is present
- content - Variable in class kong.unirest.core.MonitoringInputStream
- CONTENT_ENCODING - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.3, RFC 2616 (HTTP/1.1) Section 14.11
- CONTENT_LANGUAGE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.12
- CONTENT_LENGTH - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.4, RFC 2616 (HTTP/1.1) Section 14.13
- CONTENT_LOCATION - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.14
- CONTENT_MD5 - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.15
- CONTENT_RANGE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.16
- CONTENT_TYPE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.5, RFC 2616 (HTTP/1.1) Section 14.17
- CONTENT_TYPE - Static variable in interface kong.unirest.core.JsonPatchRequest
- contentLength - Variable in class kong.unirest.core.java.MultipartBodyPublisher
- contentLength() - Method in class kong.unirest.core.java.MultipartBodyPublisher
- contentLength() - Method in class kong.unirest.core.java.PartPublisher
- contentType - Variable in class kong.unirest.core.BodyPart
- contentType(String) - Method in class kong.unirest.core.HttpRequestBody
- contentType(String) - Method in class kong.unirest.core.HttpRequestMultiPart
- contentType(String) - Method in class kong.unirest.core.HttpRequestUniBody
- contentType(String) - Method in interface kong.unirest.core.HttpRequestWithBody
- contentType(String) - Method in interface kong.unirest.core.MultipartBody
-
Set the mime-type of the request body
- contentType(String) - Method in interface kong.unirest.core.RequestBodyEntity
- ContentType - Class in kong.unirest.core
- ContentType(String, Charset, boolean) - Constructor for class kong.unirest.core.ContentType
- convert(T, JacksonEngine.ValueSupplier<T>) - Method in class kong.unirest.jackson.JacksonEngine
- cookie(String, String) - Method in class kong.unirest.core.BaseRequest
- cookie(String, String) - Method in interface kong.unirest.core.HttpRequest
-
Add a simple cookie header
- cookie(String, String) - Method in interface kong.unirest.core.WebSocketRequest
-
Add a simple cookie header
- cookie(String, String) - Method in class kong.unirest.core.WebSocketRequestImpl
- cookie(Collection<Cookie>) - Method in class kong.unirest.core.BaseRequest
- cookie(Collection<Cookie>) - Method in class kong.unirest.core.Headers
- cookie(Collection<Cookie>) - Method in interface kong.unirest.core.HttpRequest
-
Add a collection of cookie headers
- cookie(Collection<Cookie>) - Method in interface kong.unirest.core.WebSocketRequest
-
Add a collection of cookie headers
- cookie(Collection<Cookie>) - Method in class kong.unirest.core.WebSocketRequestImpl
- cookie(Cookie) - Method in class kong.unirest.core.BaseRequest
- cookie(Cookie) - Method in class kong.unirest.core.Headers
- cookie(Cookie) - Method in interface kong.unirest.core.HttpRequest
-
Add a simple cookie header
- cookie(Cookie) - Method in interface kong.unirest.core.WebSocketRequest
-
Add a simple cookie header
- cookie(Cookie) - Method in class kong.unirest.core.WebSocketRequestImpl
- Cookie - Class in kong.unirest.core
-
Represents a cookie parsed from the set-cookie header per https://tools.ietf.org/html/rfc6265 note that the RFC is awful.
- Cookie(String) - Constructor for class kong.unirest.core.Cookie
-
Construct a cookie from a set-cookie value
- Cookie(String[]) - Constructor for class kong.unirest.core.Cookie
- Cookie(String, String) - Constructor for class kong.unirest.core.Cookie
- Cookie.Pair - Class in kong.unirest.core
- Cookie.SameSite - Enum in kong.unirest.core
- cookieManagement - Variable in class kong.unirest.core.Config
- cookies - Variable in class kong.unirest.core.BaseResponse
- Cookies - Class in kong.unirest.core
-
Represents a collection of cookies with some helper methods for parsing and getting cookie
- Cookies() - Constructor for class kong.unirest.core.Cookies
- Cookies(List<String>) - Constructor for class kong.unirest.core.Cookies
- cookieSpec - Variable in class kong.unirest.core.Config
- cookieSpec(String) - Method in class kong.unirest.core.Config
-
Sets a cookie policy Acceptable values: 'default' (same as Netscape), 'netscape', 'ignoreCookies', 'standard' (RFC 6265 interoprability profile) , 'standard-strict' (RFC 6265 strict profile)
- CookieSpecs - Class in kong.unirest.core
-
Standard cookie specifications supported by Unirest.
- CookieSpecs() - Constructor for class kong.unirest.core.CookieSpecs
- copy - kong.unirest.core.JsonPatchOperation
- copy(String, String) - Method in class kong.unirest.core.HttpRequestJsonPatch
- copy(String, String) - Method in class kong.unirest.core.JsonPatch
- copy(String, String) - Method in interface kong.unirest.core.JsonPatchRequest
- CoreFactory - Class in kong.unirest.core.json
- CoreFactory() - Constructor for class kong.unirest.core.json.CoreFactory
- create() - Static method in class kong.unirest.core.java.NeverUseInProdTrustManager
- create() - Static method in class kong.unirest.core.java.SSLContextBuilder
- create(String) - Static method in class kong.unirest.core.ContentType
- create(String, boolean) - Static method in class kong.unirest.core.ContentType
- create(String, Charset) - Static method in class kong.unirest.core.ContentType
- CREATED - Static variable in class kong.unirest.core.HttpStatus
- createInputStreamBody(Body, BodyPart) - Method in class kong.unirest.core.java.BodyBuilder
- createNewPath(HttpRequest) - Method in class kong.unirest.core.MockClient
- createPointer(String) - Static method in class kong.unirest.core.json.JSONPointer
- createProxy(HttpClient.Builder, Proxy) - Method in class kong.unirest.core.java.JavaClientBuilder
- createStringBody(Body, BodyPart) - Method in class kong.unirest.core.java.BodyBuilder
- creation - Variable in class kong.unirest.core.BaseRequest
- creation - Variable in class kong.unirest.core.WebSocketRequestImpl
- CSS - Static variable in class kong.unirest.core.MimeTypes
- currentWindow() - Method in class kong.unirest.core.java.Prefetcher
- customExecutor - Variable in class kong.unirest.core.Config
D
- data - Variable in class kong.unirest.core.MockListener.Message
- DATE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.6, RFC 2616 (HTTP/1.1) Section 14.18
- DateAdapter() - Constructor for class kong.unirest.gson.GsonObjectMapper.DateAdapter
- DateTimeAdapter() - Constructor for class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- DAV - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.1
- DEFAULT - Static variable in class kong.unirest.core.CookieSpecs
-
The default policy.
- DEFAULT_CONNECT_TIMEOUT - Static variable in class kong.unirest.core.Config
- DEFAULT_PATTERN - Static variable in class kong.unirest.core.Util
- defaultBaseUrl - Variable in class kong.unirest.core.Config
- defaultBaseUrl(String) - Method in class kong.unirest.core.Config
-
set a default base url for all routes.
- DefaultInterceptor - Class in kong.unirest.core
- DefaultInterceptor() - Constructor for class kong.unirest.core.DefaultInterceptor
- defaultResponse - Variable in class kong.unirest.core.MockClient
- defaultResponse() - Method in class kong.unirest.core.MockClient
-
return this status for any request that doesn't match a expectation
- defaultResponseEncoding - Variable in class kong.unirest.core.Config
- delegate - Variable in class kong.unirest.gson.GsonEngine.JavaTypeAdapter
- delete(String) - Static method in class kong.unirest.core.Unirest
-
Start a DELETE HttpRequest which supports a body from the primary config
- delete(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a DELETE HttpRequest which supports a body from the primary config
- DELETE - Static variable in class kong.unirest.core.HttpMethod
- demand - Variable in class kong.unirest.core.java.MultipartSubscription
- DEMAND - Static variable in class kong.unirest.core.java.MultipartSubscription
- depth - Variable in class kong.unirest.core.Cache.Builder
- depth(int) - Method in class kong.unirest.core.Cache.Builder
-
defines the max depth of the cache in number of values.
- DEPTH - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.2
- description - Variable in class kong.unirest.core.MatchStatus
- description(boolean, List<String>) - Method in class kong.unirest.core.FieldMatcher
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- DESTINATION - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.3
- details() - Method in class kong.unirest.core.Invocation
- DOC - Static variable in class kong.unirest.core.MimeTypes
- DOCX - Static variable in class kong.unirest.core.MimeTypes
- domain - Variable in class kong.unirest.core.Cookie
- DOTX - Static variable in class kong.unirest.core.MimeTypes
- doubleToString(double) - Static method in class kong.unirest.core.json.JSONObject
-
convert a primitive number to a string if the double can be converted to a whole number the decimal will be dropped
- downloadMonitor - Variable in class kong.unirest.core.BaseRequest
- downloadMonitor - Variable in class kong.unirest.core.MonitoringInputStream
- downloadMonitor(ProgressMonitor) - Method in class kong.unirest.core.BaseRequest
- downloadMonitor(ProgressMonitor) - Method in interface kong.unirest.core.HttpRequest
-
sets a download monitor for monitoring the response.
- downstream - Variable in class kong.unirest.core.java.MultipartSubscription
- downstream - Variable in class kong.unirest.core.java.PartSubscriber
- DTD - Static variable in class kong.unirest.core.MimeTypes
E
- element - Variable in class kong.unirest.core.json.JSONElement
- element - Variable in class kong.unirest.gson.GsonElement
- element - Variable in class kong.unirest.jackson.JacksonElement
- emit(Flow.Subscriber<? super ByteBuffer>, long) - Method in class kong.unirest.core.java.MultipartSubscription
-
Main method for item emission.
- Empty - Class in kong.unirest.core
- Empty() - Constructor for class kong.unirest.core.Empty
- enableCookieManagement(boolean) - Method in class kong.unirest.core.Config
-
Allow the client to manage cookies.
- encode(String) - Static method in class kong.unirest.core.Util
- encodePath(String) - Method in class kong.unirest.core.Path
- encoding - Variable in class kong.unirest.core.ContentType
- END_OF_PART - Static variable in class kong.unirest.core.java.PartSubscriber
- ENGINE - Static variable in class kong.unirest.core.json.CoreFactory
- ENGINE - Static variable in class kong.unirest.core.json.JSONElement
- Entry(String, String) - Constructor for class kong.unirest.core.Headers.Entry
- Entry(String, Supplier<String>) - Constructor for class kong.unirest.core.Headers.Entry
- EOT - Static variable in class kong.unirest.core.MimeTypes
- equals(Object) - Method in class kong.unirest.core.BaseRequest
- equals(Object) - Method in interface kong.unirest.core.Cache.Key
- equals(Object) - Method in class kong.unirest.core.CacheManager.HashKey
- equals(Object) - Method in class kong.unirest.core.Headers.Entry
- equals(Object) - Method in class kong.unirest.core.Headers
- equals(Object) - Method in class kong.unirest.core.json.Foo
- equals(Object) - Method in class kong.unirest.core.json.JSONArray
- equals(Object) - Method in class kong.unirest.core.json.JSONObject
- equals(Object) - Method in class kong.unirest.core.json.NullObject
- equals(Object) - Method in class kong.unirest.core.JsonPatchItem
- equals(Object) - Method in class kong.unirest.core.Path
- equals(Object) - Method in class kong.unirest.gson.GsonElement
- equals(Object) - Method in class kong.unirest.jackson.JacksonElement
- EqualsBodyMatcher - Class in kong.unirest.core
- EqualsBodyMatcher(String) - Constructor for class kong.unirest.core.EqualsBodyMatcher
- ES - Static variable in class kong.unirest.core.MimeTypes
- escape(String) - Method in class kong.unirest.core.Path
- escape(StringBuilder, char) - Static method in class kong.unirest.core.json.JSONPointer
- ETAG - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.19
- EvaluationResult(boolean, String) - Constructor for class kong.unirest.core.Times.EvaluationResult
- ex - Variable in class kong.unirest.core.MockResponse
- exactly(int) - Static method in class kong.unirest.core.Times
- Exactly(int) - Constructor for class kong.unirest.core.Times.Exactly
- exactlyOnce() - Static method in class kong.unirest.core.Times
- exchange(HttpRequest, Config) - Method in class kong.unirest.core.Routes
- EXE - Static variable in class kong.unirest.core.MimeTypes
- executor - Variable in class kong.unirest.core.java.MultipartSubscription
- executor(Executor) - Method in class kong.unirest.core.Config
-
Sets a custom executor for requests
- expect(HttpMethod) - Method in class kong.unirest.core.MockClient
-
Expect ANY call to a path with this method
- expect(HttpMethod, String) - Method in class kong.unirest.core.MockClient
-
Start an expectation chain.
- EXPECT - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.20
- expectation - Variable in class kong.unirest.core.ExpectedResponseRecord
- Expectation - Interface in kong.unirest.core
-
A expectation for a particular method/path
- EXPECTATION_FAILED - Static variable in class kong.unirest.core.HttpStatus
- expected - Variable in class kong.unirest.core.EqualsBodyMatcher
- expected - Variable in class kong.unirest.core.Invocation
- expectedBody - Variable in class kong.unirest.core.Invocation
- expectedBodyStatus - Variable in class kong.unirest.core.Invocation
- expectedHeaders - Variable in class kong.unirest.core.Invocation
- expectedQueryParams - Variable in class kong.unirest.core.Invocation
- expectedResponse - Variable in class kong.unirest.core.Invocation
- ExpectedResponse - Interface in kong.unirest.core
-
The expected response of a assertion.
- ExpectedResponseRecord - Class in kong.unirest.core
- ExpectedResponseRecord(Expectation) - Constructor for class kong.unirest.core.ExpectedResponseRecord
- expectedTimes - Variable in class kong.unirest.core.Invocation
- expires - Variable in class kong.unirest.core.Cookie
- EXPIRES - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.7, RFC 2616 (HTTP/1.1) Section 14.21
F
- fail(String, Object...) - Static method in class kong.unirest.core.Times.EvaluationResult
- failed(UnirestException) - Method in interface kong.unirest.core.Callback
- FAILED_DEPENDENCY - Static variable in class kong.unirest.core.HttpStatus
- FailedResponse<T> - Class in kong.unirest.core
-
A failed response you COULD return if you want to live in a house of lies.
- FailedResponse(Exception) - Constructor for class kong.unirest.core.FailedResponse
-
Build a elaborate lie from a failure.
- failedToParse() - Method in class kong.unirest.core.MockResponse
-
Flag that there was a post-processing parsing error with the object Mapper this jams the body as a string into the parsing exception and sets a generic oops exception
- failedToParse(Exception, String) - Method in class kong.unirest.core.MockResponse
-
Flag that there was a post-processing parsing error with the object Mapper
- failureReason - Variable in class kong.unirest.core.FailedResponse
- field(String, byte[], String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, byte[], String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, byte[], ContentType, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, byte[], ContentType, String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, File) - Method in class kong.unirest.core.HttpRequestBody
- field(String, File) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, File) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets a File on the body.
- field(String, File) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, File, String) - Method in class kong.unirest.core.HttpRequestBody
- field(String, File, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, File, String) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets a File on the body with a specified content-type.
- field(String, File, String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, InputStream, String) - Method in class kong.unirest.core.HttpRequestBody
- field(String, InputStream, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, InputStream, String) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets a File on the body from a raw InputStream requires a file name.
- field(String, InputStream, String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, InputStream, ContentType) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, InputStream, ContentType) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, InputStream, ContentType, String) - Method in class kong.unirest.core.HttpRequestBody
- field(String, InputStream, ContentType, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, InputStream, ContentType, String) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets a File on the body from a raw InputStream requires a specified content-type and file name.
- field(String, InputStream, ContentType, String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, Object) - Method in class kong.unirest.core.HttpRequestBody
- field(String, Object) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets a field param on the body.
- field(String, Object, String) - Method in class kong.unirest.core.HttpRequestBody
- field(String, Object, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, Object, String) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets a field param on the body with a specified content-type.
- field(String, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, String, String) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, String, String) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- field(String, Collection<?>) - Method in class kong.unirest.core.HttpRequestBody
- field(String, Collection<?>) - Method in class kong.unirest.core.HttpRequestMultiPart
- field(String, Collection<?>) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets multiple field params on the body each with the same name.
- field(String, Collection<?>) - Method in interface kong.unirest.core.MultipartBody
-
add a simple field with a name and value
- FieldMatcher - Class in kong.unirest.core
-
Matches simple form fields
- FieldMatcher(Map<String, String>) - Constructor for class kong.unirest.core.FieldMatcher
-
Creates a FieldMatcher expecting a map of keys and values
- fieldName - Variable in class kong.unirest.core.java.Part
- fields(Map<String, Object>) - Method in class kong.unirest.core.HttpRequestBody
- fields(Map<String, Object>) - Method in class kong.unirest.core.HttpRequestMultiPart
- fields(Map<String, Object>) - Method in interface kong.unirest.core.HttpRequestWithBody
-
Sets multiple field params on the body from a map of key/value pairs.
- filename - Variable in class kong.unirest.core.java.Part
- fileName - Variable in class kong.unirest.core.ByteArrayPart
- fileName - Variable in class kong.unirest.core.FilePart
- fileName - Variable in class kong.unirest.core.InputStreamPart
- fileName - Variable in class kong.unirest.core.MonitoringInputStream
- filePart(String, Path, String) - Method in class kong.unirest.core.java.MultipartBodyPublisher.Builder
-
Adds a file form field with given name, file and media type.
- FilePart - Class in kong.unirest.core
- FilePart(File, String) - Constructor for class kong.unirest.core.FilePart
- FilePart(File, String, String) - Constructor for class kong.unirest.core.FilePart
- FileResponse - Class in kong.unirest.core
- FileResponse(RawResponse, String, ProgressMonitor, CopyOption...) - Constructor for class kong.unirest.core.FileResponse
- findByPath(HttpMethod, Path) - Method in class kong.unirest.core.MockClient
- findExpecation(HttpRequest) - Method in class kong.unirest.core.MockClient
- FIRST - kong.unirest.core.java.BoundaryAppender
- followRedirects - Variable in class kong.unirest.core.Config
- followRedirects(boolean) - Method in class kong.unirest.core.Config
-
Allow the client to follow redirects.
- Foo - Class in kong.unirest.core.json
- Foo() - Constructor for class kong.unirest.core.json.Foo
- Foo(String) - Constructor for class kong.unirest.core.json.Foo
- FORBIDDEN - Static variable in class kong.unirest.core.HttpStatus
- forceMulti - Variable in class kong.unirest.core.HttpRequestMultiPart
- forceMultiPart(boolean) - Method in class kong.unirest.core.HttpRequestMultiPart
- FORMATS - Static variable in class kong.unirest.core.Util
- FORMATS - Static variable in class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- FORMATTER - Static variable in class kong.unirest.core.RequestSummary
- FORMATTER - Static variable in class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- formParams - Variable in class kong.unirest.core.FieldMatcher
- formPart(String, String, HttpRequest.BodyPublisher) - Method in class kong.unirest.core.java.MultipartBodyPublisher.Builder
-
Adds a form field with the given name, filename and body.
- formPart(String, HttpRequest.BodyPublisher) - Method in class kong.unirest.core.java.MultipartBodyPublisher.Builder
-
Adds a form field with the given name and body.
- FOUND - Static variable in class kong.unirest.core.HttpStatus
- freezeClock(Instant) - Static method in class kong.unirest.core.Util
- from(Long) - Method in class kong.unirest.gson.GsonObjectMapper.CalendarSerializer
- from(Long) - Method in class kong.unirest.gson.GsonObjectMapper.DateAdapter
- from(Long) - Method in class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- from(Long) - Method in class kong.unirest.gson.GsonObjectMapper.LocalDateAdapter
- from(Long) - Method in class kong.unirest.gson.GsonObjectMapper.LocalDateTimeAdapter
- from(Long) - Method in class kong.unirest.gson.GsonObjectMapper.ZonedDateAdapter
- from(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.CalendarSerializer
- from(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.DateAdapter
- from(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- from(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.LocalDateAdapter
- from(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.LocalDateTimeAdapter
- from(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.ZonedDateAdapter
- FROM - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.8, RFC 2616 (HTTP/1.1) Section 14.22
- fromBody(String) - Static method in class kong.unirest.core.QueryParams
- fromJson(JsonEngine.Element, Class<T>) - Method in interface kong.unirest.core.json.JsonEngine
- fromJson(JsonEngine.Element, Class<T>) - Method in class kong.unirest.gson.GsonEngine
- fromJson(JsonEngine.Element, Class<T>) - Method in class kong.unirest.jackson.JacksonEngine
- fromURI(String) - Static method in class kong.unirest.core.QueryParams
- funcResponse(Function<RawResponse, T>) - Method in class kong.unirest.core.BaseRequest
- functionalResponse - Variable in class kong.unirest.core.Invocation
G
- GATEWAY_TIMEOUT - Static variable in class kong.unirest.core.HttpStatus
- GenericType<T> - Class in kong.unirest.core
-
Parts of this file were taken from Jackson/core TypeReference under the Apache License: Apache (Software) License, version 2.0 ("the License").
- GenericType() - Constructor for class kong.unirest.core.GenericType
- get(int) - Method in class kong.unirest.core.json.JSONArray
-
get the element at the index
- get(int) - Method in interface kong.unirest.core.json.JsonEngine.Array
- get(int) - Method in class kong.unirest.gson.GsonArray
- get(int) - Method in class kong.unirest.jackson.JacksonArray
- get(int, int) - Static method in enum kong.unirest.core.java.BoundaryAppender
- get(String) - Method in class kong.unirest.core.Headers
-
Get all the values for a header name
- get(String) - Method in interface kong.unirest.core.json.JsonEngine.Object
- get(String) - Method in class kong.unirest.core.json.JSONObject
-
get and element by key as its native object
- get(String) - Static method in class kong.unirest.core.Unirest
-
Start a GET HttpRequest which does not support a body from the primary config
- get(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a GET HttpRequest which does not support a body from the primary config
- get(String) - Method in class kong.unirest.gson.GsonObject
- get(String) - Method in class kong.unirest.jackson.JacksonObject
- get(Cache.Key, Supplier<HttpResponse<T>>) - Method in interface kong.unirest.core.Cache
-
Returns the cached HttpResponse for a key or uses the Supplier to fetch the response
- get(Cache.Key, Supplier<HttpResponse<T>>) - Method in class kong.unirest.core.CacheManager.CacheMap
- GET - Static variable in class kong.unirest.core.HttpMethod
- getAcceptedIssuers() - Method in class kong.unirest.core.java.NeverUseInProdTrustManager
- getAndAddDemand(Object, VarHandle, long) - Method in class kong.unirest.core.java.MultipartSubscription
-
Adds given count to demand not exceeding
Long.MAX_VALUE
. - getAndBitwiseOrState(int) - Method in class kong.unirest.core.java.MultipartSubscription
- getArray() - Method in class kong.unirest.core.json.JSONArray
- getArray() - Method in class kong.unirest.core.JsonNode
- getAsBigDecimal() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsBigDecimal() - Method in class kong.unirest.gson.GsonElement
- getAsBigDecimal() - Method in class kong.unirest.jackson.JacksonElement
- getAsBigInteger() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsBigInteger() - Method in class kong.unirest.gson.GsonElement
- getAsBigInteger() - Method in class kong.unirest.jackson.JacksonElement
- getAsBoolean() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsBoolean() - Method in class kong.unirest.gson.GsonElement
- getAsBoolean() - Method in class kong.unirest.jackson.JacksonElement
- getAsDouble() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsDouble() - Method in class kong.unirest.gson.GsonElement
- getAsDouble() - Method in class kong.unirest.jackson.JacksonElement
- getAsFloat() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsFloat() - Method in class kong.unirest.gson.GsonElement
- getAsFloat() - Method in class kong.unirest.jackson.JacksonElement
- getAsInt() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsInt() - Method in class kong.unirest.gson.GsonElement
- getAsInt() - Method in class kong.unirest.jackson.JacksonElement
- getAsJsonArray() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsJsonArray() - Method in class kong.unirest.gson.GsonElement
- getAsJsonArray() - Method in class kong.unirest.jackson.JacksonElement
- getAsJsonObject() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsJsonObject() - Method in class kong.unirest.gson.GsonElement
- getAsJsonObject() - Method in class kong.unirest.jackson.JacksonElement
- getAsJsonPrimitive() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsJsonPrimitive() - Method in class kong.unirest.gson.GsonElement
- getAsJsonPrimitive() - Method in class kong.unirest.jackson.JacksonElement
- getAsLong() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsLong() - Method in class kong.unirest.gson.GsonElement
- getAsLong() - Method in class kong.unirest.jackson.JacksonElement
- getAsPrimitive() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsPrimitive() - Method in class kong.unirest.gson.GsonElement
- getAsPrimitive() - Method in class kong.unirest.jackson.JacksonElement
- getAsString() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getAsString() - Method in class kong.unirest.gson.GsonElement
- getAsString() - Method in class kong.unirest.jackson.JacksonElement
- getAsync(Cache.Key, Supplier<CompletableFuture<HttpResponse<T>>>) - Method in interface kong.unirest.core.Cache
-
Returns the cached HttpResponse for a key or uses the Supplier to fetch the response
- getAsync(Cache.Key, Supplier<CompletableFuture<HttpResponse<T>>>) - Method in class kong.unirest.core.CacheManager.CacheMap
- getBestMatch(HttpRequest) - Method in class kong.unirest.core.Routes
- getBestMatch(HttpRequest, boolean) - Method in class kong.unirest.core.Routes
- getBigDecimal(int) - Method in class kong.unirest.core.json.JSONArray
-
get a BigDecimal at a specified index
- getBigDecimal(String) - Method in class kong.unirest.core.json.JSONObject
-
get an element property as a BigDecimal
- getBigInteger(int) - Method in class kong.unirest.core.json.JSONArray
-
get a BigInteger at a specified index
- getBigInteger(String) - Method in class kong.unirest.core.json.JSONObject
-
get an element property as a BigInteger
- getBodies() - Method in class kong.unirest.core.PagedList
- getBody() - Method in class kong.unirest.core.BaseResponse
- getBody() - Method in class kong.unirest.core.BasicResponse
- getBody() - Method in class kong.unirest.core.ByteResponse
- getBody() - Method in class kong.unirest.core.FailedResponse
- getBody() - Method in class kong.unirest.core.FileResponse
- getBody() - Method in interface kong.unirest.core.HttpRequest
- getBody() - Method in class kong.unirest.core.HttpRequestBody
- getBody() - Method in class kong.unirest.core.HttpRequestJsonPatch
- getBody() - Method in class kong.unirest.core.HttpRequestMultiPart
- getBody() - Method in class kong.unirest.core.HttpRequestNoBody
- getBody() - Method in class kong.unirest.core.HttpRequestUniBody
- getBody() - Method in interface kong.unirest.core.HttpResponse
- getBody() - Method in class kong.unirest.core.java.BodyBuilder
- getBody() - Method in class kong.unirest.core.JsonResponse
- getBody() - Method in class kong.unirest.core.MockResponse
- getBody() - Method in class kong.unirest.core.ObjectResponse
- getBody() - Method in class kong.unirest.core.StringResponse
- getBody(String, Function<String, T>) - Method in class kong.unirest.core.ObjectResponse
- getBodySize(RawResponse) - Method in class kong.unirest.core.MonitoringInputStream
- getBodyStream() - Method in class kong.unirest.core.Invocation
- getBoolean(int) - Method in class kong.unirest.core.json.JSONArray
-
get a boolean at a specified index
- getBoolean(String) - Method in class kong.unirest.core.json.JSONObject
-
gets a boolean value at a particular key
- getBytes(InputStream) - Static method in class kong.unirest.core.ByteResponse
- getBytes(InputStream) - Static method in class kong.unirest.core.java.JavaResponse
- getCharset() - Method in interface kong.unirest.core.Body
- getCharset() - Method in class kong.unirest.core.HttpRequestBody
- getCharset() - Method in class kong.unirest.core.HttpRequestMultiPart
- getCharset() - Method in class kong.unirest.core.HttpRequestUniBody
- getCharset() - Method in interface kong.unirest.core.HttpRequestWithBody
-
get the current default charset
- getCharset(String) - Method in class kong.unirest.core.java.JavaResponse
- getCharSet() - Method in class kong.unirest.core.RawResponseBase
- getCharsetFromContentType(String) - Method in class kong.unirest.core.RawResponseBase
-
Parse out a charset from a content type header.
- getCiphers() - Method in class kong.unirest.core.Config
- getClient() - Method in class kong.unirest.core.CacheManager.CacheWrapper
- getClient() - Method in interface kong.unirest.core.Client
- getClient() - Method in class kong.unirest.core.Config
-
Return the current Client.
- getClient() - Method in class kong.unirest.core.java.JavaClient
- getClient() - Method in class kong.unirest.core.MockClient
- getClient() - Method in class kong.unirest.core.MockConfig
- getConfig() - Method in class kong.unirest.core.MockRawResponse
- getConfig() - Method in interface kong.unirest.core.RawResponse
-
Returns the current config for this request/response
- getConfig() - Method in class kong.unirest.core.RawResponseBase
- getConnectionTimeout() - Method in class kong.unirest.core.Config
- getConnectTimeout() - Method in class kong.unirest.core.BaseRequest
- getConnectTimeout() - Method in interface kong.unirest.core.HttpRequest
- getConsumer() - Method in class kong.unirest.core.DefaultInterceptor
- getConsumer(Consumer<RawResponse>) - Method in class kong.unirest.core.BaseRequest
- getContent() - Method in class kong.unirest.core.java.JavaResponse
- getContent() - Method in class kong.unirest.core.MockRawResponse
- getContent() - Method in interface kong.unirest.core.RawResponse
-
Returns the body content of the response as a InputStream.
- getContent(RawResponse, ProgressMonitor, Path) - Method in class kong.unirest.core.FileResponse
- getContentAsBytes() - Method in class kong.unirest.core.java.JavaResponse
- getContentAsBytes() - Method in class kong.unirest.core.MockRawResponse
- getContentAsBytes() - Method in interface kong.unirest.core.RawResponse
-
Returns the body as bytes.
- getContentAsString() - Method in class kong.unirest.core.java.JavaResponse
- getContentAsString() - Method in class kong.unirest.core.MockRawResponse
- getContentAsString() - Method in interface kong.unirest.core.RawResponse
-
Returns the body as UTF-8 String.
- getContentAsString(String) - Method in class kong.unirest.core.java.JavaResponse
- getContentAsString(String) - Method in class kong.unirest.core.MockRawResponse
- getContentAsString(String) - Method in interface kong.unirest.core.RawResponse
-
Returns the body as UTF-8 String.
- getContentReader() - Method in class kong.unirest.core.java.JavaResponse
- getContentReader() - Method in class kong.unirest.core.MockRawResponse
- getContentReader() - Method in interface kong.unirest.core.RawResponse
-
Returns the body content of the response as a InputStreamReader.
- getContentType() - Method in class kong.unirest.core.BodyPart
- getContentType() - Method in class kong.unirest.core.java.JavaResponse
- getContentType() - Method in class kong.unirest.core.MockRawResponse
- getContentType() - Method in interface kong.unirest.core.RawResponse
-
Returns the mime type of the response content as indicated by the Content-Type header or a empty string if none is supplied (e.g.
- getCookies() - Method in class kong.unirest.core.BaseResponse
- getCookies() - Method in class kong.unirest.core.FailedResponse
- getCookies() - Method in interface kong.unirest.core.HttpResponse
-
return a cookie collection parse from the set-cookie header
- getCookieSpec() - Method in class kong.unirest.core.Config
- getCore() - Static method in class kong.unirest.core.json.CoreFactory
- getCreationTime() - Method in class kong.unirest.core.BaseRequest
- getCreationTime() - Method in interface kong.unirest.core.HttpRequest
- getCustomExecutor() - Method in class kong.unirest.core.Config
- getDecode(String) - Method in class kong.unirest.core.Cookie
- getDefaultBaseUrl() - Method in class kong.unirest.core.Config
- getDefaultHeaders() - Method in class kong.unirest.core.Config
-
Return default headers that are added to every request
- getDefaultResponseEncoding() - Method in class kong.unirest.core.Config
- getDescription() - Method in class kong.unirest.core.MatchStatus
- getDomain() - Method in class kong.unirest.core.Cookie
- getDouble(int) - Method in class kong.unirest.core.json.JSONArray
-
get a Double at a specified index
- getDouble(String) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a double
- getElement() - Method in class kong.unirest.core.json.JSONElement
- getElement(int) - Method in class kong.unirest.core.json.JSONArray
- getEnabledCookieManagement() - Method in class kong.unirest.core.Config
- getEncoding() - Method in class kong.unirest.core.java.JavaResponse
- getEncoding() - Method in class kong.unirest.core.MockRawResponse
- getEncoding() - Method in interface kong.unirest.core.RawResponse
-
Returns the encoding of the response as indicated by the Content-Encoding header or returns a empty string if none provided.
- getEngineElement() - Method in interface kong.unirest.core.json.JsonEngine.Element
- getEngineElement() - Method in class kong.unirest.gson.GsonElement
- getEngineElement() - Method in class kong.unirest.jackson.JacksonElement
- getEnum(Class<T>, int) - Method in class kong.unirest.core.json.JSONArray
-
get a enum value based on name from a specific index
- getEnum(Class<T>, String) - Method in class kong.unirest.core.json.JSONObject
-
get element as a enum value
- getErrorBody() - Method in class kong.unirest.core.BaseResponse
- getExpiration() - Method in class kong.unirest.core.Cookie
-
Per Wikipedia: The Expires attribute defines a specific date and time for when the browser should delete the cookie.
- getField(String) - Method in interface kong.unirest.core.Body
- getFieldName() - Method in class kong.unirest.core.java.Part
- getFileInputStream(String) - Static method in class kong.unirest.core.Util
- getFilename() - Method in class kong.unirest.core.java.Part
- getFileName() - Method in class kong.unirest.core.BodyPart
- getFileName() - Method in class kong.unirest.core.ByteArrayPart
- getFileName() - Method in class kong.unirest.core.FilePart
- getFileName() - Method in class kong.unirest.core.InputStreamPart
- getFinalClient() - Method in class kong.unirest.core.Config
- getFirst(String) - Method in class kong.unirest.core.Headers
-
Get the first header value for a name
- getFloat(int) - Method in class kong.unirest.core.json.JSONArray
-
get a Float at a specified index
- getFloat(String) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a float
- getFollowRedirects() - Method in class kong.unirest.core.Config
- getFormHeaders(String, String) - Static method in class kong.unirest.core.java.Part
- getGson() - Method in class kong.unirest.gson.GsonObjectMapper
- getHash(HttpRequest, Boolean, Class<?>) - Method in class kong.unirest.core.CacheManager
- getHeaders() - Method in class kong.unirest.core.BaseRequest
- getHeaders() - Method in class kong.unirest.core.BaseResponse
- getHeaders() - Method in class kong.unirest.core.FailedResponse
- getHeaders() - Method in interface kong.unirest.core.HttpRequest
- getHeaders() - Method in interface kong.unirest.core.HttpRequestSummary
- getHeaders() - Method in interface kong.unirest.core.HttpResponse
- getHeaders() - Method in class kong.unirest.core.java.JavaResponse
- getHeaders() - Method in class kong.unirest.core.MockRawResponse
- getHeaders() - Method in interface kong.unirest.core.RawResponse
-
Returns the received response headers.
- getHeaders() - Method in class kong.unirest.core.RequestSummary
- getHeaders() - Method in interface kong.unirest.core.WebSocketRequest
- getHeaders() - Method in class kong.unirest.core.WebSocketRequestImpl
- getHost() - Method in class kong.unirest.core.Proxy
- getHttpMethod() - Method in class kong.unirest.core.BaseRequest
- getHttpMethod() - Method in interface kong.unirest.core.HttpRequest
- getHttpMethod() - Method in interface kong.unirest.core.HttpRequestSummary
- getHttpMethod() - Method in class kong.unirest.core.RequestSummary
- getIndex(String) - Method in class kong.unirest.core.json.JSONPointer.QueryArray
- getInt(int) - Method in class kong.unirest.core.json.JSONArray
-
get a int at a specified index
- getInt(String) - Method in class kong.unirest.core.json.JSONObject
-
get an element property as a int
- getInterceptors() - Method in class kong.unirest.core.CompoundInterceptor
- getIt(V) - Method in interface kong.unirest.jackson.JacksonEngine.ValueSupplier
- getJacksonMapper() - Method in class kong.unirest.jackson.JacksonObjectMapper
- getJSONArray(int) - Method in class kong.unirest.core.json.JSONArray
-
get a JSONArray at a specified index
- getJSONArray(String) - Method in class kong.unirest.core.json.JSONObject
-
get the element as a JSONArray
- getJSONObject(int) - Method in class kong.unirest.core.json.JSONArray
-
get a JSONObject at a specified index
- getJSONObject(String) - Method in class kong.unirest.core.json.JSONObject
-
get the element as a JSONObject
- getKeystore() - Method in class kong.unirest.core.Config
- getKeyStorePassword() - Method in class kong.unirest.core.Config
- getListener() - Method in class kong.unirest.core.SocketSet
- getLong(int) - Method in class kong.unirest.core.json.JSONArray
-
get a long at a specified index
- getLong(String) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a long
- getMaxAge() - Method in class kong.unirest.core.Cookie
-
Per Wikipedia: the Max-Age attribute can be used to set the cookie's expiration as an interval of seconds in the future, relative to the time the browser received the cookie.
- getMaxAttempts() - Method in interface kong.unirest.core.RetryStrategy
-
Get the max number of times the Unirest should retry responses before giving up and allowing a final return
- getMaxAttempts() - Method in class kong.unirest.core.RetryStrategy.Standard
- getMessage() - Method in class kong.unirest.core.Times.EvaluationResult
- getMethod() - Method in class kong.unirest.core.Routes
- getMetric() - Method in class kong.unirest.core.Config
- getMimeType() - Method in class kong.unirest.core.ContentType
- getMode() - Method in interface kong.unirest.core.Body
- getMode() - Method in class kong.unirest.core.HttpRequestMultiPart
- getMonitor() - Method in interface kong.unirest.core.Body
- getMonitor() - Method in class kong.unirest.core.HttpRequestMultiPart
- getMonitor() - Method in class kong.unirest.core.HttpRequestUniBody
- getName() - Method in class kong.unirest.core.BodyPart
- getName() - Method in class kong.unirest.core.Cookie
- getName() - Method in interface kong.unirest.core.Header
- getName() - Method in class kong.unirest.core.Headers.Entry
- getName() - Method in class kong.unirest.core.QueryParams.NameValuePair
- getName() - Method in class kong.unirest.core.SocketSet
- getNamed(String) - Method in class kong.unirest.core.Cookies
-
Get cookie by name
- getNames(Object) - Static method in class kong.unirest.core.json.JSONObject
-
get all of the keys of a JSONObject or a empty array if not an JSONObject
- getNames(JSONObject) - Static method in class kong.unirest.core.json.JSONObject
-
get all of the keys of a JSONObject
- getNode(RawResponse) - Method in class kong.unirest.core.JsonResponse
- getNumber(int) - Method in class kong.unirest.core.json.JSONArray
-
get a Number at a specified index
- getNumber(String) - Method in class kong.unirest.core.json.JSONObject
-
get an element property as a Number
- getObject() - Method in class kong.unirest.core.JsonNode
- getObjectMapper() - Method in class kong.unirest.core.BaseRequest
- getObjectMapper() - Method in class kong.unirest.core.Config
- getObjectMapper() - Method in interface kong.unirest.core.json.JsonEngine
- getObjectMapper() - Method in class kong.unirest.gson.GsonEngine
- getObjectMapper() - Method in class kong.unirest.jackson.JacksonEngine
- getObjectMapper(HttpRequest, Config) - Method in class kong.unirest.core.ExpectedResponseRecord
- getOp() - Method in class kong.unirest.core.JsonPatchItem
- getOperations() - Method in class kong.unirest.core.JsonPatch
- getOperationtype() - Method in enum kong.unirest.core.JsonPatchOperation
- getOrDefault(Supplier<T>, T) - Method in class kong.unirest.core.json.JSONArray
- getOrDefault(Supplier<T>, T) - Method in class kong.unirest.core.json.JSONObject
- getOriginalBody() - Method in exception kong.unirest.core.UnirestParsingException
- getParsingError() - Method in class kong.unirest.core.BaseResponse
- getParsingError() - Method in class kong.unirest.core.FailedResponse
- getParsingError() - Method in interface kong.unirest.core.HttpResponse
-
If the transformation to the body failed by an exception it will be kept here
- getParsingError() - Method in class kong.unirest.core.MockResponse
- getPart() - Method in class kong.unirest.core.java.PartSubscriber
- getPartType() - Method in class kong.unirest.core.BodyPart
- getPassword() - Method in class kong.unirest.core.Proxy
- getPath() - Method in class kong.unirest.core.BaseRequest
- getPath() - Method in class kong.unirest.core.Cookie
- getPath() - Method in class kong.unirest.core.JsonPatchItem
- getPath() - Method in class kong.unirest.core.Routes
- getPort() - Method in class kong.unirest.core.Proxy
- getProperty(String) - Method in class kong.unirest.core.json.JSONObject
- getProtocols() - Method in class kong.unirest.core.Config
- getProxy() - Method in class kong.unirest.core.Config
- getQueryParams() - Method in class kong.unirest.core.QueryParams
- getQueryString() - Method in class kong.unirest.core.Path
- getRawBody() - Method in class kong.unirest.core.BaseResponse
- getRawBody() - Method in class kong.unirest.core.BasicResponse
- getRawBody() - Method in class kong.unirest.core.ByteResponse
- getRawBody() - Method in class kong.unirest.core.FileResponse
- getRawBody() - Method in class kong.unirest.core.JsonResponse
- getRawBody() - Method in class kong.unirest.core.MockResponse
- getRawBody() - Method in class kong.unirest.core.ObjectResponse
- getRawBody() - Method in class kong.unirest.core.StringResponse
- getRawPath() - Method in interface kong.unirest.core.HttpRequestSummary
- getRawPath() - Method in class kong.unirest.core.RequestSummary
- getRequest(HttpRequest<?>) - Method in class kong.unirest.core.java.JavaClient
- GetRequest - Interface in kong.unirest.core
- getRequests() - Method in class kong.unirest.core.Invocation
- getRequestSummary() - Method in class kong.unirest.core.BaseResponse
- getRequestSummary() - Method in class kong.unirest.core.FailedResponse
- getRequestSummary() - Method in interface kong.unirest.core.HttpResponse
- getRequestSummary() - Method in class kong.unirest.core.MockRawResponse
- getRequestSummary() - Method in interface kong.unirest.core.RawResponse
-
returns a lightweight read only summary of the request.
- getRequestSummary() - Method in class kong.unirest.core.RawResponseBase
- getResponse(Config, HttpRequest) - Method in class kong.unirest.core.Invocation
- getRetryStrategy() - Method in class kong.unirest.core.Config
- getSameSite() - Method in class kong.unirest.core.Cookie
-
returns the SameSite attribute
- getSocket() - Method in class kong.unirest.core.SocketSet
- getSslContext() - Method in class kong.unirest.core.Config
- getSslContext(Config) - Method in class kong.unirest.core.java.JavaClientBuilder
- getStatus() - Method in class kong.unirest.core.BaseResponse
- getStatus() - Method in class kong.unirest.core.FailedResponse
-
Returns a 542, which is nothing and a lie.
- getStatus() - Method in interface kong.unirest.core.HttpResponse
- getStatus() - Method in interface kong.unirest.core.HttpResponseSummary
- getStatus() - Method in class kong.unirest.core.java.JavaResponse
- getStatus() - Method in class kong.unirest.core.MockRawResponse
- getStatus() - Method in interface kong.unirest.core.RawResponse
-
Returns the status code for this response.
- getStatus() - Method in class kong.unirest.core.ResponseSummary
- getStatusText() - Method in class kong.unirest.core.BaseResponse
- getStatusText() - Method in class kong.unirest.core.FailedResponse
-
a error message of the exception
- getStatusText() - Method in interface kong.unirest.core.HttpResponse
- getStatusText() - Method in interface kong.unirest.core.HttpResponseSummary
- getStatusText() - Method in class kong.unirest.core.java.JavaResponse
- getStatusText() - Method in class kong.unirest.core.MockRawResponse
- getStatusText() - Method in interface kong.unirest.core.RawResponse
-
Returns the status text for this response.
- getStatusText() - Method in class kong.unirest.core.ResponseSummary
- getString(int) - Method in class kong.unirest.core.json.JSONArray
-
get a String at a specified index
- getString(String) - Method in class kong.unirest.core.json.JSONObject
-
get a element property as a string
- getSubprotocol() - Method in class kong.unirest.core.MockWebSocket
- getTime() - Method in interface kong.unirest.core.Cache.Key
-
The time the key was created to be used by purging functions
- getTime() - Method in class kong.unirest.core.CacheManager.HashKey
- getTTL() - Method in class kong.unirest.core.Config
- getType() - Method in class kong.unirest.core.GenericType
- getTypeClass() - Method in class kong.unirest.core.GenericType
- getUniInterceptor() - Method in class kong.unirest.core.Config
- getUrl() - Method in class kong.unirest.core.BaseRequest
- getUrl() - Method in interface kong.unirest.core.HttpRequest
- getUrl() - Method in interface kong.unirest.core.HttpRequestSummary
- getUrl() - Method in class kong.unirest.core.RequestSummary
- getUrl() - Method in interface kong.unirest.core.WebSocketRequest
- getUrl() - Method in class kong.unirest.core.WebSocketRequestImpl
- getUrlDecodedValue() - Method in class kong.unirest.core.Cookie
- getUsername() - Method in class kong.unirest.core.Proxy
- getValue() - Method in class kong.unirest.core.BodyPart
- getValue() - Method in class kong.unirest.core.Cookie
- getValue() - Method in interface kong.unirest.core.Header
- getValue() - Method in class kong.unirest.core.Headers.Entry
- getValue() - Method in class kong.unirest.core.JsonPatchItem
- getValue() - Method in class kong.unirest.core.QueryParams.NameValuePair
- getVersion() - Method in class kong.unirest.core.BaseRequest
- getVersion() - Method in class kong.unirest.core.Config
- getVersion() - Method in interface kong.unirest.core.HttpRequest
-
gets the version for the request, or null if not set.
- getWaitTime(HttpResponse) - Method in class kong.unirest.core.RetryStrategy.Standard
- getWaitTime(HttpResponse<?>) - Method in interface kong.unirest.core.RetryStrategy
-
Get the number of milliseconds the system should wait before retrying.
- GIF - Static variable in class kong.unirest.core.MimeTypes
- GONE - Static variable in class kong.unirest.core.HttpStatus
- gson - Variable in class kong.unirest.gson.GsonEngine
- gson - Variable in class kong.unirest.gson.GsonObjectMapper
- GsonArray - Class in kong.unirest.gson
- GsonArray() - Constructor for class kong.unirest.gson.GsonArray
- GsonArray(JsonArray) - Constructor for class kong.unirest.gson.GsonArray
- GsonElement<T extends com.google.gson.JsonElement> - Class in kong.unirest.gson
- GsonElement(T) - Constructor for class kong.unirest.gson.GsonElement
- GsonEngine - Class in kong.unirest.gson
- GsonEngine() - Constructor for class kong.unirest.gson.GsonEngine
- GsonEngine.JavaTypeAdapter - Class in kong.unirest.gson
- GsonNull - Class in kong.unirest.gson
- GsonNull() - Constructor for class kong.unirest.gson.GsonNull
- GsonObject - Class in kong.unirest.gson
- GsonObject() - Constructor for class kong.unirest.gson.GsonObject
- GsonObject(JsonObject) - Constructor for class kong.unirest.gson.GsonObject
- GsonObjectMapper - Class in kong.unirest.gson
- GsonObjectMapper() - Constructor for class kong.unirest.gson.GsonObjectMapper
- GsonObjectMapper(Gson) - Constructor for class kong.unirest.gson.GsonObjectMapper
- GsonObjectMapper.CalendarSerializer - Class in kong.unirest.gson
- GsonObjectMapper.DateAdapter - Class in kong.unirest.gson
- GsonObjectMapper.DateTimeAdapter<T> - Class in kong.unirest.gson
- GsonObjectMapper.LocalDateAdapter - Class in kong.unirest.gson
- GsonObjectMapper.LocalDateTimeAdapter - Class in kong.unirest.gson
- GsonObjectMapper.ZonedDateAdapter - Class in kong.unirest.gson
- GsonPrimitive - Class in kong.unirest.gson
- GsonPrimitive(JsonPrimitive) - Constructor for class kong.unirest.gson.GsonPrimitive
- GZ - Static variable in class kong.unirest.core.MimeTypes
H
- hadBody(String) - Method in interface kong.unirest.core.Assert
-
Assert that any the request sent this body.
- hadBody(String) - Method in class kong.unirest.core.Routes
- hadField(String, String) - Method in interface kong.unirest.core.Assert
-
Assert that any the request sent a multipart field
- hadField(String, String) - Method in class kong.unirest.core.Routes
- hadHeader(String, String) - Method in interface kong.unirest.core.Assert
-
Assert that any request to this method/path contained this header
- hadHeader(String, String) - Method in class kong.unirest.core.Routes
- has(String) - Method in interface kong.unirest.core.json.JsonEngine.Object
- has(String) - Method in class kong.unirest.core.json.JSONObject
- has(String) - Method in class kong.unirest.gson.GsonObject
- has(String) - Method in class kong.unirest.jackson.JacksonObject
- hasBody(String) - Method in class kong.unirest.core.Invocation
- hasContent() - Method in class kong.unirest.core.java.JavaResponse
- hasContent() - Method in class kong.unirest.core.MockRawResponse
- hasContent() - Method in interface kong.unirest.core.RawResponse
-
Indicates that the response has content
- hasExpectedHeader(String, String) - Method in class kong.unirest.core.Invocation
- hasField(String, String) - Method in class kong.unirest.core.Invocation
- hasField(String, String, Body) - Method in class kong.unirest.core.Invocation
- hash - Variable in class kong.unirest.core.CacheManager.HashKey
- hashCode() - Method in class kong.unirest.core.BaseRequest
- hashCode() - Method in interface kong.unirest.core.Cache.Key
-
As much as is reasonably practical, the hashCode method defined by class
Object
does return distinct integers for distinct objects. - hashCode() - Method in class kong.unirest.core.CacheManager.HashKey
- hashCode() - Method in class kong.unirest.core.Headers.Entry
- hashCode() - Method in class kong.unirest.core.Headers
- hashCode() - Method in class kong.unirest.core.json.Foo
- hashCode() - Method in class kong.unirest.core.json.JSONArray
- hashCode() - Method in class kong.unirest.core.json.JSONObject
- hashCode() - Method in class kong.unirest.core.JsonPatchItem
- hashCode() - Method in class kong.unirest.core.Path
- hashCode() - Method in class kong.unirest.gson.GsonElement
- hashCode() - Method in class kong.unirest.jackson.JacksonElement
- HashKey(int, Instant) - Constructor for class kong.unirest.core.CacheManager.HashKey
- HashKey(HttpRequest, Boolean, Class<?>) - Constructor for class kong.unirest.core.CacheManager.HashKey
- hasPendingErrors() - Method in class kong.unirest.core.java.MultipartSubscription
-
Returns
true
if the subscriber is to be completed exceptionally. - head(String) - Static method in class kong.unirest.core.Unirest
-
Start a HEAD HttpRequest which does not support a body from the primary config
- head(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a HEAD HttpRequest which does not support a body from the primary config
- HEAD - Static variable in class kong.unirest.core.HttpMethod
- header(String, String) - Method in class kong.unirest.core.BaseRequest
- header(String, String) - Method in interface kong.unirest.core.Expectation
-
A expected header for a request
- header(String, String) - Method in interface kong.unirest.core.HttpRequest
-
Add a http header, HTTP supports multiple of the same header.
- header(String, String) - Method in class kong.unirest.core.Invocation
- header(String, String) - Method in interface kong.unirest.core.WebSocketRequest
-
Add a http header, HTTP supports multiple of the same header.
- header(String, String) - Method in class kong.unirest.core.WebSocketRequestImpl
- Header - Interface in kong.unirest.core
- HeaderNames - Class in kong.unirest.core
-
Constants enumerating the HTTP headers.
- HeaderNames() - Constructor for class kong.unirest.core.HeaderNames
- headerReplace(String, String) - Method in class kong.unirest.core.BaseRequest
- headerReplace(String, String) - Method in interface kong.unirest.core.HttpRequest
-
Replace a header value or add it if it doesn't exist
- headerReplace(String, String) - Method in interface kong.unirest.core.WebSocketRequest
-
Replace a header value or add it if it doesn't exist
- headerReplace(String, String) - Method in class kong.unirest.core.WebSocketRequestImpl
- headers - Variable in class kong.unirest.core.BaseRequest
- headers - Variable in class kong.unirest.core.BaseResponse
- headers - Variable in class kong.unirest.core.Config
- headers - Variable in class kong.unirest.core.Headers
- headers - Variable in class kong.unirest.core.java.Part
- headers - Variable in class kong.unirest.core.WebSocketRequestImpl
- headers() - Method in class kong.unirest.core.java.Part
- headers(Map<String, String>) - Method in class kong.unirest.core.BaseRequest
- headers(Map<String, String>) - Method in interface kong.unirest.core.HttpRequest
-
Add headers as a map
- headers(Map<String, String>) - Method in interface kong.unirest.core.WebSocketRequest
-
Add headers as a map
- headers(Map<String, String>) - Method in class kong.unirest.core.WebSocketRequestImpl
- Headers - Class in kong.unirest.core
- Headers() - Constructor for class kong.unirest.core.Headers
- Headers(Collection<Headers.Entry>) - Constructor for class kong.unirest.core.Headers
- Headers.Entry - Class in kong.unirest.core
- headersReplace(Map<String, String>) - Method in class kong.unirest.core.BaseRequest
- headersReplace(Map<String, String>) - Method in interface kong.unirest.core.HttpRequest
-
Replace headers as a map
- host - Variable in class kong.unirest.core.Proxy
- HOST - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.23
- HQX - Static variable in class kong.unirest.core.MimeTypes
- HTML - Static variable in class kong.unirest.core.MimeTypes
- httpClient(Function<Config, Client>) - Method in class kong.unirest.core.Config
-
Provide a builder for a client
- httpClient(Client) - Method in class kong.unirest.core.Config
-
Set the HttpClient implementation to use for every synchronous request
- HttpMethod - Class in kong.unirest.core
- HttpMethod(String) - Constructor for class kong.unirest.core.HttpMethod
- httpOnly - Variable in class kong.unirest.core.Cookie
- HttpRequest<R extends HttpRequest> - Interface in kong.unirest.core
-
The primary request builder used to create a request.
- HttpRequestBody - Class in kong.unirest.core
- HttpRequestBody(Config, HttpMethod, String) - Constructor for class kong.unirest.core.HttpRequestBody
- HttpRequestJsonPatch - Class in kong.unirest.core
- HttpRequestJsonPatch(Config, String) - Constructor for class kong.unirest.core.HttpRequestJsonPatch
- HttpRequestMultiPart - Class in kong.unirest.core
- HttpRequestMultiPart(HttpRequestBody) - Constructor for class kong.unirest.core.HttpRequestMultiPart
- HttpRequestNoBody - Class in kong.unirest.core
- HttpRequestNoBody(Config, HttpMethod, String) - Constructor for class kong.unirest.core.HttpRequestNoBody
- HttpRequestSummary - Interface in kong.unirest.core
-
A summary of a request about to be performed
- HttpRequestUniBody - Class in kong.unirest.core
- HttpRequestUniBody(HttpRequestBody) - Constructor for class kong.unirest.core.HttpRequestUniBody
- HttpRequestWithBody - Interface in kong.unirest.core
-
A request Builder for POST and PUT operations with a body.
- HttpResponse<T> - Interface in kong.unirest.core
- HttpResponseSummary - Interface in kong.unirest.core
-
A Summary of rhe response
- HttpStatus - Class in kong.unirest.core
- HttpStatus() - Constructor for class kong.unirest.core.HttpStatus
I
- ICO - Static variable in class kong.unirest.core.MimeTypes
- IF - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.4
- IF_MATCH - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.24
- IF_MODIFIED_SINCE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.9, RFC 2616 (HTTP/1.1) Section 14.25
- IF_NONE_MATCH - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.26
- IF_RANGE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.27
- IF_UNMODIFIED_SINCE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.28
- ifFailure(Class<? extends E>, Consumer<HttpResponse<E>>) - Method in class kong.unirest.core.BaseResponse
- ifFailure(Class<? extends E>, Consumer<HttpResponse<E>>) - Method in class kong.unirest.core.FailedResponse
- ifFailure(Class<? extends E>, Consumer<HttpResponse<E>>) - Method in interface kong.unirest.core.HttpResponse
-
If the response was NOT a 200-series response or a mapping exception happened.
- ifFailure(Consumer<HttpResponse<T>>) - Method in class kong.unirest.core.BaseResponse
- ifFailure(Consumer<HttpResponse<T>>) - Method in class kong.unirest.core.FailedResponse
- ifFailure(Consumer<HttpResponse<T>>) - Method in interface kong.unirest.core.HttpResponse
-
If the response was NOT a 200-series response or a mapping exception happened.
- ifFailure(Consumer<HttpResponse<T>>) - Method in class kong.unirest.core.PagedList
-
For each failed response if the response was NOT a 200-series response or a mapping exception happened.
- ifSuccess(Consumer<HttpResponse<T>>) - Method in class kong.unirest.core.BaseResponse
- ifSuccess(Consumer<HttpResponse<T>>) - Method in class kong.unirest.core.FailedResponse
- ifSuccess(Consumer<HttpResponse<T>>) - Method in interface kong.unirest.core.HttpResponse
-
If the response was a 200-series response.
- ifSuccess(Consumer<HttpResponse<T>>) - Method in class kong.unirest.core.PagedList
-
For each successful response If the response was a 200-series response.
- IGNORE_COOKIES - Static variable in class kong.unirest.core.CookieSpecs
-
The policy that ignores cookies.
- IM_A_TEAPOT - Static variable in class kong.unirest.core.HttpStatus
- IM_USED - Static variable in class kong.unirest.core.HttpStatus
- IMAGE_BMP - Static variable in class kong.unirest.core.ContentType
- IMAGE_GIF - Static variable in class kong.unirest.core.ContentType
- IMAGE_JPEG - Static variable in class kong.unirest.core.ContentType
- IMAGE_PNG - Static variable in class kong.unirest.core.ContentType
- IMAGE_SVG - Static variable in class kong.unirest.core.ContentType
- IMAGE_TIFF - Static variable in class kong.unirest.core.ContentType
- IMAGE_WEBP - Static variable in class kong.unirest.core.ContentType
- in - Variable in class kong.unirest.core.java.MonitoringInputStream
- increment(String) - Method in class kong.unirest.core.json.JSONObject
-
increments a numeric value by 1, or creates it with a value of 1 if it does not exist.
- init(SocketSet) - Method in class kong.unirest.core.MockWebSocket
- initialize(Upstream) - Method in class kong.unirest.core.java.Prefetcher
- InputStreamBody - Class in kong.unirest.core
- InputStreamBody(InputStream) - Constructor for class kong.unirest.core.InputStreamBody
- InputStreamPart - Class in kong.unirest.core
- InputStreamPart(String, InputStream, String) - Constructor for class kong.unirest.core.InputStreamPart
- InputStreamPart(String, InputStream, String, String) - Constructor for class kong.unirest.core.InputStreamPart
- instrumentWith(UniMetric) - Method in class kong.unirest.core.Config
-
Add a metric object for instrumentation
- INSUFFICIENT_STORAGE - Static variable in class kong.unirest.core.HttpStatus
- interceptor - Variable in class kong.unirest.core.Config
- interceptor(Interceptor) - Method in class kong.unirest.core.Config
-
Add a Interceptor which will be called before and after the request;
- Interceptor - Interface in kong.unirest.core
-
Each configuration of Unirest has an interceptor.
- interceptors - Variable in class kong.unirest.core.CompoundInterceptor
- INTERNAL_SERVER_ERROR - Static variable in class kong.unirest.core.HttpStatus
- Invocation - Class in kong.unirest.core
- Invocation() - Constructor for class kong.unirest.core.Invocation
- Invocation(Routes) - Constructor for class kong.unirest.core.Invocation
- Invocation(Routes, HttpRequest) - Constructor for class kong.unirest.core.Invocation
- Invocation(Routes, Invocation) - Constructor for class kong.unirest.core.Invocation
- invokes - Variable in class kong.unirest.core.Routes
- isArray() - Method in class kong.unirest.core.JsonNode
- isAuthenticated() - Method in class kong.unirest.core.Proxy
- isAutomaticRetryAfter() - Method in class kong.unirest.core.Config
- isBinary - Variable in class kong.unirest.core.ContentType
- isBinary() - Method in class kong.unirest.core.ContentType
- isBinary(String) - Static method in class kong.unirest.core.ContentType
- isBoolean() - Method in interface kong.unirest.core.json.JsonEngine.Primitive
- isBoolean() - Method in class kong.unirest.gson.GsonNull
- isBoolean() - Method in class kong.unirest.gson.GsonPrimitive
- isBoolean() - Method in class kong.unirest.jackson.JacksonPrimitive
- isCancelled() - Method in class kong.unirest.core.java.MultipartSubscription
-
Returns
true
if cancelled. - isEmpty() - Method in class kong.unirest.core.json.JSONArray
-
returns if the array is empty
- isEmpty() - Method in class kong.unirest.core.json.JSONObject
- isEntityBody() - Method in interface kong.unirest.core.Body
- isEntityBody() - Method in class kong.unirest.core.HttpRequestJsonPatch
- isEntityBody() - Method in class kong.unirest.core.HttpRequestMultiPart
- isEntityBody() - Method in class kong.unirest.core.HttpRequestUniBody
- isEntityBody() - Method in class kong.unirest.core.TestBody
- isExpected() - Method in class kong.unirest.core.Invocation
- isFile() - Method in class kong.unirest.core.BodyPart
- isFile() - Method in class kong.unirest.core.ByteArrayPart
- isFile() - Method in class kong.unirest.core.FilePart
- isFile() - Method in class kong.unirest.core.InputStreamBody
- isFile() - Method in class kong.unirest.core.InputStreamPart
- isFile() - Method in class kong.unirest.core.ParamPart
- isFile() - Method in class kong.unirest.core.UnibodyString
- isFile() - Method in class kong.unirest.core.UniByteArrayBody
- isGzipped(String) - Static method in class kong.unirest.core.ByteResponse
- isGzipped(String) - Static method in class kong.unirest.core.java.JavaResponse
- isHttpOnly() - Method in class kong.unirest.core.Cookie
-
Per Wikipedia: The HttpOnly attribute directs browsers not to expose cookies through channels other than HTTP (and HTTPS) requests.
- isInputClosed() - Method in class kong.unirest.core.MockWebSocket
- isJsonArray() - Method in interface kong.unirest.core.json.JsonEngine.Element
- isJsonArray() - Method in class kong.unirest.gson.GsonElement
- isJsonArray() - Method in class kong.unirest.jackson.JacksonElement
- isJsonNull() - Method in interface kong.unirest.core.json.JsonEngine.Element
- isJsonNull() - Method in class kong.unirest.gson.GsonElement
- isJsonNull() - Method in class kong.unirest.jackson.JacksonElement
- isJsonObject() - Method in interface kong.unirest.core.json.JsonEngine.Element
- isJsonObject() - Method in class kong.unirest.gson.GsonElement
- isJsonObject() - Method in class kong.unirest.jackson.JacksonElement
- isJsonPrimitive() - Method in interface kong.unirest.core.json.JsonEngine.Element
- isJsonPrimitive() - Method in class kong.unirest.gson.GsonElement
- isJsonPrimitive() - Method in class kong.unirest.jackson.JacksonElement
- isMultiPart() - Method in interface kong.unirest.core.Body
- isMultiPart() - Method in class kong.unirest.core.HttpRequestJsonPatch
- isMultiPart() - Method in class kong.unirest.core.HttpRequestMultiPart
- isMultiPart() - Method in class kong.unirest.core.HttpRequestUniBody
- isMultiPart() - Method in class kong.unirest.core.TestBody
- isName(Header, String) - Method in class kong.unirest.core.Headers
- isNull(int) - Method in class kong.unirest.core.json.JSONArray
-
Indicates if the index does not exist or it's contents are null
- isNull(String) - Method in class kong.unirest.core.json.JSONObject
-
indicate if the key does not exist or its value is null
- isNullOrEmpty(String) - Static method in class kong.unirest.core.Util
- isNumber() - Method in interface kong.unirest.core.json.JsonEngine.Primitive
- isNumber() - Method in class kong.unirest.gson.GsonNull
- isNumber() - Method in class kong.unirest.gson.GsonPrimitive
- isNumber() - Method in class kong.unirest.jackson.JacksonPrimitive
- ISO_8601 - Static variable in class kong.unirest.gson.GsonObjectMapper
- isOutputClosed() - Method in class kong.unirest.core.MockWebSocket
- isPrimitive(Object) - Static method in class kong.unirest.core.json.JSONObject
- isRequestCompressionOn() - Method in class kong.unirest.core.Config
- isRetryable(HttpResponse) - Method in class kong.unirest.core.RetryStrategy.Standard
- isRetryable(HttpResponse<?>) - Method in interface kong.unirest.core.RetryStrategy
-
Checks to see if the response is retryable
- isRunning() - Method in class kong.unirest.core.Config
-
Does the config have currently running clients? Find out here.
- isSecure() - Method in class kong.unirest.core.Cookie
-
Per Wikipedia: The Secure attribute is meant to keep cookie communication limited to encrypted transmission, directing browsers to use cookies only via secure/encrypted connections.
- isSuccess - Variable in class kong.unirest.core.MatchStatus
- isSuccess() - Method in class kong.unirest.core.BaseResponse
- isSuccess() - Method in class kong.unirest.core.FailedResponse
-
is this a success? Obvs no!
- isSuccess() - Method in interface kong.unirest.core.HttpResponse
- isSuccess() - Method in class kong.unirest.core.MatchStatus
- isSuccess() - Method in class kong.unirest.core.Times.EvaluationResult
- isVerifySsl() - Method in class kong.unirest.core.Config
-
Will unirest verify the SSL? You should only do this in non-prod environments.
- items - Variable in class kong.unirest.core.HttpRequestJsonPatch
- items - Variable in class kong.unirest.core.JsonPatch
- iterator() - Method in class kong.unirest.core.json.JSONArray
J
- JacksonArray - Class in kong.unirest.jackson
- JacksonArray(ArrayNode) - Constructor for class kong.unirest.jackson.JacksonArray
- JacksonElement<T extends com.fasterxml.jackson.databind.JsonNode> - Class in kong.unirest.jackson
- JacksonElement(T) - Constructor for class kong.unirest.jackson.JacksonElement
- JacksonEngine - Class in kong.unirest.jackson
- JacksonEngine() - Constructor for class kong.unirest.jackson.JacksonEngine
- JacksonEngine.ValueSupplier<V> - Interface in kong.unirest.jackson
- JacksonObject - Class in kong.unirest.jackson
- JacksonObject(ObjectNode) - Constructor for class kong.unirest.jackson.JacksonObject
- JacksonObjectMapper - Class in kong.unirest.jackson
- JacksonObjectMapper() - Constructor for class kong.unirest.jackson.JacksonObjectMapper
- JacksonObjectMapper(ObjectMapper) - Constructor for class kong.unirest.jackson.JacksonObjectMapper
- JacksonObjectMapper(Consumer<ObjectMapper>) - Constructor for class kong.unirest.jackson.JacksonObjectMapper
-
Pass in any additional ObjectMapper configurations you want
- JacksonPrimitive - Class in kong.unirest.jackson
- JacksonPrimitive(ValueNode) - Constructor for class kong.unirest.jackson.JacksonPrimitive
- JAR - Static variable in class kong.unirest.core.MimeTypes
- JavaClient - Class in kong.unirest.core.java
- JavaClient(Config) - Constructor for class kong.unirest.core.java.JavaClient
- JavaClient(Config, HttpClient) - Constructor for class kong.unirest.core.java.JavaClient
- JavaClientBuilder - Class in kong.unirest.core.java
- JavaClientBuilder() - Constructor for class kong.unirest.core.java.JavaClientBuilder
- JavaResponse - Class in kong.unirest.core.java
- JavaResponse(HttpResponse<InputStream>, Config, HttpRequestSummary) - Constructor for class kong.unirest.core.java.JavaResponse
- JavaTypeAdapter() - Constructor for class kong.unirest.gson.GsonEngine.JavaTypeAdapter
- JDK_HTTPCLIENT_KEEPALIVE_TIMEOUT - Static variable in class kong.unirest.core.Config
- join(String) - Method in class kong.unirest.core.json.JSONArray
-
return the array as a string delimited by a specific token
- join(String) - Method in interface kong.unirest.core.json.JsonEngine.Array
- join(String) - Method in class kong.unirest.gson.GsonArray
- join(String) - Method in class kong.unirest.jackson.JacksonArray
- JPG - Static variable in class kong.unirest.core.MimeTypes
- JS - Static variable in class kong.unirest.core.MimeTypes
- JSON - Static variable in class kong.unirest.core.MimeTypes
- jsonArray - Variable in class kong.unirest.core.JsonNode
- JSONArray - Class in kong.unirest.core.json
-
https://json.org/ https://tools.ietf.org/html/rfc7159#section-4 Represents a JSON Array
- JSONArray() - Constructor for class kong.unirest.core.json.JSONArray
-
construct a empty JSONArray
- JSONArray(Object) - Constructor for class kong.unirest.core.json.JSONArray
-
Construct a JSONArray from a typed array (int[]).
- JSONArray(String) - Constructor for class kong.unirest.core.json.JSONArray
-
construct a JSONArray from a String
- JSONArray(Collection<?>) - Constructor for class kong.unirest.core.json.JSONArray
-
Construct a JSONArray from a collection.
- JSONArray(JsonEngine.Array) - Constructor for class kong.unirest.core.json.JSONArray
- JSONArray(JsonEngine.Element) - Constructor for class kong.unirest.core.json.JSONArray
- JSONElement - Class in kong.unirest.core.json
- JSONElement(JsonEngine.Element) - Constructor for class kong.unirest.core.json.JSONElement
- JsonEngine - Interface in kong.unirest.core.json
- JsonEngine.Array - Interface in kong.unirest.core.json
- JsonEngine.Element - Interface in kong.unirest.core.json
- JsonEngine.Object - Interface in kong.unirest.core.json
- JsonEngine.Primitive - Interface in kong.unirest.core.json
- JSONException - Exception in kong.unirest.core.json
- JSONException(Exception) - Constructor for exception kong.unirest.core.json.JSONException
- JSONException(String) - Constructor for exception kong.unirest.core.json.JSONException
- JSONException(String, Object...) - Constructor for exception kong.unirest.core.json.JSONException
- JsonNode - Class in kong.unirest.core
- JsonNode(String) - Constructor for class kong.unirest.core.JsonNode
- jsonObject - Variable in class kong.unirest.core.JsonNode
- JSONObject - Class in kong.unirest.core.json
-
https://json.org/ https://tools.ietf.org/html/rfc7159#section-4 represents a JSON Object
- JSONObject() - Constructor for class kong.unirest.core.json.JSONObject
-
an empty JSON object
- JSONObject(Object) - Constructor for class kong.unirest.core.json.JSONObject
-
construct using an object.
- JSONObject(String) - Constructor for class kong.unirest.core.json.JSONObject
-
https://tools.ietf.org/html/rfc7159#section-4
- JSONObject(Map<String, Object>) - Constructor for class kong.unirest.core.json.JSONObject
-
construct using a map
- JSONObject(JsonEngine.Element) - Constructor for class kong.unirest.core.json.JSONObject
- jsonPatch(String) - Static method in class kong.unirest.core.Unirest
-
Start a PATCH HttpRequest which supports a JSON Patch builder.
- jsonPatch(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a PATCH HttpRequest which supports a JSON Patch builder.
- JsonPatch - Class in kong.unirest.core
- JsonPatch() - Constructor for class kong.unirest.core.JsonPatch
- JsonPatch(String) - Constructor for class kong.unirest.core.JsonPatch
- JsonPatchItem - Class in kong.unirest.core
- JsonPatchItem(JSONObject) - Constructor for class kong.unirest.core.JsonPatchItem
- JsonPatchItem(JsonPatchOperation, String) - Constructor for class kong.unirest.core.JsonPatchItem
- JsonPatchItem(JsonPatchOperation, String, Object) - Constructor for class kong.unirest.core.JsonPatchItem
- JsonPatchOperation - Enum in kong.unirest.core
- JsonPatchOperation(String) - Constructor for enum kong.unirest.core.JsonPatchOperation
- JsonPatchRequest - Interface in kong.unirest.core
- JSONPointer - Class in kong.unirest.core.json
-
A Json Pointer query object following https://tools.ietf.org/html/rfc6901
- JSONPointer() - Constructor for class kong.unirest.core.json.JSONPointer
- JSONPointer(String) - Constructor for class kong.unirest.core.json.JSONPointer
-
a JSONPointer constructor
- JSONPointer(String, JSONPointer) - Constructor for class kong.unirest.core.json.JSONPointer
- JSONPointer.Builder - Class in kong.unirest.core.json
- JSONPointer.Queryable<T> - Interface in kong.unirest.core.json
- JSONPointer.QueryArray - Class in kong.unirest.core.json
- JSONPointer.QueryObject - Class in kong.unirest.core.json
- JSONPointerException - Exception in kong.unirest.core.json
- JSONPointerException(String, Object...) - Constructor for exception kong.unirest.core.json.JSONPointerException
- JsonResponse - Class in kong.unirest.core
- JsonResponse(RawResponse) - Constructor for class kong.unirest.core.JsonResponse
K
- KEEP_ALIVE - Static variable in class kong.unirest.core.java.MultipartSubscription
- key - Variable in class kong.unirest.core.Cookie.Pair
- key - Variable in class kong.unirest.core.QueryParams.NameValuePair
- keyGen - Variable in class kong.unirest.core.Cache.Builder
- keyGen - Variable in class kong.unirest.core.CacheManager
- keyManagers - Variable in class kong.unirest.core.java.SSLContextBuilder
- keys() - Method in class kong.unirest.core.json.JSONObject
-
get a iterator for the keyset
- keySet() - Method in interface kong.unirest.core.json.JsonEngine.Object
- keySet() - Method in class kong.unirest.core.json.JSONObject
-
get all the keys as a set
- keySet() - Method in class kong.unirest.gson.GsonObject
- keySet() - Method in class kong.unirest.jackson.JacksonObject
- keystore - Variable in class kong.unirest.core.Config
- keystorePassword - Variable in class kong.unirest.core.Config
- kong.unirest.core - package kong.unirest.core
- kong.unirest.core.java - package kong.unirest.core.java
- kong.unirest.core.json - package kong.unirest.core.json
- kong.unirest.gson - package kong.unirest.gson
- kong.unirest.jackson - package kong.unirest.jackson
L
- last - Variable in class kong.unirest.core.MockListener.Message
- LAST - kong.unirest.core.java.BoundaryAppender
- LAST_MODIFIED - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.10, RFC 2616 (HTTP/1.1) Section 14.29
- Lax - kong.unirest.core.Cookie.SameSite
- length() - Method in class kong.unirest.core.json.JSONArray
- length() - Method in class kong.unirest.core.json.JSONObject
- LENGTH_REQUIRED - Static variable in class kong.unirest.core.HttpStatus
- listener - Variable in class kong.unirest.core.SocketSet
- listener - Variable in class kong.unirest.core.WebSocketResponse
- listener() - Method in class kong.unirest.core.WebSocketResponse
- loadKeyMaterial(KeyStore, char[]) - Method in class kong.unirest.core.java.SSLContextBuilder
- LocalDateAdapter() - Constructor for class kong.unirest.gson.GsonObjectMapper.LocalDateAdapter
- LocalDateTimeAdapter() - Constructor for class kong.unirest.gson.GsonObjectMapper.LocalDateTimeAdapter
- LOCATION - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.11, RFC 2616 (HTTP/1.1) Section 14.30
- LOCK_TOKEN - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.5
- LOCKED - Static variable in class kong.unirest.core.HttpStatus
- log(HttpRequest) - Method in class kong.unirest.core.Invocation
- LOOP_DETECTED - Static variable in class kong.unirest.core.HttpStatus
M
- map(Function<T, V>) - Method in class kong.unirest.core.BaseResponse
- map(Function<T, V>) - Method in class kong.unirest.core.FailedResponse
- map(Function<T, V>) - Method in interface kong.unirest.core.HttpResponse
-
Map the Response into another response with a different body
- mapBody(Function<T, V>) - Method in class kong.unirest.core.BaseResponse
- mapBody(Function<T, V>) - Method in class kong.unirest.core.FailedResponse
- mapBody(Function<T, V>) - Method in interface kong.unirest.core.HttpResponse
-
Map the body into another type
- mapError(Class<? extends E>) - Method in class kong.unirest.core.BaseResponse
- mapError(Class<? extends E>) - Method in class kong.unirest.core.FailedResponse
-
Map the body to an error object, however because the body in this case is always null this will always return null
- mapError(Class<? extends E>) - Method in interface kong.unirest.core.HttpResponse
-
Map the body into a error class if the response was NOT a 200-series response or a mapping exception happened.
- mapOf(Object...) - Static method in class kong.unirest.core.FieldMatcher
- MAPPER - Static variable in class kong.unirest.core.json.JSONElement
- mappers - Static variable in class kong.unirest.core.json.ToObjectMapper
- mapPrimative(JsonEngine.Primitive) - Static method in class kong.unirest.core.json.ToObjectMapper
- mapToMultipart(Body) - Method in class kong.unirest.core.java.BodyBuilder
- mapToUniBody(Body) - Method in class kong.unirest.core.java.BodyBuilder
- mark(int) - Method in class kong.unirest.core.java.MonitoringInputStream
- mark(int) - Method in class kong.unirest.core.MonitoringInputStream
- markSupported() - Method in class kong.unirest.core.java.MonitoringInputStream
- markSupported() - Method in class kong.unirest.core.MonitoringInputStream
- matchBody(Body) - Method in class kong.unirest.core.Invocation
- Matchers - Class in kong.unirest.core
-
Static set of Matchers
- Matchers() - Constructor for class kong.unirest.core.Matchers
- matches(int) - Method in class kong.unirest.core.Times.AtLeast
- matches(int) - Method in class kong.unirest.core.Times.AtMost
- matches(int) - Method in class kong.unirest.core.Times.Exactly
- matches(int) - Method in class kong.unirest.core.Times
- matches(List<String>) - Method in interface kong.unirest.core.BodyMatcher
-
indicates if the Matcher succeeded in matching the body
- matches(List<String>) - Method in class kong.unirest.core.EqualsBodyMatcher
- matches(List<String>) - Method in class kong.unirest.core.FieldMatcher
- matches(HttpMethod, Path) - Method in class kong.unirest.core.Routes
- matches(HttpRequest) - Method in class kong.unirest.core.Routes
- MatchStatus - Class in kong.unirest.core
-
Indicates a successful match and a description of the failure (if any)
- MatchStatus(boolean, String) - Constructor for class kong.unirest.core.MatchStatus
-
Contruct a Match status
- MAX_FORWARDS - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.31
- maxAge - Variable in class kong.unirest.core.Cookie
- maxAge(long, TimeUnit) - Method in class kong.unirest.core.Cache.Builder
-
Sets a Time-To-Live for response objects.
- maxAttempts - Variable in class kong.unirest.core.RetryStrategy.Standard
- maxRetries() - Method in class kong.unirest.core.Config
- maxSize - Variable in class kong.unirest.core.CacheManager.CacheMap
- mediaType - Variable in class kong.unirest.core.java.PartPublisher
- mediaType() - Method in class kong.unirest.core.java.PartPublisher
- message - Variable in class kong.unirest.core.Times.EvaluationResult
- Message(Object, boolean) - Constructor for class kong.unirest.core.MockListener.Message
- messagesReceived - Variable in class kong.unirest.core.MockListener
- method - Variable in class kong.unirest.core.BaseRequest
- method - Variable in class kong.unirest.core.Routes
- method - Variable in class kong.unirest.core.WebSocketRequestImpl
- METHOD_NOT_ALLOWED - Static variable in class kong.unirest.core.HttpStatus
- MetricContext - Interface in kong.unirest.core
-
A metric context for the current request
- metrics - Variable in class kong.unirest.core.Config
- MIDDLE - kong.unirest.core.java.BoundaryAppender
- MIDI - Static variable in class kong.unirest.core.MimeTypes
- mimeType - Variable in class kong.unirest.core.ContentType
- MimeTypes - Class in kong.unirest.core
-
A non-exclusive list of the most popular mime content types
- MimeTypes() - Constructor for class kong.unirest.core.MimeTypes
- MISDIRECTED_REQUEST - Static variable in class kong.unirest.core.HttpStatus
- MJS - Static variable in class kong.unirest.core.MimeTypes
- MockClient - Class in kong.unirest.core
-
A Mock client for unirest to make requests against This implements both sync and async clients
- MockClient(Supplier<Config>) - Constructor for class kong.unirest.core.MockClient
- mockConfig - Variable in class kong.unirest.core.MockResponse
- MockConfig - Class in kong.unirest.core
-
A Mock Config that will not actually start up any real clients.
- MockConfig() - Constructor for class kong.unirest.core.MockConfig
- MockListener - Class in kong.unirest.core
-
A Mock WebSocket.Lister that records messages and has custom asserts.
- MockListener() - Constructor for class kong.unirest.core.MockListener
- MockListener.Message - Class in kong.unirest.core
- MockRawResponse - Class in kong.unirest.core
- MockRawResponse(String, Headers, int, String, Config, HttpRequestSummary) - Constructor for class kong.unirest.core.MockRawResponse
- MockResponse<T> - Class in kong.unirest.core
-
A Mock Response that can be used in testing.
- MockResponse(int, String, T) - Constructor for class kong.unirest.core.MockResponse
-
Construct a mock Response
- MockResponse(int, String, T, MockConfig) - Constructor for class kong.unirest.core.MockResponse
-
Construct a mock Response
- MockWebSocket - Class in kong.unirest.core
-
A Mock of a websocket that sends messages directly to a single listener on the other side
- MockWebSocket() - Constructor for class kong.unirest.core.MockWebSocket
- mode - Variable in class kong.unirest.core.HttpRequestMultiPart
- mode(MultipartMode) - Method in class kong.unirest.core.HttpRequestMultiPart
- mode(MultipartMode) - Method in interface kong.unirest.core.MultipartBody
-
Set the Apache Mode.
- monitor - Variable in class kong.unirest.core.HttpRequestMultiPart
- monitor - Variable in class kong.unirest.core.HttpRequestUniBody
- monitor - Variable in class kong.unirest.core.java.MonitoringInputStream
- monitor - Variable in class kong.unirest.core.java.MultipartBodyPublisher
- monitor - Variable in class kong.unirest.core.java.MultipartSubscription
- monitor - Variable in class kong.unirest.core.java.PartSubscriber
- monitor(int) - Method in class kong.unirest.core.MonitoringInputStream
- MonitoringInputStream - Class in kong.unirest.core.java
- MonitoringInputStream - Class in kong.unirest.core
- MonitoringInputStream(InputStream, ProgressMonitor) - Constructor for class kong.unirest.core.java.MonitoringInputStream
- MonitoringInputStream(InputStream, ProgressMonitor, String, RawResponse) - Constructor for class kong.unirest.core.MonitoringInputStream
- MonitoringInputStream(InputStream, ProgressMonitor, Path, RawResponse) - Constructor for class kong.unirest.core.MonitoringInputStream
- move - kong.unirest.core.JsonPatchOperation
- move(String, String) - Method in class kong.unirest.core.HttpRequestJsonPatch
- move(String, String) - Method in class kong.unirest.core.JsonPatch
- move(String, String) - Method in interface kong.unirest.core.JsonPatchRequest
- MOVED_PERMANENTLY - Static variable in class kong.unirest.core.HttpStatus
- MP3 - Static variable in class kong.unirest.core.MimeTypes
- MPEG - Static variable in class kong.unirest.core.MimeTypes
- MULTI_STATUS - Static variable in class kong.unirest.core.HttpStatus
- MULTIPART_FORM_DATA - Static variable in class kong.unirest.core.ContentType
- MultipartBody - Interface in kong.unirest.core
-
Represents a multi-part body builder for a request.
- MultipartBodyPublisher - Class in kong.unirest.core.java
-
A
BodyPublisher
implementing the multipart request type. - MultipartBodyPublisher(List<Part>, ProgressMonitor) - Constructor for class kong.unirest.core.java.MultipartBodyPublisher
- MultipartBodyPublisher.Builder - Class in kong.unirest.core.java
- multiPartContent() - Method in class kong.unirest.core.HttpRequestBody
- multiPartContent() - Method in interface kong.unirest.core.HttpRequestWithBody
-
Forces the request to send as multipart even if all params are simple
- MultipartMode - Enum in kong.unirest.core
- MultipartMode() - Constructor for enum kong.unirest.core.MultipartMode
- multiParts() - Method in interface kong.unirest.core.Body
- multiParts() - Method in class kong.unirest.core.HttpRequestMultiPart
- multiParts() - Method in class kong.unirest.core.TestBody
- MultipartSubscription - Class in kong.unirest.core.java
- MultipartSubscription(String, List<Part>, ProgressMonitor, Flow.Subscriber<? super ByteBuffer>) - Constructor for class kong.unirest.core.java.MultipartSubscription
- MULTIPLE_CHOICE - Static variable in class kong.unirest.core.HttpStatus
N
- name - Variable in class kong.unirest.core.BodyPart
- name - Variable in class kong.unirest.core.Cookie
- name - Variable in class kong.unirest.core.Headers.Entry
- name - Variable in class kong.unirest.core.HttpMethod
- name - Variable in class kong.unirest.core.SocketSet
- name() - Method in class kong.unirest.core.HttpMethod
- names() - Method in class kong.unirest.core.json.JSONObject
-
get the key names as a JSONArray
- NameValuePair(String, String) - Constructor for class kong.unirest.core.QueryParams.NameValuePair
- NETSCAPE - Static variable in class kong.unirest.core.CookieSpecs
-
The Netscape cookie draft compliant policy.
- NETWORK_AUTHENTICATION_REQUIRED - Static variable in class kong.unirest.core.HttpStatus
- never() - Static method in class kong.unirest.core.Times
- NeverUseInProdTrustManager - Class in kong.unirest.core.java
- NeverUseInProdTrustManager() - Constructor for class kong.unirest.core.java.NeverUseInProdTrustManager
- newBuilder() - Static method in class kong.unirest.core.java.MultipartBodyPublisher
-
Returns a new
MultipartBodyPublisher.Builder
. - newEngineArray() - Method in interface kong.unirest.core.json.JsonEngine
- newEngineArray() - Method in class kong.unirest.gson.GsonEngine
- newEngineArray() - Method in class kong.unirest.jackson.JacksonEngine
- newEngineObject() - Method in interface kong.unirest.core.json.JsonEngine
- newEngineObject() - Method in class kong.unirest.gson.GsonEngine
- newEngineObject() - Method in class kong.unirest.jackson.JacksonEngine
- newEngineObject(String) - Method in interface kong.unirest.core.json.JsonEngine
- newEngineObject(String) - Method in class kong.unirest.gson.GsonEngine
- newEngineObject(String) - Method in class kong.unirest.jackson.JacksonEngine
- newExpectation() - Method in class kong.unirest.core.Routes
- newJsonArray(String) - Method in interface kong.unirest.core.json.JsonEngine
- newJsonArray(String) - Method in class kong.unirest.gson.GsonEngine
- newJsonArray(String) - Method in class kong.unirest.jackson.JacksonEngine
- newJsonArray(Collection<?>) - Method in interface kong.unirest.core.json.JsonEngine
- newJsonArray(Collection<?>) - Method in class kong.unirest.gson.GsonEngine
- newJsonArray(Collection<?>) - Method in class kong.unirest.jackson.JacksonEngine
- newJsonPrimitive(Boolean) - Method in interface kong.unirest.core.json.JsonEngine
- newJsonPrimitive(Boolean) - Method in class kong.unirest.gson.GsonEngine
- newJsonPrimitive(Boolean) - Method in class kong.unirest.jackson.JacksonEngine
- newJsonPrimitive(Number) - Method in interface kong.unirest.core.json.JsonEngine
- newJsonPrimitive(Number) - Method in class kong.unirest.gson.GsonEngine
- newJsonPrimitive(Number) - Method in class kong.unirest.jackson.JacksonEngine
- newJsonPrimitive(String) - Method in interface kong.unirest.core.json.JsonEngine
- newJsonPrimitive(String) - Method in class kong.unirest.gson.GsonEngine
- newJsonPrimitive(String) - Method in class kong.unirest.jackson.JacksonEngine
- newJsonPrimitive(T) - Method in interface kong.unirest.core.json.JsonEngine
- newJsonPrimitive(T) - Method in class kong.unirest.gson.GsonEngine
- newJsonPrimitive(T) - Method in class kong.unirest.jackson.JacksonEngine
- next - Variable in class kong.unirest.core.json.JSONPointer
- nextPartHeaders() - Method in class kong.unirest.core.java.MultipartSubscription
- NO_CONTENT - Static variable in class kong.unirest.core.HttpStatus
- noCharset() - Method in interface kong.unirest.core.HttpRequestWithBody
-
Removes any Charset for the Content-Type for when servers cannot process it.
- noCharset() - Method in interface kong.unirest.core.RequestBodyEntity
-
Removes any Charset for the Content-Type for when servers cannot process it.
- node - Variable in class kong.unirest.core.JsonResponse
- NON_AUTHORITATIVE_INFORMATION - Static variable in class kong.unirest.core.HttpStatus
- None - kong.unirest.core.Cookie.SameSite
- NOOP_SUBSCRIPTION - Static variable in class kong.unirest.core.java.Upstream
- NoopMetric - Class in kong.unirest.core
- NoopMetric() - Constructor for class kong.unirest.core.NoopMetric
- NOT_ACCEPTABLE - Static variable in class kong.unirest.core.HttpStatus
- NOT_EXTENDED - Static variable in class kong.unirest.core.HttpStatus
- NOT_FOUND - Static variable in class kong.unirest.core.HttpStatus
- NOT_IMPLEMENTED - Static variable in class kong.unirest.core.HttpStatus
- NOT_MODIFIED - Static variable in class kong.unirest.core.HttpStatus
- now() - Static method in class kong.unirest.core.Util
- NULL - Static variable in class kong.unirest.core.json.JSONObject
- NullObject - Class in kong.unirest.core.json
- NullObject() - Constructor for class kong.unirest.core.json.NullObject
- nullToEmpty(Object) - Static method in class kong.unirest.core.Util
- numberToString(Number) - Static method in class kong.unirest.core.json.JSONObject
-
Convert a number to a string
O
- obj - Variable in class kong.unirest.core.json.JSONArray
- obj - Variable in class kong.unirest.core.json.JSONObject
- obj - Variable in class kong.unirest.core.json.JSONPointer.QueryObject
- objectMapper - Variable in class kong.unirest.core.BaseRequest
- objectMapper - Variable in class kong.unirest.core.Config
- objectMapper - Variable in class kong.unirest.core.WebSocketRequestImpl
- ObjectMapper - Interface in kong.unirest.core
-
Interface for object mappers that can transform response bodies to other structures.
- ObjectResponse<T> - Class in kong.unirest.core
- ObjectResponse(ObjectMapper, RawResponse, Class<? extends T>) - Constructor for class kong.unirest.core.ObjectResponse
- ObjectResponse(ObjectMapper, RawResponse, GenericType<? extends T>) - Constructor for class kong.unirest.core.ObjectResponse
- objm - Variable in class kong.unirest.jackson.JacksonEngine
- of(int) - Static method in interface kong.unirest.core.ExpectedResponse
-
Create a independent expected response.
- of(int, String, T) - Static method in class kong.unirest.core.MockResponse
-
Construct a response with a status and body.
- of(int, T) - Static method in class kong.unirest.core.MockResponse
-
Construct a response with a status and body.
- of(String...) - Static method in class kong.unirest.core.FieldMatcher
-
Creates a FieldMatcher expecting a map of keys and values use like: FieldMatcher.of("fruit", "orange", "quantity" "42")
- OGG - Static variable in class kong.unirest.core.MimeTypes
- ok(T) - Static method in class kong.unirest.core.MockResponse
-
Construct a simple successful (200 ok) response with a body
- OK - Static variable in class kong.unirest.core.HttpStatus
- om - Variable in class kong.unirest.core.ObjectResponse
- om - Variable in class kong.unirest.jackson.JacksonEngine
- om - Variable in class kong.unirest.jackson.JacksonObjectMapper
- onBinary(WebSocket, ByteBuffer, boolean) - Method in class kong.unirest.core.MockListener
- onClose(WebSocket, int, String) - Method in class kong.unirest.core.MockListener
- onComplete() - Method in class kong.unirest.core.java.PartSubscriber
- onError(Throwable) - Method in class kong.unirest.core.java.PartSubscriber
- onError(WebSocket, Throwable) - Method in class kong.unirest.core.MockListener
- onFail(Exception, HttpRequestSummary, Config) - Method in class kong.unirest.core.CompoundInterceptor
- onFail(Exception, HttpRequestSummary, Config) - Method in class kong.unirest.core.DefaultInterceptor
- onFail(Exception, HttpRequestSummary, Config) - Method in interface kong.unirest.core.Interceptor
-
Called in the case of a total failure.
- onNext(ByteBuffer) - Method in class kong.unirest.core.java.PartSubscriber
- onOpen(WebSocket) - Method in class kong.unirest.core.MockListener
- onPing(WebSocket, ByteBuffer) - Method in class kong.unirest.core.MockListener
- onPong(WebSocket, ByteBuffer) - Method in class kong.unirest.core.MockListener
- onRequest(HttpRequest<?>, Config) - Method in class kong.unirest.core.CompoundInterceptor
- onRequest(HttpRequest<?>, Config) - Method in interface kong.unirest.core.Interceptor
-
Called just before a request.
- onResponse(HttpResponse<?>, HttpRequestSummary, Config) - Method in class kong.unirest.core.CompoundInterceptor
- onResponse(HttpResponse<?>, HttpRequestSummary, Config) - Method in class kong.unirest.core.DefaultInterceptor
- onResponse(HttpResponse<?>, HttpRequestSummary, Config) - Method in interface kong.unirest.core.Interceptor
-
Called just after the request.
- onSubscribe(Flow.Subscription) - Method in class kong.unirest.core.java.PartSubscriber
- onText(WebSocket, CharSequence, boolean) - Method in class kong.unirest.core.MockListener
- op - Variable in class kong.unirest.core.JsonPatchItem
- open - Variable in class kong.unirest.core.MockListener
- open() - Method in class kong.unirest.core.SocketSet
- operationtype - Variable in enum kong.unirest.core.JsonPatchOperation
- opt(int) - Method in class kong.unirest.core.json.JSONArray
-
get the element at the index
- opt(String) - Method in class kong.unirest.core.json.JSONObject
-
optionally return the object or null if it doesn't exist
- optBigDecimal(int, BigDecimal) - Method in class kong.unirest.core.json.JSONArray
-
get a BigDecimal at a specified index, or a default value if the value does not exist or is not a BigDecimal
- optBigDecimal(String, BigDecimal) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a BigDecimal or default value
- optBigInteger(int, BigInteger) - Method in class kong.unirest.core.json.JSONArray
-
get a BigInteger at a specified index, or a default value if the value does not exist or is not a BigInteger
- optBigInteger(String, BigInteger) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a BigInteger or default value
- optBoolean(int) - Method in class kong.unirest.core.json.JSONArray
-
get a boolean at a specified index
- optBoolean(int, boolean) - Method in class kong.unirest.core.json.JSONArray
-
get a boolean at a specified index
- optBoolean(String) - Method in class kong.unirest.core.json.JSONObject
-
gets a boolean value at a particular key or false as default
- optBoolean(String, boolean) - Method in class kong.unirest.core.json.JSONObject
-
gets a boolean value at a particular key or a default value
- optDouble(int) - Method in class kong.unirest.core.json.JSONArray
-
get a Double at a specified index
- optDouble(int, double) - Method in class kong.unirest.core.json.JSONArray
-
get a Double at a specified index, or a default value if the value does not exist or is not a double
- optDouble(String) - Method in class kong.unirest.core.json.JSONObject
-
the value as double or NaN
- optDouble(String, double) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a double or default value
- optEnum(Class<T>, int) - Method in class kong.unirest.core.json.JSONArray
- optEnum(Class<T>, int, T) - Method in class kong.unirest.core.json.JSONArray
- optEnum(Class<T>, String) - Method in class kong.unirest.core.json.JSONObject
-
get element as a enum value or null if the value cannot be mapped
- optEnum(Class<T>, String, T) - Method in class kong.unirest.core.json.JSONObject
-
get element as a enum value or a default value if the value cannot be mapped
- optFloat(int) - Method in class kong.unirest.core.json.JSONArray
-
get a Float at a specified index, or a NaN value if the value does not exist or is not a Float
- optFloat(int, float) - Method in class kong.unirest.core.json.JSONArray
-
get a Float at a specified index, or a default value if the value does not exist or is not a Float
- optFloat(String) - Method in class kong.unirest.core.json.JSONObject
-
the value as double or NaN
- optFloat(String, float) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a float or default value
- optInt(int) - Method in class kong.unirest.core.json.JSONArray
-
get a int at a specified index, or 0 if the value does not exist or is not a int
- optInt(int, int) - Method in class kong.unirest.core.json.JSONArray
-
get a int at a specified index, or a default value if the value does not exist or is not a int
- optInt(String) - Method in class kong.unirest.core.json.JSONObject
-
the value as int or NaN
- optInt(String, int) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a int or default value
- options(String) - Static method in class kong.unirest.core.Unirest
-
Start a OPTIONS HttpRequest which does not support a body from the primary config
- options(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a OPTIONS HttpRequest which does not support a body from the primary config
- OPTIONS - Static variable in class kong.unirest.core.HttpMethod
- optJSONArray(int) - Method in class kong.unirest.core.json.JSONArray
-
get a String at a specified index, or null if the value does not exist or is not a JSONArray
- optJSONArray(String) - Method in class kong.unirest.core.json.JSONObject
-
optionally get the element as a JSONArray
- optJSONObject(int) - Method in class kong.unirest.core.json.JSONArray
-
get a JSONObject at a specified index or null if it does not exist or is not a valid JSONObject
- optJSONObject(String) - Method in class kong.unirest.core.json.JSONObject
-
get the element as a JSONObject
- optLong(int) - Method in class kong.unirest.core.json.JSONArray
-
get a long at a specified index, or 0 if the value does not exist or is not a long
- optLong(int, long) - Method in class kong.unirest.core.json.JSONArray
-
get a long at a specified index, or a default value if the value does not exist or is not a long
- optLong(String) - Method in class kong.unirest.core.json.JSONObject
-
the value as long or NaN
- optLong(String, long) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a long or default value
- optNumber(int) - Method in class kong.unirest.core.json.JSONArray
-
get a Number at a specified index
- optNumber(int, Number) - Method in class kong.unirest.core.json.JSONArray
-
get a Number at a specified index
- optNumber(String) - Method in class kong.unirest.core.json.JSONObject
-
the value as int or 0
- optNumber(String, Number) - Method in class kong.unirest.core.json.JSONObject
-
get the value as a Number or default value
- optQuery(String) - Method in class kong.unirest.core.json.JSONElement
- optQuery(JSONPointer) - Method in class kong.unirest.core.json.JSONElement
- optString(int) - Method in class kong.unirest.core.json.JSONArray
-
get a String at a specified index, or an empty string if the value does not exist or is not a String
- optString(int, String) - Method in class kong.unirest.core.json.JSONArray
-
get a String at a specified index, or a default value if the value does not exist or is not a String
- optString(String) - Method in class kong.unirest.core.json.JSONObject
-
get a element property as a string
- optString(String, String) - Method in class kong.unirest.core.json.JSONObject
-
get a element property as a string
- originalBody - Variable in exception kong.unirest.core.UnirestParsingException
- originalClient - Variable in class kong.unirest.core.CacheManager
- OTF - Static variable in class kong.unirest.core.MimeTypes
- OVERWRITE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.6
P
- PagedList<T> - Class in kong.unirest.core
- PagedList() - Constructor for class kong.unirest.core.PagedList
- Pair(String, String) - Constructor for class kong.unirest.core.Cookie.Pair
- pairs - Variable in class kong.unirest.core.QueryParams
- param(String, String) - Method in class kong.unirest.core.Path
- param(Map<String, Object>) - Method in class kong.unirest.core.Path
- parameters - Variable in class kong.unirest.core.HttpRequestMultiPart
- ParamPart - Class in kong.unirest.core
- ParamPart(String, String) - Constructor for class kong.unirest.core.ParamPart
- ParamPart(String, String, String) - Constructor for class kong.unirest.core.ParamPart
- parse(String) - Static method in enum kong.unirest.core.Cookie.SameSite
- parse(String) - Method in class kong.unirest.core.QueryParams
- parse(String) - Static method in class kong.unirest.core.RetryStrategy.Standard
- parseExpires(String) - Method in class kong.unirest.core.Cookie
- parseSection(String[]) - Method in class kong.unirest.core.Cookie
- parseToMillies(String) - Method in class kong.unirest.core.RetryStrategy.Standard
- parsingerror - Variable in class kong.unirest.core.BaseResponse
- part - Variable in class kong.unirest.core.java.PartSubscriber
- Part - Class in kong.unirest.core.java
-
Represents a part in a multipart request body.
- Part(String, String, HttpRequest.BodyPublisher) - Constructor for class kong.unirest.core.java.Part
- PART_SUBSCRIBER - Static variable in class kong.unirest.core.java.MultipartSubscription
- PARTIAL_CONTENT - Static variable in class kong.unirest.core.HttpStatus
- partIndex - Variable in class kong.unirest.core.java.MultipartSubscription
- PartPublisher - Class in kong.unirest.core.java
- PartPublisher(HttpRequest.BodyPublisher, String) - Constructor for class kong.unirest.core.java.PartPublisher
- parts - Variable in class kong.unirest.core.java.MultipartBodyPublisher.Builder
- parts - Variable in class kong.unirest.core.java.MultipartBodyPublisher
- parts - Variable in class kong.unirest.core.java.MultipartSubscription
- parts - Variable in class kong.unirest.core.TestBody
- parts() - Method in class kong.unirest.core.java.MultipartBodyPublisher
- partSubscriber - Variable in class kong.unirest.core.java.MultipartSubscription
- PartSubscriber - Class in kong.unirest.core.java
- PartSubscriber(MultipartSubscription, Part, ProgressMonitor) - Constructor for class kong.unirest.core.java.PartSubscriber
- partType - Variable in class kong.unirest.core.BodyPart
- password - Variable in class kong.unirest.core.Proxy
- patch(String) - Static method in class kong.unirest.core.Unirest
-
Start a PATCH HttpRequest which supports a body from the primary config
- patch(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a PATCH HttpRequest which supports a body from the primary config
- PATCH - Static variable in class kong.unirest.core.HttpMethod
- path - Variable in class kong.unirest.core.Cookie
- path - Variable in class kong.unirest.core.JsonPatchItem
- path - Variable in class kong.unirest.core.Routes
- Path - Class in kong.unirest.core
- Path(String) - Constructor for class kong.unirest.core.Path
- Path(String, String) - Constructor for class kong.unirest.core.Path
- PAYLOAD_TOO_LARGE - Static variable in class kong.unirest.core.HttpStatus
- PAYMENT_REQUIRED - Static variable in class kong.unirest.core.HttpStatus
- PDF - Static variable in class kong.unirest.core.MimeTypes
- PENDING_ERROR - Static variable in class kong.unirest.core.java.MultipartSubscription
- pendingError - Variable in class kong.unirest.core.java.MultipartSubscription
- PERMANENT_REDIRECT - Static variable in class kong.unirest.core.HttpStatus
- ping - Variable in class kong.unirest.core.MockListener
- PL - Static variable in class kong.unirest.core.MimeTypes
- PNG - Static variable in class kong.unirest.core.MimeTypes
- pollNext() - Method in class kong.unirest.core.java.MultipartSubscription
- pollNext() - Method in class kong.unirest.core.java.PartSubscriber
- pong - Variable in class kong.unirest.core.MockListener
- port - Variable in class kong.unirest.core.Proxy
- post(String) - Static method in class kong.unirest.core.Unirest
-
Start a POST HttpRequest which supports a body from the primary config
- post(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a POST HttpRequest which supports a body from the primary config
- POST - Static variable in class kong.unirest.core.HttpMethod
- POTX - Static variable in class kong.unirest.core.MimeTypes
- PPSX - Static variable in class kong.unirest.core.MimeTypes
- PPT - Static variable in class kong.unirest.core.MimeTypes
- PPTX - Static variable in class kong.unirest.core.MimeTypes
- PRAGMA - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.12, RFC 2616 (HTTP/1.1) Section 14.32
- PRECONDITION_FAILED - Static variable in class kong.unirest.core.HttpStatus
- PRECONDITION_REQUIRED - Static variable in class kong.unirest.core.HttpStatus
- prefetch - Variable in class kong.unirest.core.java.Prefetcher
- PREFETCH - Static variable in class kong.unirest.core.java.Prefetcher
- PREFETCH_THRESHOLD - Static variable in class kong.unirest.core.java.Prefetcher
- prefetcher - Variable in class kong.unirest.core.java.PartSubscriber
- Prefetcher - Class in kong.unirest.core.java
-
Simple class for encapsulating prefetch logic used across subscribers.
- Prefetcher() - Constructor for class kong.unirest.core.java.Prefetcher
- prefetchThreshold - Variable in class kong.unirest.core.java.Prefetcher
- prefix - Variable in enum kong.unirest.core.java.BoundaryAppender
- pretty - Variable in class kong.unirest.gson.GsonEngine
- primaryInstance - Static variable in class kong.unirest.core.Unirest
- primaryInstance() - Static method in class kong.unirest.core.Unirest
-
return the primary UnirestInstance.
- ProgressMonitor - Interface in kong.unirest.core
-
A ProgressMonitor is a functional interface which can be passed to unirest for the purposes of monitoring uploads and downloads.
- propagateError(Throwable) - Method in class kong.unirest.core.java.MultipartSubscription
-
Sets pending error or adds new one as suppressed in case of multiple error sources.
- protocols - Variable in class kong.unirest.core.Config
- protocols(String...) - Method in class kong.unirest.core.Config
-
Set a custom array of protocols
- proxy - Variable in class kong.unirest.core.Config
- proxy(String, int) - Method in class kong.unirest.core.Config
-
Set a proxy
- proxy(String, int, String, String) - Method in class kong.unirest.core.Config
-
Set an authenticated proxy
- proxy(Proxy) - Method in class kong.unirest.core.Config
-
Set a proxy
- Proxy - Class in kong.unirest.core
- Proxy(String, Integer) - Constructor for class kong.unirest.core.Proxy
- Proxy(String, Integer, String, String) - Constructor for class kong.unirest.core.Proxy
- PROXY_AUTHENTICATE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.33
- PROXY_AUTHENTICATION_REQUIRED - Static variable in class kong.unirest.core.HttpStatus
- PROXY_AUTHORIZATION - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.34
- PS - Static variable in class kong.unirest.core.MimeTypes
- put(boolean) - Method in class kong.unirest.core.json.JSONArray
-
add a Boolean to the array
- put(double) - Method in class kong.unirest.core.json.JSONArray
-
add a double to the array
- put(float) - Method in class kong.unirest.core.json.JSONArray
-
add a float to the array
- put(int) - Method in class kong.unirest.core.json.JSONArray
-
add a int to the array
- put(int, boolean) - Method in class kong.unirest.core.json.JSONArray
-
put a boolean at a specific index
- put(int, double) - Method in class kong.unirest.core.json.JSONArray
-
put a double at a specific instance if the index is beyond the currently length the array will be buffered with nulls
- put(int, float) - Method in class kong.unirest.core.json.JSONArray
-
put a float at a specific instance if the index is beyond the currently length the array will be buffered with nulls
- put(int, int) - Method in class kong.unirest.core.json.JSONArray
-
put a int at a specific instance if the index is beyond the currently length the array will be buffered with nulls
- put(int, long) - Method in class kong.unirest.core.json.JSONArray
-
put a long at a specific instance if the index is beyond the currently length the array will be buffered with nulls
- put(int, Boolean) - Method in interface kong.unirest.core.json.JsonEngine.Array
- put(int, Boolean) - Method in class kong.unirest.gson.GsonArray
- put(int, Boolean) - Method in class kong.unirest.jackson.JacksonArray
- put(int, Number) - Method in class kong.unirest.core.json.JSONArray
-
put a Number at a specific instance if the index is beyond the currently length the array will be buffered with nulls
- put(int, Number) - Method in interface kong.unirest.core.json.JsonEngine.Array
- put(int, Number) - Method in class kong.unirest.gson.GsonArray
- put(int, Number) - Method in class kong.unirest.jackson.JacksonArray
- put(int, Object) - Method in class kong.unirest.core.json.JSONArray
-
put a object at a specific instance if the index is beyond the currently length the array will be buffered with nulls
- put(int, String) - Method in class kong.unirest.core.json.JSONArray
-
put a String at a specific index if the index is beyond the currently length the array will be buffered with nulls
- put(int, String) - Method in interface kong.unirest.core.json.JsonEngine.Array
- put(int, String) - Method in class kong.unirest.gson.GsonArray
- put(int, String) - Method in class kong.unirest.jackson.JacksonArray
- put(int, Collection) - Method in class kong.unirest.core.json.JSONArray
-
put a JSONArray at a specific index as a Collection if the index is beyond the currently length the array will be buffered with nulls
- put(int, Map) - Method in class kong.unirest.core.json.JSONArray
-
put a JSONObject as a map at a specific index if the index is beyond the currently length the array will be buffered with nulls
- put(int, JsonEngine.Element) - Method in class kong.unirest.core.json.JSONArray
- put(int, T) - Method in class kong.unirest.core.json.JSONArray
-
put a Enum name at a specific index as a string if the index is beyond the currently length the array will be buffered with nulls
- put(long) - Method in class kong.unirest.core.json.JSONArray
-
add a long to the array
- put(Number) - Method in class kong.unirest.core.json.JSONArray
-
add a Number to the array
- put(Object) - Method in class kong.unirest.core.json.JSONArray
-
add a Object to the array Must be a valid JSON type or else it will be turned into a string
- put(String) - Method in class kong.unirest.core.json.JSONArray
-
add a String to the array
- put(String) - Static method in class kong.unirest.core.Unirest
-
Start a PUT HttpRequest which supports a body from the primary config
- put(String) - Method in class kong.unirest.core.UnirestInstance
-
Start a PUT HttpRequest which supports a body from the primary config
- put(String, boolean) - Method in class kong.unirest.core.json.JSONObject
-
put a boolean at a particular key
- put(String, double) - Method in class kong.unirest.core.json.JSONObject
-
put a double at a particular key
- put(String, float) - Method in class kong.unirest.core.json.JSONObject
-
put a float at a particular key
- put(String, int) - Method in class kong.unirest.core.json.JSONObject
-
put a int at a particular key
- put(String, long) - Method in class kong.unirest.core.json.JSONObject
-
put a long at a particular key
- put(String, Number) - Method in class kong.unirest.core.json.JSONObject
-
put a Number at a particular key
- put(String, Object) - Method in class kong.unirest.core.json.JSONObject
-
put an object to a key.
- put(String, String) - Method in class kong.unirest.core.json.JSONObject
-
put a String at a particular key
- put(String, Collection) - Method in class kong.unirest.core.json.JSONObject
-
put a Collection as a JSONArray at a particular key
- put(String, Map) - Method in class kong.unirest.core.json.JSONObject
-
put a Collection as a JSONArray at a particular key
- put(String, JSONArray) - Method in class kong.unirest.core.json.JSONObject
-
put a JSONArray at a particular key
- put(String, JSONObject) - Method in class kong.unirest.core.json.JSONObject
-
put a JSONObject at a particular key
- put(String, T) - Method in class kong.unirest.core.json.JSONObject
-
put a enum at a particular key.
- put(Collection) - Method in class kong.unirest.core.json.JSONArray
-
add a JSONArray to the array
- put(Map) - Method in class kong.unirest.core.json.JSONArray
-
add a JSONObject to the array as a map
- put(JSONArray) - Method in class kong.unirest.core.json.JSONArray
-
append a JSONArray as an element to the end of the array
- put(JSONObject) - Method in class kong.unirest.core.json.JSONArray
-
append a JSONObject to the end of the array
- put(T) - Method in class kong.unirest.core.json.JSONArray
-
put a enum which will be put as the string name
- PUT - Static variable in class kong.unirest.core.HttpMethod
- putAll(Headers) - Method in class kong.unirest.core.Headers
-
Add a bunch of headers at once
- putOnce(String, Object) - Method in class kong.unirest.core.json.JSONObject
-
put a value to a key only if it does not exist
- putOpt(String, Object) - Method in class kong.unirest.core.json.JSONObject
-
optional put a value at a key as long as both they key and value are not null otherwise it does nothing
Q
- QT - Static variable in class kong.unirest.core.MimeTypes
- query(String) - Method in class kong.unirest.core.json.JSONElement
-
query the object graph using JSONPointer https://tools.ietf.org/html/rfc6901
- query(JSONPointer) - Method in class kong.unirest.core.json.JSONElement
-
query the object graph using JSONPointer https://tools.ietf.org/html/rfc6901
- QueryArray(JSONArray) - Constructor for class kong.unirest.core.json.JSONPointer.QueryArray
- queryFrom(Object) - Method in class kong.unirest.core.json.JSONPointer
- QueryObject(JSONObject) - Constructor for class kong.unirest.core.json.JSONPointer.QueryObject
- QueryParams - Class in kong.unirest.core
- QueryParams() - Constructor for class kong.unirest.core.QueryParams
- QueryParams(String) - Constructor for class kong.unirest.core.QueryParams
- QueryParams.NameValuePair - Class in kong.unirest.core
- querySection(String) - Method in interface kong.unirest.core.json.JSONPointer.Queryable
- querySection(String) - Method in class kong.unirest.core.json.JSONPointer.QueryArray
- querySection(String) - Method in class kong.unirest.core.json.JSONPointer.QueryObject
- queryString(String, Object) - Method in class kong.unirest.core.BaseRequest
- queryString(String, Object) - Method in interface kong.unirest.core.HttpRequest
-
add a query param to the url.
- queryString(String, Object) - Method in class kong.unirest.core.Path
- queryString(String, Object) - Method in interface kong.unirest.core.WebSocketRequest
-
add a query param to the url.
- queryString(String, Object) - Method in class kong.unirest.core.WebSocketRequestImpl
- queryString(String, String) - Method in interface kong.unirest.core.Expectation
-
A expected header for a request
- queryString(String, String) - Method in class kong.unirest.core.Invocation
- queryString(String, Collection<?>) - Method in class kong.unirest.core.BaseRequest
- queryString(String, Collection<?>) - Method in interface kong.unirest.core.HttpRequest
-
Add multiple param with the same param name.
- queryString(String, Collection<?>) - Method in class kong.unirest.core.Path
- queryString(String, Collection<?>) - Method in interface kong.unirest.core.WebSocketRequest
-
Add multiple param with the same param name.
- queryString(String, Collection<?>) - Method in class kong.unirest.core.WebSocketRequestImpl
- queryString(Map<String, Object>) - Method in class kong.unirest.core.BaseRequest
- queryString(Map<String, Object>) - Method in interface kong.unirest.core.HttpRequest
-
Add query params as a map of name value pairs
- queryString(Map<String, Object>) - Method in class kong.unirest.core.Path
- queryString(Map<String, Object>) - Method in interface kong.unirest.core.WebSocketRequest
-
Add query params as a map of name value pairs
- queryString(Map<String, Object>) - Method in class kong.unirest.core.WebSocketRequestImpl
- quote(Object) - Method in interface kong.unirest.core.json.JsonEngine
- quote(Object) - Method in class kong.unirest.gson.GsonEngine
- quote(Object) - Method in class kong.unirest.jackson.JacksonEngine
- quote(String) - Static method in class kong.unirest.core.json.JSONObject
-
quite escape a string
- quote(String, Writer) - Static method in class kong.unirest.core.json.JSONObject
-
quite escape a string
R
- RAM - Static variable in class kong.unirest.core.MimeTypes
- RANGE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.35
- RANGE_NOT_SATISFIABLE - Static variable in class kong.unirest.core.HttpStatus
- RAR - Static variable in class kong.unirest.core.MimeTypes
- rawBody - Variable in class kong.unirest.core.ObjectResponse
- rawPath - Variable in class kong.unirest.core.Path
- rawPath() - Method in class kong.unirest.core.Path
- RawResponse - Interface in kong.unirest.core
-
The Raw Response represents the response before any mapping or consumption of the content.
- RawResponseBase - Class in kong.unirest.core
- RawResponseBase(Config, HttpRequestSummary) - Constructor for class kong.unirest.core.RawResponseBase
- RDF - Static variable in class kong.unirest.core.MimeTypes
- read() - Method in class kong.unirest.core.java.MonitoringInputStream
- read() - Method in class kong.unirest.core.MonitoringInputStream
- read(byte[]) - Method in class kong.unirest.core.java.MonitoringInputStream
- read(byte[]) - Method in class kong.unirest.core.MonitoringInputStream
- read(byte[], int, int) - Method in class kong.unirest.core.java.MonitoringInputStream
- read(byte[], int, int) - Method in class kong.unirest.core.MonitoringInputStream
- read(JsonReader) - Method in class kong.unirest.gson.GsonEngine.JavaTypeAdapter
- readBody(RawResponse) - Method in class kong.unirest.core.ObjectResponse
- readValue(String, Class<T>) - Method in interface kong.unirest.core.ObjectMapper
-
reads the content from the request as a string and transforms to a type passed by the asObject method on the Unirest builder.
- readValue(String, Class<T>) - Method in class kong.unirest.gson.GsonObjectMapper
- readValue(String, Class<T>) - Method in class kong.unirest.jackson.JacksonObjectMapper
- readValue(String, GenericType<T>) - Method in interface kong.unirest.core.ObjectMapper
-
reads the content from the request as a string and transforms to a type passed by the asObject method on the Unirest builder.
- readValue(String, GenericType<T>) - Method in class kong.unirest.gson.GsonObjectMapper
- readValue(String, GenericType<T>) - Method in class kong.unirest.jackson.JacksonObjectMapper
- recoverBody(RawResponse) - Method in class kong.unirest.core.java.JavaClient
- redirectPolicy(Config) - Method in class kong.unirest.core.java.JavaClientBuilder
- REFERER - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.13, RFC 2616 (HTTP/1.1) Section 14.36
- register() - Static method in class kong.unirest.core.MockClient
-
Creates a new MockClient and registers it on the primary static UnirestInstance
- register(Interceptor) - Method in class kong.unirest.core.CompoundInterceptor
- register(UnirestInstance) - Static method in class kong.unirest.core.MockClient
-
Creates a new MockClient and registers it on the Unirest instance
- REGISTRY - Static variable in class kong.unirest.core.HttpMethod
- remoteSocket - Variable in class kong.unirest.core.MockClient
- remoteSocketSet - Variable in class kong.unirest.core.MockWebSocket
- remove - kong.unirest.core.JsonPatchOperation
- remove(int) - Method in class kong.unirest.core.json.JSONArray
-
Removes the element at the specified position in this array.
- remove(int) - Method in interface kong.unirest.core.json.JsonEngine.Array
- remove(int) - Method in class kong.unirest.gson.GsonArray
- remove(int) - Method in class kong.unirest.jackson.JacksonArray
- remove(String) - Method in class kong.unirest.core.Headers
- remove(String) - Method in class kong.unirest.core.HttpRequestJsonPatch
- remove(String) - Method in interface kong.unirest.core.json.JsonEngine.Object
- remove(String) - Method in class kong.unirest.core.json.JSONObject
-
remove a element by key name
- remove(String) - Method in class kong.unirest.core.JsonPatch
- remove(String) - Method in interface kong.unirest.core.JsonPatchRequest
- remove(String) - Method in class kong.unirest.gson.GsonObject
- remove(String) - Method in class kong.unirest.jackson.JacksonObject
- remove(String, String) - Method in class kong.unirest.core.Headers
- removeEldestEntry(Map.Entry<Cache.Key, Object>) - Method in class kong.unirest.core.CacheManager.CacheMap
- replace - kong.unirest.core.JsonPatchOperation
- replace(String, Object) - Method in class kong.unirest.core.HttpRequestJsonPatch
- replace(String, Object) - Method in class kong.unirest.core.JsonPatch
- replace(String, Object) - Method in interface kong.unirest.core.JsonPatchRequest
- replace(String, String) - Method in class kong.unirest.core.Headers
-
Replace a header value.
- replace(Map<String, String>) - Method in class kong.unirest.core.Headers
-
Replace all headers from a given map.
- reqSummary - Variable in class kong.unirest.core.BaseResponse
- reqSummary - Variable in class kong.unirest.core.RawResponseBase
- request - Variable in class kong.unirest.core.java.BodyBuilder
- request - Variable in class kong.unirest.core.RequestSummary
- request(long) - Method in class kong.unirest.core.java.MultipartSubscription
- request(long) - Method in class kong.unirest.core.java.Upstream
-
Requests
n
items from upstream if set. - request(long) - Method in class kong.unirest.core.MockWebSocket
- request(String, String) - Static method in class kong.unirest.core.Unirest
- request(String, String) - Method in class kong.unirest.core.UnirestInstance
- request(Function<RawResponse, HttpResponse<E>>, Class<?>) - Method in class kong.unirest.core.BaseRequest
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.CacheManager.CacheWrapper
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, Class<?>) - Method in interface kong.unirest.core.Client
-
Make a request
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.java.JavaClient
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.MockClient
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, CompletableFuture<HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.CacheManager.CacheWrapper
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, CompletableFuture<HttpResponse<T>>, Class<?>) - Method in interface kong.unirest.core.Client
-
Make a Async request
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, CompletableFuture<HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.java.JavaClient
- request(HttpRequest, Function<RawResponse, HttpResponse<T>>, CompletableFuture<HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.MockClient
- REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class kong.unirest.core.HttpStatus
- REQUEST_TIMEOUT - Static variable in class kong.unirest.core.HttpStatus
- requestAsync(HttpRequest, Function<RawResponse, HttpResponse<T>>, CompletableFuture<HttpResponse<T>>, Class<?>) - Method in class kong.unirest.core.BaseRequest
- RequestBodyEntity - Interface in kong.unirest.core
- requestCompression(boolean) - Method in class kong.unirest.core.Config
-
Turn on or off requesting all content as compressed.
- requestCompressionOn - Variable in class kong.unirest.core.Config
- requests - Variable in class kong.unirest.core.Invocation
- requestSize() - Method in class kong.unirest.core.Invocation
- RequestSummary - Class in kong.unirest.core
- RequestSummary(BaseRequest) - Constructor for class kong.unirest.core.RequestSummary
- reset() - Method in class kong.unirest.core.Config
-
Shutdown the current config and re-init.
- reset() - Method in class kong.unirest.core.java.MonitoringInputStream
- reset() - Method in class kong.unirest.core.MockClient
-
Reset all expectations
- reset() - Method in class kong.unirest.core.MonitoringInputStream
- reset() - Method in class kong.unirest.core.UnirestInstance
-
Close the asynchronous client and its event loop.
- reset(boolean) - Method in class kong.unirest.core.Config
-
Shut down the configuration and its clients.
- reset(boolean) - Method in class kong.unirest.core.UnirestInstance
-
Close the asynchronous client and its event loop.
- RESET_CONTENT - Static variable in class kong.unirest.core.HttpStatus
- resetClock() - Static method in class kong.unirest.core.Util
- response - Variable in class kong.unirest.core.ExpectedResponseRecord
- response - Variable in class kong.unirest.core.java.JavaResponse
- response - Variable in class kong.unirest.core.MockRawResponse
- ResponseBuilder - Interface in kong.unirest.core
- responseEncoding - Variable in class kong.unirest.core.BaseRequest
- responseEncoding - Variable in class kong.unirest.core.WebSocketRequestImpl
- responseEncoding(String) - Method in class kong.unirest.core.BaseRequest
- responseEncoding(String) - Method in interface kong.unirest.core.HttpRequest
-
The encoding to expect the response to be for cases where the server fails to respond with the proper encoding
- responseEncoding(String) - Method in interface kong.unirest.core.WebSocketRequest
-
The encoding to expect the response to be for cases where the server fails to respond with the proper encoding
- responseEncoding(String) - Method in class kong.unirest.core.WebSocketRequestImpl
- responseHeaders - Variable in class kong.unirest.core.ExpectedResponseRecord
- responseHeaders - Variable in class kong.unirest.core.MockRawResponse
- responseStatus - Variable in class kong.unirest.core.ExpectedResponseRecord
- ResponseSummary - Class in kong.unirest.core
- ResponseSummary(RawResponse) - Constructor for class kong.unirest.core.ResponseSummary
- responseText - Variable in class kong.unirest.core.ExpectedResponseRecord
- retry - Variable in class kong.unirest.core.Config
- RETRY_AFTER - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.37
- RETRY_AFTER - Static variable in class kong.unirest.core.RetryStrategy.Standard
- RETRY_CODES - Static variable in class kong.unirest.core.RetryStrategy.Standard
- retryAfter(boolean) - Method in class kong.unirest.core.Config
-
Automatically retry synchronous requests on 429/529 responses with the Retry-After response header Default is false
- retryAfter(boolean, int) - Method in class kong.unirest.core.Config
-
Automatically retry synchronous requests on 429/529 responses with the Retry-After response header Default is false
- retryAfter(RetryStrategy) - Method in class kong.unirest.core.Config
-
Automatically retry synchronous requests on 429/529 responses with the Retry-After response header Default is false
- RetryStrategy - Interface in kong.unirest.core
-
A Strategy for performing retries.
- RetryStrategy.Standard - Class in kong.unirest.core
-
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.
- RFC6532 - kong.unirest.core.MultipartMode
-
RFC 6532 compliant
- routeParam(String, String) - Method in class kong.unirest.core.BaseRequest
- routeParam(String, String) - Method in interface kong.unirest.core.HttpRequest
-
add a route param that replaces the matching {name} For example routeParam("name", "fred") will replace {name} in https://localhost/users/{name} to https://localhost/users/fred
- routeParam(String, String) - Method in interface kong.unirest.core.WebSocketRequest
-
add a route param that replaces the matching {name} For example routeParam("name", "fred") will replace {name} in https://localhost/users/{user} to https://localhost/users/fred
- routeParam(String, String) - Method in class kong.unirest.core.WebSocketRequestImpl
- routeParam(Map<String, Object>) - Method in class kong.unirest.core.BaseRequest
- routeParam(Map<String, Object>) - Method in interface kong.unirest.core.HttpRequest
-
add a route param map that replaces the matching {name} For example routeParam(Map.of("name", "fred")) will replace {name} in https://localhost/users/{name} to https://localhost/users/fred
- routeParam(Map<String, Object>) - Method in interface kong.unirest.core.WebSocketRequest
-
add a route param map that replaces the matching {name} For example routeParam(Map.of("name", "fred")) will replace {name} in https://localhost/users/{user} to https://localhost/users/fred
- routeParam(Map<String, Object>) - Method in class kong.unirest.core.WebSocketRequestImpl
- routes - Variable in class kong.unirest.core.Invocation
- routes - Variable in class kong.unirest.core.MockClient
- Routes - Class in kong.unirest.core
- Routes(HttpMethod, Path) - Constructor for class kong.unirest.core.Routes
- Routes(HttpRequest) - Constructor for class kong.unirest.core.Routes
- RTF - Static variable in class kong.unirest.core.MimeTypes
- run() - Method in class kong.unirest.core.java.MultipartSubscription
- RUN - Static variable in class kong.unirest.core.java.MultipartSubscription
S
- sameSite - Variable in class kong.unirest.core.Cookie
- SameSite() - Constructor for enum kong.unirest.core.Cookie.SameSite
- sb - Variable in class kong.unirest.core.json.JSONPointer.Builder
- scoreBody(HttpRequest) - Method in class kong.unirest.core.Invocation
- scoreHeaders(HttpRequest) - Method in class kong.unirest.core.Invocation
- scoreMatch(HttpRequest) - Method in class kong.unirest.core.Invocation
- scoreQuery(HttpRequest) - Method in class kong.unirest.core.Invocation
- section - Variable in class kong.unirest.core.json.JSONPointer
- secure - Variable in class kong.unirest.core.Cookie
- SEE_OTHER - Static variable in class kong.unirest.core.HttpStatus
- sendBinary(ByteBuffer, boolean) - Method in class kong.unirest.core.MockWebSocket
- sendClose(int, String) - Method in class kong.unirest.core.MockWebSocket
- sendPing(ByteBuffer) - Method in class kong.unirest.core.MockWebSocket
- sendPong(ByteBuffer) - Method in class kong.unirest.core.MockWebSocket
- sendText(CharSequence, boolean) - Method in class kong.unirest.core.MockWebSocket
- sendToOtherSide(BiConsumer<WebSocket, WebSocket.Listener>) - Method in class kong.unirest.core.MockWebSocket
- serialize(Calendar, Type, JsonSerializationContext) - Method in class kong.unirest.gson.GsonObjectMapper.CalendarSerializer
- serialize(Date, Type, JsonSerializationContext) - Method in class kong.unirest.gson.GsonObjectMapper.DateAdapter
- serialize(T, Type, JsonSerializationContext) - Method in class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
- serialVersionUID - Static variable in class kong.unirest.core.Headers
- serialVersionUID - Static variable in exception kong.unirest.core.UnirestException
- SERVER - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.14, RFC 2616 (HTTP/1.1) Section 14.38
- serversSocket() - Method in class kong.unirest.core.MockClient
- SERVICE_UNAVAILABLE - Static variable in class kong.unirest.core.HttpStatus
- set(int, JsonEngine.Element) - Method in interface kong.unirest.core.json.JsonEngine.Array
- set(int, JsonEngine.Element) - Method in class kong.unirest.gson.GsonArray
- set(int, JsonEngine.Element) - Method in class kong.unirest.jackson.JacksonArray
- setBasicAuth(String, String) - Method in class kong.unirest.core.Headers
- setConsumer(Consumer<HttpResponse<?>>) - Method in class kong.unirest.core.DefaultInterceptor
- setContentAsFormEncoding(Body) - Method in class kong.unirest.core.java.BodyBuilder
- setDefaultBasicAuth(String, String) - Method in class kong.unirest.core.Config
-
Default basic auth credentials
- setDefaultHeader(String, String) - Method in class kong.unirest.core.Config
-
Set default header to appear on all requests
- setDefaultHeader(String, Supplier<String>) - Method in class kong.unirest.core.Config
-
Set default header to appear on all requests, value is through a Supplier This is useful for adding tracing elements to requests.
- setDefaultResponseEncoding(String) - Method in class kong.unirest.core.Config
-
Set the default encoding that will be used for serialization into Strings.
- setDefaults() - Method in class kong.unirest.core.Config
- setDomain(String) - Method in class kong.unirest.core.Cookie
- setExpectation(Expectation) - Method in class kong.unirest.core.ExpectedResponseRecord
- setHeaders(HttpRequest<?>, HttpRequest.Builder) - Method in class kong.unirest.core.java.JavaClient
- setHttpOnly(boolean) - Method in class kong.unirest.core.Cookie
- setMultiPart(Body, MultipartBodyPublisher.Builder, BodyPart) - Method in class kong.unirest.core.java.BodyBuilder
- setObjectMapper(ObjectMapper) - Method in class kong.unirest.core.Config
-
Set the ObjectMapper implementation to use for Response to Object binding
- setOrCancel(Flow.Subscription) - Method in class kong.unirest.core.java.Upstream
-
Sets incoming subscription, cancels it if already set.
- setParsingException(String, RuntimeException) - Method in class kong.unirest.core.BaseResponse
- setPath(String) - Method in class kong.unirest.core.Cookie
- SGML - Static variable in class kong.unirest.core.MimeTypes
- shutDown() - Static method in class kong.unirest.core.Unirest
-
Close the asynchronous client and its event loop.
- shutDown(boolean) - Static method in class kong.unirest.core.Unirest
-
Close the asynchronous client and its event loop.
- signal() - Method in class kong.unirest.core.java.MultipartSubscription
- signal(boolean) - Method in class kong.unirest.core.java.MultipartSubscription
-
Schedules a signaller task.
- signalError(Throwable) - Method in class kong.unirest.core.java.MultipartSubscription
- similar(Object) - Method in class kong.unirest.core.json.JSONArray
-
indicates if a JSONArray has the same elements as another JSONArray
- similar(Object) - Method in class kong.unirest.core.json.JSONObject
-
indicates if a JSONObject has the same elements as another JSONObject
- SIT - Static variable in class kong.unirest.core.MimeTypes
- size() - Method in class kong.unirest.core.CompoundInterceptor
- size() - Method in class kong.unirest.core.Headers
-
Get the number of header keys.
- size() - Method in interface kong.unirest.core.json.JsonEngine.Array
- size() - Method in interface kong.unirest.core.json.JsonEngine.Object
- size() - Method in class kong.unirest.gson.GsonArray
- size() - Method in class kong.unirest.gson.GsonObject
- size() - Method in class kong.unirest.jackson.JacksonArray
- size() - Method in class kong.unirest.jackson.JacksonObject
- skip(long) - Method in class kong.unirest.core.java.MonitoringInputStream
- skip(long) - Method in class kong.unirest.core.MonitoringInputStream
- SLDX - Static variable in class kong.unirest.core.MimeTypes
- socket - Variable in class kong.unirest.core.SocketSet
- socket() - Method in class kong.unirest.core.WebSocketResponse
- SocketSet<S extends java.net.http.WebSocket,L extends java.net.http.WebSocket.Listener> - Class in kong.unirest.core
-
A socket set represents a websocket and the listener for a target.
- SocketSet(S, L, String) - Constructor for class kong.unirest.core.SocketSet
- spawnInstance() - Static method in class kong.unirest.core.Unirest
-
Spawn a new Unirest Instance with a new config.
- sslContext - Variable in class kong.unirest.core.Config
- sslContext(SSLContext) - Method in class kong.unirest.core.Config
-
Set a custom SSLContext.
- SSLContextBuilder - Class in kong.unirest.core.java
- SSLContextBuilder() - Constructor for class kong.unirest.core.java.SSLContextBuilder
- Standard(int) - Constructor for class kong.unirest.core.RetryStrategy.Standard
- STANDARD - Static variable in class kong.unirest.core.CookieSpecs
-
The RFC 6265 compliant policy (interoprability profile).
- STANDARD_STRICT - Static variable in class kong.unirest.core.CookieSpecs
-
The RFC 6265 compliant policy (strict profile)
- standardizeName(BodyPart, MultipartMode) - Method in class kong.unirest.core.java.BodyBuilder
- state - Variable in class kong.unirest.core.java.MultipartSubscription
- STATE - Static variable in class kong.unirest.core.java.MultipartSubscription
- status - Variable in class kong.unirest.core.MockRawResponse
- status - Variable in class kong.unirest.core.ResponseSummary
- STATUS_URI - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.7
- statusCode - Variable in class kong.unirest.core.BaseResponse
- statusMessage - Variable in class kong.unirest.core.MockRawResponse
- statusText - Variable in class kong.unirest.core.BaseResponse
- statusText - Variable in class kong.unirest.core.ResponseSummary
- stream(Optional<T>) - Static method in class kong.unirest.core.Util
- Strict - kong.unirest.core.Cookie.SameSite
- STRICT - kong.unirest.core.MultipartMode
-
RFC 822, RFC 2045, RFC 2046 compliant
- StringResponse - Class in kong.unirest.core
- StringResponse(RawResponse, String) - Constructor for class kong.unirest.core.StringResponse
- stringToValue(String) - Static method in class kong.unirest.core.json.JSONObject
-
convert a primitive JSON type in a string (bool, number, null) to its primitive type all decimal types will become doubles
- stripQuoteWrapper(String) - Method in class kong.unirest.core.Cookie
- submitOnNext(Flow.Subscriber<? super ByteBuffer>, ByteBuffer) - Method in class kong.unirest.core.java.MultipartSubscription
-
Submits given item to the downstream, returning
false
and cancelling on failure. - subscribe(Flow.Subscriber<? super ByteBuffer>) - Method in class kong.unirest.core.java.MultipartBodyPublisher
- subscribe(Flow.Subscriber<? super ByteBuffer>) - Method in class kong.unirest.core.java.PartPublisher
- SUBSCRIBED - Static variable in class kong.unirest.core.java.MultipartSubscription
- subscribeOnDrain(Flow.Subscriber<? super ByteBuffer>) - Method in class kong.unirest.core.java.MultipartSubscription
- subscribeToPart(Part) - Method in class kong.unirest.core.java.MultipartSubscription
- subscription - Variable in class kong.unirest.core.java.Upstream
- SUBSCRIPTION - Static variable in class kong.unirest.core.java.Upstream
- subtractAndGetDemand(Object, VarHandle, long) - Method in class kong.unirest.core.java.MultipartSubscription
-
Subtracts given count from demand.
- success - Variable in class kong.unirest.core.Times.EvaluationResult
- success() - Static method in class kong.unirest.core.Times.EvaluationResult
- SUCCESS - Static variable in class kong.unirest.core.Times.EvaluationResult
- suffix - Variable in enum kong.unirest.core.java.BoundaryAppender
- sumInvokes() - Method in class kong.unirest.core.Routes
- summary - Variable in class kong.unirest.core.MockRawResponse
- SummaryFormatter - Class in kong.unirest.core
- SummaryFormatter() - Constructor for class kong.unirest.core.SummaryFormatter
- SVG - Static variable in class kong.unirest.core.MimeTypes
- SWF - Static variable in class kong.unirest.core.MimeTypes
- SYNC_EXECUTOR - Static variable in class kong.unirest.core.java.MultipartSubscription
T
- TE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.39
- TEMPORARY_REDIRECT - Static variable in class kong.unirest.core.HttpStatus
- test - kong.unirest.core.JsonPatchOperation
- test(String, Object) - Method in class kong.unirest.core.HttpRequestJsonPatch
- test(String, Object) - Method in class kong.unirest.core.JsonPatch
- test(String, Object) - Method in interface kong.unirest.core.JsonPatchRequest
- TestBody - Class in kong.unirest.core
- TestBody(BodyPart<String>...) - Constructor for class kong.unirest.core.TestBody
- TEXT_HTML - Static variable in class kong.unirest.core.ContentType
- TEXT_PLAIN - Static variable in class kong.unirest.core.ContentType
- TEXT_XML - Static variable in class kong.unirest.core.ContentType
- textPart(String, Object) - Method in class kong.unirest.core.java.MultipartBodyPublisher.Builder
-
Adds a
text/plain
form field with the given name and value. - textPart(String, Object, Charset) - Method in class kong.unirest.core.java.MultipartBodyPublisher.Builder
-
Adds a
text/plain
form field with the given name and value using the given charset for encoding the field's body. - TGZ - Static variable in class kong.unirest.core.MimeTypes
- thenConsume(Consumer<RawResponse>) - Method in class kong.unirest.core.BaseRequest
- thenConsume(Consumer<RawResponse>) - Method in interface kong.unirest.core.HttpRequest
-
Execute the request and pass the raw response to a consumer.
- thenConsumeAsync(Consumer<RawResponse>) - Method in class kong.unirest.core.BaseRequest
- thenConsumeAsync(Consumer<RawResponse>) - Method in interface kong.unirest.core.HttpRequest
-
Execute the request asynchronously and pass the raw response to a consumer.
- thenReturn() - Method in interface kong.unirest.core.Expectation
-
expect a null response
- thenReturn() - Method in class kong.unirest.core.Invocation
- thenReturn(Object) - Method in interface kong.unirest.core.Expectation
-
expect a object response as defined by a pojo using the requests / configuration object mapper
- thenReturn(Object) - Method in interface kong.unirest.core.ExpectedResponse
-
expect a object response as defined by a pojo using the requests / configuration object mapper
- thenReturn(Object) - Method in class kong.unirest.core.ExpectedResponseRecord
- thenReturn(Object) - Method in class kong.unirest.core.Invocation
- thenReturn(String) - Method in interface kong.unirest.core.Expectation
-
expect a string response
- thenReturn(String) - Method in interface kong.unirest.core.ExpectedResponse
-
expect a string response
- thenReturn(String) - Method in class kong.unirest.core.ExpectedResponseRecord
- thenReturn(String) - Method in class kong.unirest.core.Invocation
- thenReturn(Function<HttpRequest<?>, ExpectedResponse>) - Method in interface kong.unirest.core.Expectation
-
Allows for a full override of the way a expected response is built.
- thenReturn(Function<HttpRequest<?>, ExpectedResponse>) - Method in class kong.unirest.core.Invocation
- thenReturn(Supplier<String>) - Method in interface kong.unirest.core.Expectation
-
A supplier for the expected body which will get invoked at the time of build the response.
- thenReturn(Supplier<String>) - Method in interface kong.unirest.core.ExpectedResponse
-
A supplier for the expected body which will get invoked at the time of build the response.
- thenReturn(Supplier<String>) - Method in class kong.unirest.core.ExpectedResponseRecord
- thenReturn(Supplier<String>) - Method in class kong.unirest.core.Invocation
- thenReturn(JSONElement) - Method in interface kong.unirest.core.Expectation
-
expect a json response
- thenReturn(JSONElement) - Method in interface kong.unirest.core.ExpectedResponse
-
expect a json response
- thenReturn(JSONElement) - Method in class kong.unirest.core.ExpectedResponseRecord
- thenReturn(JSONElement) - Method in class kong.unirest.core.Invocation
- thenReturn(MockResponse) - Method in class kong.unirest.core.ExpectedResponseRecord
- TIFF - Static variable in class kong.unirest.core.MimeTypes
- time - Variable in class kong.unirest.core.CacheManager.HashKey
- TIMEOUT - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2518 (WevDAV) Section 9.8
- times - Variable in class kong.unirest.core.Times.AtLeast
- times - Variable in class kong.unirest.core.Times.AtMost
- times - Variable in class kong.unirest.core.Times.Exactly
- times(Times) - Method in interface kong.unirest.core.Expectation
- times(Times) - Method in class kong.unirest.core.Invocation
- Times - Class in kong.unirest.core
- Times() - Constructor for class kong.unirest.core.Times
- Times.AtLeast - Class in kong.unirest.core
- Times.AtMost - Class in kong.unirest.core
- Times.EvaluationResult - Class in kong.unirest.core
- Times.Exactly - Class in kong.unirest.core
- toBasicAuthValue(String, String) - Static method in class kong.unirest.core.Util
- toElement(JsonElement) - Static method in class kong.unirest.gson.GsonEngine
- toFormParams(Body) - Method in class kong.unirest.core.java.BodyBuilder
- toInstant(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.DateAdapter
- toJson(JsonEngine.Element) - Static method in class kong.unirest.core.json.JSONElement
- toJson(JsonEngine.Element) - Method in interface kong.unirest.core.json.JsonEngine
- toJson(JsonEngine.Element) - Method in class kong.unirest.gson.GsonEngine
- toJson(JsonEngine.Element) - Method in class kong.unirest.jackson.JacksonEngine
- toJson(JsonEngine.Element, Writer) - Method in interface kong.unirest.core.json.JsonEngine
- toJson(JsonEngine.Element, Writer) - Method in class kong.unirest.gson.GsonEngine
- toJson(JsonEngine.Element, Writer) - Method in class kong.unirest.jackson.JacksonEngine
- toJsonArray(Object) - Static method in class kong.unirest.core.json.JSONArray
- toJSONArray(JSONArray) - Method in class kong.unirest.core.json.JSONObject
-
creates an array of the values for they keys you provide
- toJsonNode(String) - Method in class kong.unirest.core.JsonResponse
- toJsonObject(Map) - Static method in class kong.unirest.core.json.JSONElement
- toJSONObject(JSONArray) - Method in class kong.unirest.core.json.JSONArray
-
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
- toJsonTree(Object) - Method in interface kong.unirest.core.json.JsonEngine
- toJsonTree(Object) - Method in class kong.unirest.gson.GsonEngine
- toJsonTree(Object) - Method in class kong.unirest.jackson.JacksonEngine
- toList() - Method in class kong.unirest.core.json.JSONArray
-
Converts the JSONArray to a List
- toMap() - Method in class kong.unirest.core.json.JSONObject
-
converts this object to a map
- toMap(JsonEngine.Element) - Static method in class kong.unirest.core.json.JSONElement
- toMultiPartAproximation(Body, StringJoiner) - Method in class kong.unirest.core.SummaryFormatter
- TOO_EARLY - Static variable in class kong.unirest.core.HttpStatus
- TOO_MANY_REQUESTS - Static variable in class kong.unirest.core.HttpStatus
- ToObjectMapper - Class in kong.unirest.core.json
- ToObjectMapper() - Constructor for class kong.unirest.core.json.ToObjectMapper
- toPair(ParamPart, Body) - Method in class kong.unirest.core.java.BodyBuilder
- toPrettyJson(JsonEngine.Element) - Static method in class kong.unirest.core.json.JSONElement
- toPrettyJson(JsonEngine.Element) - Method in interface kong.unirest.core.json.JsonEngine
- toPrettyJson(JsonEngine.Element) - Method in class kong.unirest.gson.GsonEngine
- toPrettyJson(JsonEngine.Element) - Method in class kong.unirest.jackson.JacksonEngine
- toPrettyJson(JsonEngine.Element, Writer) - Method in interface kong.unirest.core.json.JsonEngine
- toPrettyJson(JsonEngine.Element, Writer) - Method in class kong.unirest.gson.GsonEngine
- toPrettyJson(JsonEngine.Element, Writer) - Method in class kong.unirest.jackson.JacksonEngine
- toPrettyString() - Method in class kong.unirest.core.JsonNode
- toPublisher(Body) - Method in class kong.unirest.core.java.BodyBuilder
- toRawResponse(Config, HttpRequest) - Method in class kong.unirest.core.ExpectedResponseRecord
- toRawResponse(Config, HttpRequest) - Method in interface kong.unirest.core.ResponseBuilder
- toString() - Method in class kong.unirest.core.ByteArrayPart
- toString() - Method in class kong.unirest.core.ContentType
- toString() - Method in class kong.unirest.core.Cookie.Pair
- toString() - Method in class kong.unirest.core.Cookie
- toString() - Method in class kong.unirest.core.FilePart
- toString() - Method in class kong.unirest.core.Headers.Entry
- toString() - Method in class kong.unirest.core.Headers
- toString() - Method in class kong.unirest.core.HttpMethod
- toString() - Method in class kong.unirest.core.InputStreamPart
- toString() - Method in class kong.unirest.core.json.Foo
- toString() - Method in class kong.unirest.core.json.JSONArray
-
returns the String representation of the JSONArray
- toString() - Method in class kong.unirest.core.json.JSONObject
- toString() - Method in class kong.unirest.core.json.JSONPointer
- toString() - Method in class kong.unirest.core.json.NullObject
- toString() - Method in class kong.unirest.core.JsonNode
- toString() - Method in class kong.unirest.core.JsonPatch
- toString() - Method in class kong.unirest.core.JsonPatchItem
- toString() - Method in class kong.unirest.core.ParamPart
- toString() - Method in class kong.unirest.core.Path
- toString() - Method in class kong.unirest.core.SocketSet
- toString() - Method in class kong.unirest.core.UnibodyString
- toString() - Method in class kong.unirest.core.UniByteArrayBody
- toString(int) - Method in class kong.unirest.core.json.JSONArray
-
returns the String representation of the JSONArray
- toString(int) - Method in class kong.unirest.core.json.JSONObject
-
render the object as a JSON String
- toString(int) - Method in class kong.unirest.core.json.NullObject
- toSummary() - Method in class kong.unirest.core.BaseRequest
- toSummary() - Method in interface kong.unirest.core.HttpRequest
- toSummary() - Method in class kong.unirest.core.MockRawResponse
- toSummary() - Method in interface kong.unirest.core.RawResponse
-
returns a lightweight read only summary of the response.
- toSummary() - Method in class kong.unirest.core.RawResponseBase
- total - Variable in class kong.unirest.core.java.PartSubscriber
- totalNumBytesRead - Variable in class kong.unirest.core.java.MonitoringInputStream
- totalSize - Variable in class kong.unirest.core.MonitoringInputStream
- toTree(Object) - Static method in class kong.unirest.core.json.JSONElement
- toUriChunk() - Method in class kong.unirest.core.json.JSONPointer
- toURIFragment() - Method in class kong.unirest.core.json.JSONPointer
- toZonedInstance(TemporalAccessor) - Method in class kong.unirest.gson.GsonObjectMapper.CalendarSerializer
- TRACE - Static variable in class kong.unirest.core.HttpMethod
- TRAILER - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.40
- TRANSFER_ENCODING - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.41
- transformBody(Function<RawResponse, HttpResponse<T>>, RawResponse) - Method in class kong.unirest.core.java.JavaClient
- tryAsDateTime(String) - Static method in class kong.unirest.core.RetryStrategy.Standard
- tryCast(T, Class<M>) - Static method in class kong.unirest.core.Invocation
- tryCast(T, Class<M>) - Static method in class kong.unirest.core.Util
- tryGetCharset(String) - Method in class kong.unirest.core.MockRawResponse
- tryNumber(Supplier<T>, int) - Method in class kong.unirest.core.json.JSONArray
- tryNumber(Supplier<T>, String) - Method in class kong.unirest.core.json.JSONObject
- tryParseToDate(String) - Static method in class kong.unirest.core.Util
- trySeconds(String) - Static method in class kong.unirest.core.RetryStrategy.Standard
- TSV - Static variable in class kong.unirest.core.MimeTypes
- TTF - Static variable in class kong.unirest.core.MimeTypes
- ttl - Variable in class kong.unirest.core.Cache.Builder
- ttl - Variable in class kong.unirest.core.CacheManager.CacheMap
- TXT - Static variable in class kong.unirest.core.MimeTypes
- type - Variable in class kong.unirest.core.GenericType
U
- UNAUTHORIZED - Static variable in class kong.unirest.core.HttpStatus
- UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in class kong.unirest.core.HttpStatus
- unescape(String) - Static method in class kong.unirest.core.json.JSONPointer
- uniBodyMatches(String, Body) - Method in class kong.unirest.core.Invocation
- UnibodyString - Class in kong.unirest.core
- UnibodyString(String) - Constructor for class kong.unirest.core.UnibodyString
- UniByteArrayBody - Class in kong.unirest.core
- UniByteArrayBody(byte[]) - Constructor for class kong.unirest.core.UniByteArrayBody
- UniMetric - Interface in kong.unirest.core
-
A UniMetric is a factory for producing a MetricContext this will be called just before any Http Request
- UNINITIALIZED_LENGTH - Static variable in class kong.unirest.core.java.MultipartBodyPublisher
- uniPart() - Method in interface kong.unirest.core.Body
- uniPart() - Method in class kong.unirest.core.HttpRequestJsonPatch
- uniPart() - Method in class kong.unirest.core.HttpRequestUniBody
- Unirest - Class in kong.unirest.core
- Unirest() - Constructor for class kong.unirest.core.Unirest
- UnirestAssertion - Error in kong.unirest.core
-
Thrown to indicate that an assertion has failed.
- UnirestAssertion(String, Object...) - Constructor for error kong.unirest.core.UnirestAssertion
- UnirestConfigException - Exception in kong.unirest.core
- UnirestConfigException(Exception) - Constructor for exception kong.unirest.core.UnirestConfigException
- UnirestConfigException(String) - Constructor for exception kong.unirest.core.UnirestConfigException
- UnirestException - Exception in kong.unirest.core
- UnirestException(Exception) - Constructor for exception kong.unirest.core.UnirestException
- UnirestException(String) - Constructor for exception kong.unirest.core.UnirestException
- UnirestException(String, Throwable) - Constructor for exception kong.unirest.core.UnirestException
- UnirestException(Throwable) - Constructor for exception kong.unirest.core.UnirestException
- UnirestException(Collection<Exception>) - Constructor for exception kong.unirest.core.UnirestException
- UnirestInstance - Class in kong.unirest.core
-
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.
- UnirestInstance(Config) - Constructor for class kong.unirest.core.UnirestInstance
-
Create a new UnirestInstance with a config
- UnirestParsingException - Exception in kong.unirest.core
- UnirestParsingException(String, Exception) - Constructor for exception kong.unirest.core.UnirestParsingException
- UNKNOWN_LENGTH - Static variable in class kong.unirest.core.java.MultipartBodyPublisher
- UNPROCESSABLE_ENTITY - Static variable in class kong.unirest.core.HttpStatus
- UnrecoverableException - Exception in kong.unirest.core
-
An exception which prevents Unirest from attempting to recover the body from a failed response / parsing error
- UnrecoverableException(Exception) - Constructor for exception kong.unirest.core.UnrecoverableException
- UNSUPPORTED_MEDIA_TYPE - Static variable in class kong.unirest.core.HttpStatus
- UNUSED - Static variable in class kong.unirest.core.HttpStatus
- update(Upstream) - Method in class kong.unirest.core.java.Prefetcher
- updateProgress(long) - Method in class kong.unirest.core.java.MonitoringInputStream
- UPGRADE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.42
- UPGRADE_REQUIRED - Static variable in class kong.unirest.core.HttpStatus
- uploadMonitor(ProgressMonitor) - Method in class kong.unirest.core.HttpRequestMultiPart
- uploadMonitor(ProgressMonitor) - Method in class kong.unirest.core.HttpRequestUniBody
- uploadMonitor(ProgressMonitor) - Method in interface kong.unirest.core.MultipartBody
-
Set a file Progress upload monitor suitable for drawing progress bars and whatnot.
- uploadMonitor(ProgressMonitor) - Method in interface kong.unirest.core.RequestBodyEntity
-
Set a Progress upload monitor suitable for drawing progress bars and whatnot.
- upstream - Variable in class kong.unirest.core.java.PartPublisher
- upstream - Variable in class kong.unirest.core.java.PartSubscriber
- Upstream - Class in kong.unirest.core.java
-
A one-use atomic reference to an upstream subscription.
- Upstream() - Constructor for class kong.unirest.core.java.Upstream
- upstreamWindow - Variable in class kong.unirest.core.java.Prefetcher
- URI_TOO_LONG - Static variable in class kong.unirest.core.HttpStatus
- url - Variable in class kong.unirest.core.BaseRequest
- url - Variable in class kong.unirest.core.Path
- url - Variable in class kong.unirest.core.WebSocketRequestImpl
- USE_PROXY - Static variable in class kong.unirest.core.HttpStatus
- USER_AGENT - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.15, RFC 2616 (HTTP/1.1) Section 14.43
- username - Variable in class kong.unirest.core.Proxy
- useSystemProperties - Variable in class kong.unirest.core.Config
- useSystemProperties() - Method in class kong.unirest.core.Config
- useSystemProperties(boolean) - Method in class kong.unirest.core.Config
-
Tell the HttpClients to use the system properties for things like proxies
- Util - Class in kong.unirest.core
- Util() - Constructor for class kong.unirest.core.Util
V
- validateClientsNotRunning() - Method in class kong.unirest.core.Config
- validateIndex(int) - Method in class kong.unirest.jackson.JacksonArray
- value - Variable in class kong.unirest.core.BodyPart
- value - Variable in class kong.unirest.core.Cookie.Pair
- value - Variable in class kong.unirest.core.Cookie
- value - Variable in class kong.unirest.core.Headers.Entry
- value - Variable in class kong.unirest.core.JsonPatchItem
- value - Variable in class kong.unirest.core.QueryParams.NameValuePair
- valueOf(String) - Static method in enum kong.unirest.core.Cookie.SameSite
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class kong.unirest.core.HttpMethod
- valueOf(String) - Static method in enum kong.unirest.core.java.BoundaryAppender
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum kong.unirest.core.JsonPatchOperation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum kong.unirest.core.MultipartMode
-
Returns the enum constant of this type with the specified name.
- valueOr(T, Supplier<T>) - Method in class kong.unirest.core.BaseRequest
- values() - Static method in enum kong.unirest.core.Cookie.SameSite
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum kong.unirest.core.java.BoundaryAppender
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum kong.unirest.core.JsonPatchOperation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum kong.unirest.core.MultipartMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueToString(Object) - Static method in class kong.unirest.core.json.JSONObject
-
Converts an object to a JSON String
- VARIANT_ALSO_NEGOTIATES - Static variable in class kong.unirest.core.HttpStatus
- VARY - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.44
- verify() - Method in interface kong.unirest.core.Expectation
-
verify that all Expectations was fulfilled at least once.
- verify() - Method in interface kong.unirest.core.ExpectedResponse
-
verify that all Expectations was fulfilled at least once.
- verify() - Method in class kong.unirest.core.ExpectedResponseRecord
- verify() - Method in class kong.unirest.core.Invocation
- verify(Object) - Method in class kong.unirest.core.json.JSONPointer
- verify(Times) - Method in interface kong.unirest.core.Expectation
- verify(Times) - Method in interface kong.unirest.core.ExpectedResponse
- verify(Times) - Method in class kong.unirest.core.ExpectedResponseRecord
- verify(Times) - Method in class kong.unirest.core.Invocation
- verifyAll() - Method in interface kong.unirest.core.Assert
-
verify that all Expectations were fulfilled at least once.
- verifyAll() - Method in class kong.unirest.core.MockClient
-
Verify that all Expectations were invoked
- verifyAll() - Method in class kong.unirest.core.Routes
- verifySecurityConfig(Object) - Method in class kong.unirest.core.Config
- verifySsl - Variable in class kong.unirest.core.Config
- verifySsl(boolean) - Method in class kong.unirest.core.Config
-
Toggle verifying SSL/TLS certificates.
- version - Variable in class kong.unirest.core.BaseRequest
- version - Variable in class kong.unirest.core.Config
- version(HttpClient.Version) - Method in class kong.unirest.core.BaseRequest
- version(HttpClient.Version) - Method in class kong.unirest.core.Config
-
Requests a specific HTTP protocol version where possible.
- version(HttpClient.Version) - Method in interface kong.unirest.core.HttpRequest
-
sets the HTTP version for the request.
- VERSION_NOT_SUPPORTED - Static variable in class kong.unirest.core.HttpStatus
- VIA - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.45
W
- waitFor(long) - Method in interface kong.unirest.core.RetryStrategy
-
Puts the current executing thread to sleep for the specified millis
- WARNING - Static variable in class kong.unirest.core.HeaderNames
-
RFC 2616 (HTTP/1.1) Section 14.46
- wasInvokedTimes(int) - Method in interface kong.unirest.core.Assert
-
assert that this instance of method/path was invoked x times
- wasInvokedTimes(int) - Method in class kong.unirest.core.Routes
- WAV - Static variable in class kong.unirest.core.MimeTypes
- websocket(WebSocketRequest, WebSocket.Listener) - Method in class kong.unirest.core.CacheManager.CacheWrapper
- websocket(WebSocketRequest, WebSocket.Listener) - Method in interface kong.unirest.core.Client
-
Create a websocket connection
- websocket(WebSocketRequest, WebSocket.Listener) - Method in class kong.unirest.core.java.JavaClient
- websocket(WebSocketRequest, WebSocket.Listener) - Method in class kong.unirest.core.MockClient
- webSocket(String) - Static method in class kong.unirest.core.Unirest
- webSocket(String) - Method in class kong.unirest.core.UnirestInstance
- WEBSOCKET - Static variable in class kong.unirest.core.HttpMethod
- webSocketFuture - Variable in class kong.unirest.core.WebSocketResponse
- WebSocketRequest - Interface in kong.unirest.core
- WebSocketRequestImpl - Class in kong.unirest.core
- WebSocketRequestImpl(Config, String) - Constructor for class kong.unirest.core.WebSocketRequestImpl
- WebSocketResponse - Class in kong.unirest.core
-
Just a silly little class that holds on to the socket and listener
- WebSocketResponse(CompletableFuture<WebSocket>, WebSocket.Listener) - Constructor for class kong.unirest.core.WebSocketResponse
-
ctor
- WILDCARD - Static variable in class kong.unirest.core.ContentType
- withCharset(Charset) - Method in class kong.unirest.core.ContentType
- withConfigOptions(Consumer<MockConfig>) - Method in class kong.unirest.core.MockResponse
-
Set some options on the current MockConfig.
- withHeader(String, String) - Method in interface kong.unirest.core.ExpectedResponse
-
adds a header to the expected response
- withHeader(String, String) - Method in class kong.unirest.core.ExpectedResponseRecord
- withHeader(String, String) - Method in class kong.unirest.core.MockResponse
-
add a header value to the response
- withHeaders(Headers) - Method in interface kong.unirest.core.ExpectedResponse
-
adds a collection of headers to the expected response
- withHeaders(Headers) - Method in class kong.unirest.core.ExpectedResponseRecord
- withKeyGen(Cache.KeyGenerator) - Method in class kong.unirest.core.Cache.Builder
-
Provide a custom key generator.
- withObjectMapper(ObjectMapper) - Method in class kong.unirest.core.BaseRequest
- withObjectMapper(ObjectMapper) - Method in interface kong.unirest.core.HttpRequest
-
Pass a ObjectMapper for the request.
- withStatus(int) - Method in interface kong.unirest.core.ExpectedResponse
-
sets the status of the expected response
- withStatus(int) - Method in class kong.unirest.core.ExpectedResponseRecord
- withStatus(int, String) - Method in interface kong.unirest.core.ExpectedResponse
-
sets the status of the expected response
- withStatus(int, String) - Method in class kong.unirest.core.ExpectedResponseRecord
- WOF2 - Static variable in class kong.unirest.core.MimeTypes
- WOFF - Static variable in class kong.unirest.core.MimeTypes
- wrap(JsonNode) - Static method in class kong.unirest.jackson.JacksonElement
- wrap(InputStream, RawResponse) - Method in class kong.unirest.core.MonitoringInputStream
- wrap(Object) - Static method in class kong.unirest.core.json.JSONObject
-
Convert an object to a object that can be added to a JSONElement If the object is null return the NULL object If the object is primitive return the original object If the object is a map convert it to a JSONObject If the object is a Collection or array return a JSONArray If the object is anything else return a empty JSON Object
- wrap(Callback<T>) - Static method in class kong.unirest.core.CallbackFuture
- wrap(Client) - Method in class kong.unirest.core.CacheManager
- wrapArray(Object) - Static method in class kong.unirest.core.json.JSONObject
- wrapAsync(Client) - Method in class kong.unirest.core.CacheManager
- wrapper - Variable in class kong.unirest.core.CacheManager
- write(JsonWriter, Object) - Method in class kong.unirest.gson.GsonEngine.JavaTypeAdapter
- write(Writer) - Method in class kong.unirest.core.json.JSONElement
-
Write the JSON to a Writer
- write(Writer, int, int) - Method in class kong.unirest.core.json.JSONElement
-
Write the JSON to a Writer with a pretty format due to limitations in GSON the index and indent are currently ignored
- write(JsonEngine.Element, Writer) - Static method in class kong.unirest.core.json.JSONElement
- writeValue(Object) - Method in interface kong.unirest.core.ObjectMapper
-
Takes a object and serialize it as a string.
- writeValue(Object) - Method in class kong.unirest.gson.GsonObjectMapper
- writeValue(Object) - Method in class kong.unirest.jackson.JacksonObjectMapper
- WWW_AUTHENTICATE - Static variable in class kong.unirest.core.HeaderNames
-
RFC 1945 (HTTP/1.0) Section 10.16, RFC 2616 (HTTP/1.1) Section 14.47
X
- XLAM - Static variable in class kong.unirest.core.MimeTypes
- XLS - Static variable in class kong.unirest.core.MimeTypes
- XLSB - Static variable in class kong.unirest.core.MimeTypes
- XLSX - Static variable in class kong.unirest.core.MimeTypes
- XLTX - Static variable in class kong.unirest.core.MimeTypes
- XML - Static variable in class kong.unirest.core.MimeTypes
Z
- ZIP - Static variable in class kong.unirest.core.MimeTypes
- ZonedDateAdapter() - Constructor for class kong.unirest.gson.GsonObjectMapper.ZonedDateAdapter
All Classes All Packages