class HttpClient extends Object implements IncomingRequestAwareClient
| Modifier and Type | Field and Description |
|---|---|
private static String |
AUTHORIZATION_HEADER |
private com.squareup.okhttp.OkHttpClient |
client |
private static com.squareup.okhttp.MediaType |
DEFAULT_CONTENT_TYPE |
| Constructor and Description |
|---|
HttpClient(com.squareup.okhttp.OkHttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
static HttpClient |
create()
Deprecated.
|
static HttpClient |
createUnconfigured() |
CompletionStage<Response<okio.ByteString>> |
send(Request apolloRequest,
Optional<Request> apolloIncomingRequest) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasUnawareClient, wrapRequestprivate static final com.squareup.okhttp.MediaType DEFAULT_CONTENT_TYPE
private static final String AUTHORIZATION_HEADER
private final com.squareup.okhttp.OkHttpClient client
@Deprecated public static HttpClient create()
public static HttpClient createUnconfigured()
public CompletionStage<Response<okio.ByteString>> send(Request apolloRequest, Optional<Request> apolloIncomingRequest)
send in interface IncomingRequestAwareClientCopyright © 2016. All rights reserved.