| Modifier and Type | Method and Description |
|---|---|
<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>> |
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 ObjectMapper
|
int |
GenericType.compareTo(GenericType<T> o) |
default <T> T |
ObjectMapper.readValue(String value,
GenericType<T> genericType) |
Copyright © 2019. All rights reserved.