public abstract class Internal extends Object
okhttp3 so they can be used from OkHttp's implementation packages. The only implementation of this interface is in
OkHttpClient.
| Modifier and Type | Field and Description |
|---|---|
static Internal |
instance
|
static Logger |
logger
|
| Constructor and Description |
|---|
Internal()
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addLenient(Headers
|
abstract void |
addLenient(Headers
|
abstract void |
apply(ConnectionSpec
|
abstract StreamAllocation |
callEngineGetStreamAllocation(Call
|
abstract void |
callEnqueue(Call
|
abstract boolean |
connectionBecameIdle(ConnectionPool
|
abstract RealConnection |
get(ConnectionPool
|
abstract HttpUrl |
getHttpUrlChecked(String
|
static void |
initializeInstanceForTests()
|
abstract InternalCache |
internalCache(OkHttpClient
|
abstract void |
put(ConnectionPool
|
abstract RouteDatabase |
routeDatabase(ConnectionPool
|
abstract void |
setCache(OkHttpClient
|
public static void initializeInstanceForTests()
public abstract void addLenient(Headers.Builder builder, String line)
public abstract void addLenient(Headers.Builder builder, String name, String value)
public abstract void setCache(OkHttpClient.Builder builder, InternalCache internalCache)
public abstract InternalCacheinternalCache(OkHttpClient client)
public abstract RealConnectionget(ConnectionPool pool, Address address, StreamAllocation streamAllocation)
public abstract void put(ConnectionPoolpool, RealConnection connection)
public abstract boolean connectionBecameIdle(ConnectionPoolpool, RealConnection connection)
public abstract RouteDatabaserouteDatabase(ConnectionPool connectionPool)
public abstract void apply(ConnectionSpectlsConfiguration, SSLSocket sslSocket, boolean isFallback)
public abstract HttpUrlgetHttpUrlChecked(String url) throws MalformedURLException , UnknownHostException
public abstract void callEnqueue(Callcall, Callback responseCallback, boolean forWebSocket)
public abstract StreamAllocationcallEngineGetStreamAllocation(Call call)