Uses of Interface
kong.unirest.core.HttpRequest
-
Packages that use HttpRequest Package Description kong.unirest.core kong.unirest.core.java -
-
Uses of HttpRequest in kong.unirest.core
Classes in kong.unirest.core with type parameters of type HttpRequest Modifier and Type Interface Description interface
HttpRequest<R extends HttpRequest>
The primary request builder used to create a request.Subinterfaces of HttpRequest in kong.unirest.core Modifier and Type Interface Description interface
GetRequest
interface
HttpRequestWithBody
A request Builder for POST and PUT operations with a body.interface
JsonPatchRequest
interface
MultipartBody
Represents a multi-part body builder for a request.interface
RequestBodyEntity
Methods in kong.unirest.core with parameters of type HttpRequest Modifier and Type Method Description Cache.Key
Cache.KeyGenerator. apply(HttpRequest request, Boolean isAsync, Class<?> responseType)
A function to generate a cache keydefault void
Interceptor. onRequest(HttpRequest<?> request, Config config)
Called just before a request.<T> HttpResponse<T>
Client. request(HttpRequest request, Function<RawResponse,HttpResponse<T>> transformer, Class<?> resultType)
Make a request<T> CompletableFuture<HttpResponse<T>>
Client. request(HttpRequest request, Function<RawResponse,HttpResponse<T>> transformer, CompletableFuture<HttpResponse<T>> callback, Class<?> resultType)
Make a Async requestMethod parameters in kong.unirest.core with type arguments of type HttpRequest Modifier and Type Method Description <T> PagedList<T>
HttpRequest. asPaged(Function<HttpRequest,HttpResponse> mappingFunction, Function<HttpResponse<T>,String> linkExtractor)
Allows for following paging links common in many APIs. -
Uses of HttpRequest in kong.unirest.core.java
Methods in kong.unirest.core.java with parameters of type HttpRequest Modifier and Type Method Description <T> HttpResponse<T>
JavaClient. request(HttpRequest request, Function<RawResponse,HttpResponse<T>> transformer, Class<?> resultType)
<T> CompletableFuture<HttpResponse<T>>
JavaClient. request(HttpRequest request, Function<RawResponse,HttpResponse<T>> transformer, CompletableFuture<HttpResponse<T>> callback, Class<?> resultType)
-