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