Package | Description |
---|---|
okhttp3.internal | |
okhttp3.internal.connection | |
okhttp3.internal.http | |
okhttp3.internal.http1 | |
okhttp3.internal.http2 |
Modifier and Type | Method and Description |
---|---|
abstract StreamAllocation |
Internal.streamAllocation(Call call) |
Modifier and Type | Method and Description |
---|---|
abstract Socket |
Internal.deduplicate(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation) |
abstract RealConnection |
Internal.get(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation,
Route route) |
Modifier and Type | Field and Description |
---|---|
List<Reference<StreamAllocation>> |
RealConnection.allocations
Current streams carried by this connection.
|
Modifier and Type | Method and Description |
---|---|
HttpCodec |
RealConnection.newCodec(OkHttpClient client,
Interceptor.Chain chain,
StreamAllocation streamAllocation) |
RealWebSocket.Streams |
RealConnection.newWebSocketStreams(StreamAllocation streamAllocation) |
Modifier and Type | Method and Description |
---|---|
StreamAllocation |
RetryAndFollowUpInterceptor.streamAllocation() |
StreamAllocation |
RealInterceptorChain.streamAllocation() |
Modifier and Type | Method and Description |
---|---|
Response |
RealInterceptorChain.proceed(Request request,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection) |
Constructor and Description |
---|
RealInterceptorChain(List<Interceptor> interceptors,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection,
int index,
Request request,
Call call,
EventListener eventListener,
int connectTimeout,
int readTimeout,
int writeTimeout) |
Constructor and Description |
---|
Http1Codec(OkHttpClient client,
StreamAllocation streamAllocation,
okio.BufferedSource source,
okio.BufferedSink sink) |
Constructor and Description |
---|
Http2Codec(OkHttpClient client,
Interceptor.Chain chain,
StreamAllocation streamAllocation,
Http2Connection connection) |
Copyright © 2018. All rights reserved.