This commit is contained in:
2022-06-10 21:38:30 +09:00
commit 27f5152838
51323 changed files with 12934539 additions and 0 deletions
@@ -0,0 +1,7 @@
.class public interface abstract Lorg/apache/http/auth/params/AuthPNames;
.super Ljava/lang/Object;
.source "AuthPNames.java"
# static fields
.field public static final CREDENTIAL_CHARSET:Ljava/lang/String; = "http.auth.credential-charset"
@@ -0,0 +1,27 @@
.class public Lorg/apache/http/auth/params/AuthParamBean;
.super Lorg/apache/http/params/HttpAbstractParamBean;
.source "AuthParamBean.java"
# direct methods
.method public constructor <init>(Lorg/apache/http/params/HttpParams;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Lorg/apache/http/params/HttpAbstractParamBean;-><init>(Lorg/apache/http/params/HttpParams;)V
return-void
.end method
# virtual methods
.method public setCredentialCharset(Ljava/lang/String;)V
.locals 1
.line 1
iget-object v0, p0, Lorg/apache/http/params/HttpAbstractParamBean;->params:Lorg/apache/http/params/HttpParams;
invoke-static {v0, p1}, Lorg/apache/http/auth/params/AuthParams;->setCredentialCharset(Lorg/apache/http/params/HttpParams;Ljava/lang/String;)V
return-void
.end method
@@ -0,0 +1,74 @@
.class public final Lorg/apache/http/auth/params/AuthParams;
.super Ljava/lang/Object;
.source "AuthParams.java"
# annotations
.annotation build Lorg/apache/http/annotation/Immutable;
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getCredentialCharset(Lorg/apache/http/params/HttpParams;)Ljava/lang/String;
.locals 1
if-eqz p0, :cond_1
const-string v0, "http.auth.credential-charset"
.line 1
invoke-interface {p0, v0}, Lorg/apache/http/params/HttpParams;->getParameter(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/String;
if-nez p0, :cond_0
const-string p0, "US-ASCII"
:cond_0
return-object p0
.line 2
:cond_1
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "HTTP parameters may not be null"
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static setCredentialCharset(Lorg/apache/http/params/HttpParams;Ljava/lang/String;)V
.locals 1
if-eqz p0, :cond_0
const-string v0, "http.auth.credential-charset"
.line 1
invoke-interface {p0, v0, p1}, Lorg/apache/http/params/HttpParams;->setParameter(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/params/HttpParams;
return-void
.line 2
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "HTTP parameters may not be null"
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method