Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.dnsoverhttps |
A DNS over HTTPS implementation for OkHttp.
|
okhttp3.internal | |
okhttp3.internal.connection | |
okhttp3.internal.http | |
okhttp3.internal.http1 | |
okhttp3.internal.http2 | |
okhttp3.internal.sse |
Private support classes for server-sent events.
|
okhttp3.internal.ws | |
okhttp3.sse |
Support for server-sent events.
|
Modifier and Type | Field and Description |
---|---|
(package private) OkHttpClient |
RealCall.client |
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
OkHttpClient.Builder.build() |
Modifier and Type | Method and Description |
---|---|
(package private) static RealCall |
RealCall.newRealCall(OkHttpClient client,
Request originalRequest,
boolean forWebSocket) |
Constructor and Description |
---|
Builder(OkHttpClient okHttpClient) |
RealCall(OkHttpClient client,
Request originalRequest,
boolean forWebSocket) |
Modifier and Type | Field and Description |
---|---|
private OkHttpClient |
DnsOverHttps.client |
(package private) OkHttpClient |
DnsOverHttps.Builder.client |
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
DnsOverHttps.client() |
Modifier and Type | Method and Description |
---|---|
DnsOverHttps.Builder |
DnsOverHttps.Builder.client(OkHttpClient client) |
Modifier and Type | Method and Description |
---|---|
abstract Call |
Internal.newWebSocketCall(OkHttpClient client,
Request request) |
Modifier and Type | Field and Description |
---|---|
private OkHttpClient |
Transmitter.client |
OkHttpClient |
ConnectInterceptor.client |
Modifier and Type | Method and Description |
---|---|
ExchangeCodec |
ExchangeFinder.find(OkHttpClient client,
Interceptor.Chain chain,
boolean doExtensiveHealthChecks) |
(package private) ExchangeCodec |
RealConnection.newCodec(OkHttpClient client,
Interceptor.Chain chain) |
Constructor and Description |
---|
ConnectInterceptor(OkHttpClient client) |
Transmitter(OkHttpClient client,
Call call) |
Modifier and Type | Field and Description |
---|---|
private OkHttpClient |
RetryAndFollowUpInterceptor.client |
Constructor and Description |
---|
RetryAndFollowUpInterceptor(OkHttpClient client) |
Modifier and Type | Field and Description |
---|---|
private OkHttpClient |
Http1ExchangeCodec.client
The client that configures this stream.
|
Constructor and Description |
---|
Http1ExchangeCodec(OkHttpClient client,
RealConnection realConnection,
okio.BufferedSource source,
okio.BufferedSink sink) |
Constructor and Description |
---|
Http2ExchangeCodec(OkHttpClient client,
RealConnection realConnection,
Interceptor.Chain chain,
Http2Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
RealEventSource.connect(OkHttpClient client) |
Modifier and Type | Method and Description |
---|---|
void |
RealWebSocket.connect(OkHttpClient client) |
Modifier and Type | Method and Description |
---|---|
static EventSource.Factory |
EventSources.createFactory(OkHttpClient client) |