Package | Description |
---|---|
okhttp3.internal.connection | |
okhttp3.internal.http | |
okhttp3.internal.http1 | |
okhttp3.internal.http2 |
Modifier and Type | Method and Description |
---|---|
HttpCodec |
StreamAllocation.codec() |
HttpCodec |
RealConnection.newCodec(OkHttpClient client,
Interceptor.Chain chain,
StreamAllocation streamAllocation) |
HttpCodec |
StreamAllocation.newStream(OkHttpClient client,
Interceptor.Chain chain,
boolean doExtensiveHealthChecks) |
Modifier and Type | Method and Description |
---|---|
void |
StreamAllocation.streamFinished(boolean noNewStreams,
HttpCodec codec,
long bytesRead,
IOException e) |
Modifier and Type | Method and Description |
---|---|
HttpCodec |
RealInterceptorChain.httpStream() |
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) |
Modifier and Type | Class and Description |
---|---|
class |
Http1Codec
A socket connection that can be used to send HTTP/1.1 messages.
|
Modifier and Type | Class and Description |
---|---|
class |
Http2Codec
Encode requests and responses using HTTP/2 frames.
|
Copyright © 2019. All rights reserved.