171 lines
4.4 KiB
Java
171 lines
4.4 KiB
Java
|
package okhttp3;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
import java.net.InetAddress;
|
||
|
import java.net.InetSocketAddress;
|
||
|
import java.net.Proxy;
|
||
|
import java.util.List;
|
||
|
import o.C14953gcr;
|
||
|
import o.C14957gcv;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class EventListener {
|
||
|
public static final Companion Companion = new Companion(null);
|
||
|
public static final EventListener NONE = new EventListener() { // from class: okhttp3.EventListener$Companion$NONE$1
|
||
|
};
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface Factory {
|
||
|
EventListener create(Call call);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class Companion {
|
||
|
private Companion() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Companion(C14953gcr c14953gcr) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public void secureConnectStart(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void secureConnectEnd(Call call, Handshake handshake) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void satisfactionFailure(Call call, Response response) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(response, "");
|
||
|
}
|
||
|
|
||
|
public void responseHeadersStart(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void responseHeadersEnd(Call call, Response response) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(response, "");
|
||
|
}
|
||
|
|
||
|
public void responseFailed(Call call, IOException iOException) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(iOException, "");
|
||
|
}
|
||
|
|
||
|
public void responseBodyStart(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void responseBodyEnd(Call call, long j) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void requestHeadersStart(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void requestHeadersEnd(Call call, Request request) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(request, "");
|
||
|
}
|
||
|
|
||
|
public void requestFailed(Call call, IOException iOException) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(iOException, "");
|
||
|
}
|
||
|
|
||
|
public void requestBodyStart(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void requestBodyEnd(Call call, long j) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void proxySelectStart(Call call, HttpUrl httpUrl) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(httpUrl, "");
|
||
|
}
|
||
|
|
||
|
public void proxySelectEnd(Call call, HttpUrl httpUrl, List<Proxy> list) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(httpUrl, "");
|
||
|
C14957gcv.e(list, "");
|
||
|
}
|
||
|
|
||
|
public void dnsStart(Call call, String str) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
}
|
||
|
|
||
|
public void dnsEnd(Call call, String str, List<InetAddress> list) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(list, "");
|
||
|
}
|
||
|
|
||
|
public void connectionReleased(Call call, Connection connection) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(connection, "");
|
||
|
}
|
||
|
|
||
|
public void connectionAcquired(Call call, Connection connection) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(connection, "");
|
||
|
}
|
||
|
|
||
|
public void connectStart(Call call, InetSocketAddress inetSocketAddress, Proxy proxy) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(inetSocketAddress, "");
|
||
|
C14957gcv.e(proxy, "");
|
||
|
}
|
||
|
|
||
|
public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol, IOException iOException) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(inetSocketAddress, "");
|
||
|
C14957gcv.e(proxy, "");
|
||
|
C14957gcv.e(iOException, "");
|
||
|
}
|
||
|
|
||
|
public void connectEnd(Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(inetSocketAddress, "");
|
||
|
C14957gcv.e(proxy, "");
|
||
|
}
|
||
|
|
||
|
public void canceled(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void callStart(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void callFailed(Call call, IOException iOException) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(iOException, "");
|
||
|
}
|
||
|
|
||
|
public void callEnd(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void cacheMiss(Call call) {
|
||
|
C14957gcv.e(call, "");
|
||
|
}
|
||
|
|
||
|
public void cacheHit(Call call, Response response) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(response, "");
|
||
|
}
|
||
|
|
||
|
public void cacheConditionalHit(Call call, Response response) {
|
||
|
C14957gcv.e(call, "");
|
||
|
C14957gcv.e(response, "");
|
||
|
}
|
||
|
}
|