Package | Description |
---|---|
okhttp3.internal | |
okhttp3.internal.connection | |
okhttp3.internal.http |
Modifier and Type | Method and Description |
---|---|
abstract RealConnection |
Internal.get(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation,
Route route) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Internal.connectionBecameIdle(ConnectionPool pool,
RealConnection connection) |
abstract void |
Internal.put(ConnectionPool pool,
RealConnection connection) |
Modifier and Type | Method and Description |
---|---|
RealConnection |
StreamAllocation.connection() |
static RealConnection |
RealConnection.testConnection(ConnectionPool connectionPool,
Route route,
Socket socket,
long idleAtNanos) |
Modifier and Type | Method and Description |
---|---|
void |
StreamAllocation.acquire(RealConnection connection,
boolean reportedAcquired)
Use this allocation to hold
connection . |
Socket |
StreamAllocation.releaseAndAcquire(RealConnection newConnection)
Release the connection held by this connection and acquire
newConnection instead. |
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) |
Copyright © 2019. All rights reserved.