com.undefinedlabs.scope.deps.okhttp3.internal.Internal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scope-deps Show documentation
Show all versions of scope-deps Show documentation
Scope is a APM for tests to give engineering teams unprecedented visibility into their CI process to quickly
identify, troubleshoot and fix failed builds.
This artifact contains dependencies for Scope.
package com.undefinedlabs.scope.deps.okhttp3.internal;
import com.undefinedlabs.scope.deps.okhttp3.*;
import com.undefinedlabs.scope.deps.okhttp3.internal.cache.InternalCache;
import com.undefinedlabs.scope.deps.okhttp3.internal.connection.RealConnection;
import com.undefinedlabs.scope.deps.okhttp3.internal.connection.RouteDatabase;
import com.undefinedlabs.scope.deps.okhttp3.internal.connection.StreamAllocation;
import javax.net.ssl.SSLSocket;
import java.net.MalformedURLException;
import java.net.Socket;
import java.net.UnknownHostException;
public abstract class Internal {
public static void initializeInstanceForTests() {
// Needed in tests to ensure that the instance is actually pointing to something.
new OkHttpClient();
}
public static Internal instance;
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 RealConnection get(ConnectionPool pool, Address address,
StreamAllocation streamAllocation, Route route);
public abstract boolean equalsNonHost(Address a, Address b);
public abstract Socket deduplicate(
ConnectionPool pool, Address address, StreamAllocation streamAllocation);
public abstract void put(ConnectionPool pool, RealConnection connection);
public abstract boolean connectionBecameIdle(ConnectionPool pool, RealConnection connection);
public abstract RouteDatabase routeDatabase(ConnectionPool connectionPool);
public abstract int code(Response.Builder responseBuilder);
public abstract void apply(ConnectionSpec tlsConfiguration, SSLSocket sslSocket,
boolean isFallback);
public abstract HttpUrl getHttpUrlChecked(String url)
throws MalformedURLException, UnknownHostException;
public abstract StreamAllocation streamAllocation(Call call);
public abstract Call newWebSocketCall(OkHttpClient client, Request request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy