2019-07-24 11:27:29 +00:00
|
|
|
.class final Lokhttp3/internal/g/d;
|
|
|
|
.super Lokhttp3/internal/g/f;
|
|
|
|
.source "JdkWithJettyBootPlatform.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/internal/g/d$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-28 23:46:47 +00:00
|
|
|
.field private final bxd:Ljava/lang/reflect/Method;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
.field private final bxe:Ljava/lang/reflect/Method;
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
.field private final bxf:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
.field private final bxg:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final getMethod:Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method private constructor <init>(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Class;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/reflect/Method;",
|
|
|
|
"Ljava/lang/reflect/Method;",
|
|
|
|
"Ljava/lang/reflect/Method;",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/internal/g/f;-><init>()V
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/g/d;->bxd:Ljava/lang/reflect/Method;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput-object p2, p0, Lokhttp3/internal/g/d;->getMethod:Ljava/lang/reflect/Method;
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iput-object p3, p0, Lokhttp3/internal/g/d;->bxe:Ljava/lang/reflect/Method;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iput-object p4, p0, Lokhttp3/internal/g/d;->bxf:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iput-object p5, p0, Lokhttp3/internal/g/d;->bxg:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.method public static GL()Lokhttp3/internal/g/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 10
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "org.eclipse.jetty.alpn.ALPN"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "$Provider"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v4, "$ClientProvider"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-static {v3}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, "$ServerProvider"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
const-string v0, "put"
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
new-array v3, v3, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v4, Ljavax/net/ssl/SSLSocket;
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
aput-object v2, v3, v4
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v2, "get"
|
|
|
|
|
|
|
|
new-array v3, v4, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v6, Ljavax/net/ssl/SSLSocket;
|
|
|
|
|
|
|
|
aput-object v6, v3, v5
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string v2, "remove"
|
|
|
|
|
|
|
|
new-array v3, v4, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v4, Ljavax/net/ssl/SSLSocket;
|
|
|
|
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
new-instance v1, Lokhttp3/internal/g/d;
|
|
|
|
|
|
|
|
move-object v4, v1
|
|
|
|
|
|
|
|
move-object v5, v0
|
|
|
|
|
|
|
|
invoke-direct/range {v4 .. v9}, Lokhttp3/internal/g/d;-><init>(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Class;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljavax/net/ssl/SSLSocket;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lokhttp3/u;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p3}, Lokhttp3/internal/g/d;->X(Ljava/util/List;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-class p3, Lokhttp3/internal/g/f;
|
|
|
|
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
new-array v1, v0, [Ljava/lang/Class;
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/internal/g/d;->bxf:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/internal/g/d;->bxg:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
aput-object v2, v1, v4
|
|
|
|
|
|
|
|
new-instance v2, Lokhttp3/internal/g/d$a;
|
|
|
|
|
|
|
|
invoke-direct {v2, p2}, Lokhttp3/internal/g/d$a;-><init>(Ljava/util/List;)V
|
|
|
|
|
|
|
|
invoke-static {p3, v1, v2}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-object p3, p0, Lokhttp3/internal/g/d;->bxd:Ljava/lang/reflect/Method;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object p1, v0, v3
|
|
|
|
|
|
|
|
aput-object p2, v0, v4
|
|
|
|
|
|
|
|
invoke-virtual {p3, v1, v0}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string p2, "unable to set alpn"
|
|
|
|
|
|
|
|
invoke-static {p2, p1}, Lokhttp3/internal/c;->a(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final e(Ljavax/net/ssl/SSLSocket;)Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/d;->getMethod:Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aput-object p1, v1, v2
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/reflect/Proxy;->getInvocationHandler(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/internal/g/d$a;
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-boolean v1, v0, Lokhttp3/internal/g/d$a;->bxh:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-object v1, v0, Lokhttp3/internal/g/d$a;->bxi:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->GR()Lokhttp3/internal/g/f;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
|
|
|
const-string v2, "ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2, p1}, Lokhttp3/internal/g/f;->a(ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-boolean v1, v0, Lokhttp3/internal/g/d$a;->bxh:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-object p1, v0, Lokhttp3/internal/g/d$a;->bxi:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string v0, "unable to get selected protocol"
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lokhttp3/internal/c;->a(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final f(Ljavax/net/ssl/SSLSocket;)V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-28 23:46:47 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/d;->bxe:Ljava/lang/reflect/Method;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object p1, v2, v3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string v0, "unable to remove alpn"
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lokhttp3/internal/c;->a(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|