public final class OkHttpCommandExecutorService extends BaseHttpCommandExecutorService<okhttp3.Request>
contentMetadataCodec, errorHandler, headerLog, ioRetryHandler, logger, retryHandler, utils, wire
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(okhttp3.Request nativeResponse) |
protected okhttp3.Request |
convert(HttpRequest request) |
protected okhttp3.RequestBody |
generateRequestBody(HttpRequest request,
Payload payload) |
protected HttpResponse |
invoke(okhttp3.Request nativeRequest) |
protected void |
populateHeaders(HttpRequest request,
okhttp3.Request.Builder builder) |
invoke
protected okhttp3.Request convert(HttpRequest request) throws IOException, InterruptedException
convert
in class BaseHttpCommandExecutorService<okhttp3.Request>
IOException
InterruptedException
protected void populateHeaders(HttpRequest request, okhttp3.Request.Builder builder)
protected okhttp3.RequestBody generateRequestBody(HttpRequest request, Payload payload)
protected HttpResponse invoke(okhttp3.Request nativeRequest) throws IOException, InterruptedException
invoke
in class BaseHttpCommandExecutorService<okhttp3.Request>
IOException
InterruptedException
protected void cleanup(okhttp3.Request nativeResponse)
cleanup
in class BaseHttpCommandExecutorService<okhttp3.Request>
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.