Uses of Class
kong.unirest.core.GenericType
Packages that use GenericType
-
Uses of GenericType in kong.unirest.core
Methods in kong.unirest.core with parameters of type GenericTypeModifier and TypeMethodDescription<T> HttpResponse
<T> BaseRequest.asObject
(GenericType<T> genericType) <T> HttpResponse
<T> HttpRequest.asObject
(GenericType<T> genericType) Executes the request and returns the response with the body mapped into T by a configured ObjectMapper<T> CompletableFuture
<HttpResponse<T>> BaseRequest.asObjectAsync
(GenericType<T> genericType) <T> CompletableFuture
<HttpResponse<T>> BaseRequest.asObjectAsync
(GenericType<T> genericType, Callback<T> callback) <T> CompletableFuture
<HttpResponse<T>> HttpRequest.asObjectAsync
(GenericType<T> genericType) Executes the request asynchronously, and use a GenericType with the ObjectMapper<T> CompletableFuture
<HttpResponse<T>> HttpRequest.asObjectAsync
(GenericType<T> genericType, Callback<T> callback) Executes the request asynchronously, and use a GenericType with the ObjectMapperint
GenericType.compareTo
(GenericType<T> o) default <T> T
ObjectMapper.readValue
(String value, GenericType<T> genericType) reads the content from the request as a string and transforms to a type passed by the asObject method on the Unirest builder.Constructors in kong.unirest.core with parameters of type GenericTypeModifierConstructorDescription(package private)
ObjectResponse
(ObjectMapper om, RawResponse response, GenericType<? extends T> to) -
Uses of GenericType in kong.unirest.modules.gson
Methods in kong.unirest.modules.gson with parameters of type GenericTypeModifier and TypeMethodDescription<T> T
GsonObjectMapper.readValue
(String value, GenericType<T> genericType) -
Uses of GenericType in kong.unirest.modules.jackson
Methods in kong.unirest.modules.jackson with parameters of type GenericTypeModifier and TypeMethodDescription<T> T
JacksonObjectMapper.readValue
(String value, GenericType<T> genericType)