public interface Client
| Modifier and Type | Method and Description |
|---|---|
Stream<Exception> |
close() |
Object |
getClient() |
void |
registerShutdownHook() |
<T> HttpResponse<T> |
request(HttpRequest request,
Function<RawResponse,HttpResponse<T>> transformer)
Make a request
|
Object getClient()
<T> HttpResponse<T> request(HttpRequest request, Function<RawResponse,HttpResponse<T>> transformer)
T - The type of the bodyrequest - the prepared request objecttransformer - the function to transform the responseStream<Exception> close()
void registerShutdownHook()
Copyright © 2020. All rights reserved.