178 lines
4.6 KiB
Smali
178 lines
4.6 KiB
Smali
.class final Lokhttp3/OkHttpClient$1;
|
|
.super Lokhttp3/internal/Internal;
|
|
.source "OkHttpClient.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/OkHttpClient;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 130
|
|
invoke-direct {p0}, Lokhttp3/internal/Internal;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addLenient(Lokhttp3/Headers$Builder;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 132
|
|
invoke-virtual {p1, p2}, Lokhttp3/Headers$Builder;->addLenient(Ljava/lang/String;)Lokhttp3/Headers$Builder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addLenient(Lokhttp3/Headers$Builder;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 136
|
|
invoke-virtual {p1, p2, p3}, Lokhttp3/Headers$Builder;->addLenient(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public apply(Lokhttp3/ConnectionSpec;Ljavax/net/ssl/SSLSocket;Z)V
|
|
.locals 0
|
|
|
|
.line 176
|
|
invoke-virtual {p1, p2, p3}, Lokhttp3/ConnectionSpec;->apply(Ljavax/net/ssl/SSLSocket;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public code(Lokhttp3/Response$Builder;)I
|
|
.locals 0
|
|
|
|
.line 171
|
|
iget p1, p1, Lokhttp3/Response$Builder;->code:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public connectionBecameIdle(Lokhttp3/ConnectionPool;Lokhttp3/internal/connection/RealConnection;)Z
|
|
.locals 0
|
|
|
|
.line 145
|
|
invoke-virtual {p1, p2}, Lokhttp3/ConnectionPool;->connectionBecameIdle(Lokhttp3/internal/connection/RealConnection;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public deduplicate(Lokhttp3/ConnectionPool;Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;)Ljava/net/Socket;
|
|
.locals 0
|
|
|
|
.line 159
|
|
invoke-virtual {p1, p2, p3}, Lokhttp3/ConnectionPool;->deduplicate(Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;)Ljava/net/Socket;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public equalsNonHost(Lokhttp3/Address;Lokhttp3/Address;)Z
|
|
.locals 0
|
|
|
|
.line 154
|
|
invoke-virtual {p1, p2}, Lokhttp3/Address;->equalsNonHost(Lokhttp3/Address;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public get(Lokhttp3/ConnectionPool;Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/Route;)Lokhttp3/internal/connection/RealConnection;
|
|
.locals 0
|
|
|
|
.line 150
|
|
invoke-virtual {p1, p2, p3, p4}, Lokhttp3/ConnectionPool;->get(Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/Route;)Lokhttp3/internal/connection/RealConnection;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getHttpUrlChecked(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/net/MalformedURLException;,
|
|
Ljava/net/UnknownHostException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 181
|
|
invoke-static {p1}, Lokhttp3/HttpUrl;->getChecked(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public newWebSocketCall(Lokhttp3/OkHttpClient;Lokhttp3/Request;)Lokhttp3/Call;
|
|
.locals 2
|
|
|
|
.line 189
|
|
new-instance v0, Lokhttp3/RealCall;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, p1, p2, v1}, Lokhttp3/RealCall;-><init>(Lokhttp3/OkHttpClient;Lokhttp3/Request;Z)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public put(Lokhttp3/ConnectionPool;Lokhttp3/internal/connection/RealConnection;)V
|
|
.locals 0
|
|
|
|
.line 163
|
|
invoke-virtual {p1, p2}, Lokhttp3/ConnectionPool;->put(Lokhttp3/internal/connection/RealConnection;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public routeDatabase(Lokhttp3/ConnectionPool;)Lokhttp3/internal/connection/RouteDatabase;
|
|
.locals 0
|
|
|
|
.line 167
|
|
iget-object p1, p1, Lokhttp3/ConnectionPool;->routeDatabase:Lokhttp3/internal/connection/RouteDatabase;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public setCache(Lokhttp3/OkHttpClient$Builder;Lokhttp3/internal/cache/InternalCache;)V
|
|
.locals 0
|
|
|
|
.line 140
|
|
invoke-virtual {p1, p2}, Lokhttp3/OkHttpClient$Builder;->setInternalCache(Lokhttp3/internal/cache/InternalCache;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public streamAllocation(Lokhttp3/Call;)Lokhttp3/internal/connection/StreamAllocation;
|
|
.locals 0
|
|
|
|
.line 185
|
|
check-cast p1, Lokhttp3/RealCall;
|
|
|
|
invoke-virtual {p1}, Lokhttp3/RealCall;->streamAllocation()Lokhttp3/internal/connection/StreamAllocation;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|