213 lines
5.1 KiB
Smali
213 lines
5.1 KiB
Smali
.class public Lorg/apache/http/impl/conn/SingleClientConnManager;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lorg/apache/http/conn/ClientConnectionManager;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lorg/apache/http/impl/conn/SingleClientConnManager$ConnAdapter;,
|
|
Lorg/apache/http/impl/conn/SingleClientConnManager$PoolEntry;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final MISUSE_MESSAGE:Ljava/lang/String; = "Invalid use of SingleClientConnManager: connection still allocated.\nMake sure to release the connection before allocating another one."
|
|
|
|
|
|
# instance fields
|
|
.field protected alwaysShutDown:Z
|
|
|
|
.field protected connOperator:Lorg/apache/http/conn/ClientConnectionOperator;
|
|
|
|
.field protected connectionExpiresTime:J
|
|
|
|
.field protected volatile isShutDown:Z
|
|
|
|
.field protected lastReleaseTime:J
|
|
|
|
.field protected managedConn:Lorg/apache/http/impl/conn/SingleClientConnManager$ConnAdapter;
|
|
|
|
.field protected schemeRegistry:Lorg/apache/http/conn/scheme/SchemeRegistry;
|
|
|
|
.field protected uniquePoolEntry:Lorg/apache/http/impl/conn/SingleClientConnManager$PoolEntry;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/apache/http/params/HttpParams;Lorg/apache/http/conn/scheme/SchemeRegistry;)V
|
|
.locals 0
|
|
|
|
.line 18
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "Stub!"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final assertStillUp()V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/IllegalStateException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 22
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public closeExpiredConnections()V
|
|
.locals 2
|
|
|
|
.line 26
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public closeIdleConnections(JLjava/util/concurrent/TimeUnit;)V
|
|
.locals 0
|
|
|
|
.line 27
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "Stub!"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public createConnectionOperator(Lorg/apache/http/conn/scheme/SchemeRegistry;)Lorg/apache/http/conn/ClientConnectionOperator;
|
|
.locals 1
|
|
|
|
.line 21
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public finalize()V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Throwable;
|
|
}
|
|
.end annotation
|
|
|
|
.line 19
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public getConnection(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/conn/ManagedClientConnection;
|
|
.locals 0
|
|
|
|
.line 24
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "Stub!"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public getSchemeRegistry()Lorg/apache/http/conn/scheme/SchemeRegistry;
|
|
.locals 2
|
|
|
|
.line 20
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public releaseConnection(Lorg/apache/http/conn/ManagedClientConnection;JLjava/util/concurrent/TimeUnit;)V
|
|
.locals 0
|
|
|
|
.line 25
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "Stub!"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final requestConnection(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/conn/ClientConnectionRequest;
|
|
.locals 0
|
|
|
|
.line 23
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "Stub!"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public revokeConnection()V
|
|
.locals 2
|
|
|
|
.line 29
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public shutdown()V
|
|
.locals 2
|
|
|
|
.line 28
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|