public interface Client
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<Exception> |
close() |
org.apache.http.client.HttpClient |
getClient()
Deprecated.
Eventually the apache implementation will be hidden and other implementation wi be available
|
<T> HttpResponse<T> |
request(HttpRequest request,
java.util.function.Function<RawResponse,HttpResponse<T>> transformer)
Make a request
|
org.apache.http.client.HttpClient getClient()
<T> HttpResponse<T> request(HttpRequest request, java.util.function.Function<RawResponse,HttpResponse<T>> transformer)
T - The type of the bodyrequest - the prepared request objecttransformer - the function to transform the responsejava.util.stream.Stream<Exception> close()
Copyright © 2019. All rights reserved.