public class ApacheHttpClientInterceptor extends Object implements HttpClientInterceptor
| Constructor and Description |
|---|
ApacheHttpClientInterceptor(org.apache.http.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Function<RecordoRequest,Optional<RecordoResponse>> onBeforeRequest,
BiFunction<RecordoRequest,RecordoResponse,RecordoResponse> onAfterRequest) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapacheHttpClientInterceptor, of, okHttpClient, okHttpClientInterceptorpublic ApacheHttpClientInterceptor(org.apache.http.client.HttpClient httpClient)
public void init(Function<RecordoRequest,Optional<RecordoResponse>> onBeforeRequest, BiFunction<RecordoRequest,RecordoResponse,RecordoResponse> onAfterRequest)
init in interface HttpClientInterceptorCopyright © 2020. All rights reserved.