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.| 构造器和说明 |
|---|
Internal() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
addLenient(Headers.Builder builder,
String line) |
abstract void |
addLenient(Headers.Builder builder,
String name,
String value) |
abstract void |
apply(ConnectionSpec tlsConfiguration,
SSLSocket sslSocket,
boolean isFallback) |
abstract int |
code(Response.Builder responseBuilder) |
abstract boolean |
equalsNonHost(Address a,
Address b) |
abstract Exchange |
exchange(Response response) |
abstract void |
initExchange(Response.Builder responseBuilder,
Exchange exchange) |
static void |
initializeInstanceForTests() |
abstract Call |
newWebSocketCall(OkHttpClient client,
Request request) |
abstract RealConnectionPool |
realConnectionPool(ConnectionPool connectionPool) |
public static Internal instance
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 RealConnectionPool realConnectionPool(ConnectionPool connectionPool)
public abstract int code(Response.Builder responseBuilder)
public abstract void apply(ConnectionSpec tlsConfiguration, SSLSocket sslSocket, boolean isFallback)
public abstract Call newWebSocketCall(OkHttpClient client, Request request)
public abstract void initExchange(Response.Builder responseBuilder, Exchange exchange)
Copyright © 2022. All rights reserved.