public class org.apache.http.client.protocol.RequestTargetAuthentication extends org.apache.http.client.protocol.RequestAuthenticationBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.client.protocol.RequestTargetAuthentication
super_class: org.apache.http.client.protocol.RequestAuthenticationBase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.http.client.protocol.RequestTargetAuthentication this
0: .line 54
aload 0 /* this */
invokespecial org.apache.http.client.protocol.RequestAuthenticationBase.<init>:()V
1: .line 55
return
end local 0 // org.apache.http.client.protocol.RequestTargetAuthentication this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/client/protocol/RequestTargetAuthentication;
public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 // org.apache.http.client.protocol.RequestTargetAuthentication this
start local 1 // org.apache.http.HttpRequest request
start local 2 // org.apache.http.protocol.HttpContext context
0: .line 60
aload 1 /* request */
ldc "HTTP request"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: .line 61
aload 2 /* context */
ldc "HTTP context"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: .line 63
aload 1 /* request */
invokeinterface org.apache.http.HttpRequest.getRequestLine:()Lorg/apache/http/RequestLine;
invokeinterface org.apache.http.RequestLine.getMethod:()Ljava/lang/String;
astore 3 /* method */
start local 3 // java.lang.String method
3: .line 64
aload 3 /* method */
ldc "CONNECT"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: .line 65
return
5: .line 68
StackMap locals: java.lang.String
StackMap stack:
aload 1 /* request */
ldc "Authorization"
invokeinterface org.apache.http.HttpRequest.containsHeader:(Ljava/lang/String;)Z
ifeq 7
6: .line 69
return
7: .line 73
StackMap locals:
StackMap stack:
aload 2 /* context */
8: .line 74
ldc "http.auth.target-scope"
9: .line 73
invokeinterface org.apache.http.protocol.HttpContext.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.http.auth.AuthState
astore 4 /* authState */
start local 4 // org.apache.http.auth.AuthState authState
10: .line 75
aload 4 /* authState */
ifnonnull 13
11: .line 76
aload 0 /* this */
getfield org.apache.http.client.protocol.RequestTargetAuthentication.log:Lorg/apache/commons/logging/Log;
ldc "Target auth state not set in the context"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
12: .line 77
return
13: .line 79
StackMap locals: org.apache.http.auth.AuthState
StackMap stack:
aload 0 /* this */
getfield org.apache.http.client.protocol.RequestTargetAuthentication.log:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 15
14: .line 80
aload 0 /* this */
getfield org.apache.http.client.protocol.RequestTargetAuthentication.log:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Target auth state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4 /* authState */
invokevirtual org.apache.http.auth.AuthState.getState:()Lorg/apache/http/auth/AuthProtocolState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
15: .line 82
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 4 /* authState */
aload 1 /* request */
aload 2 /* context */
invokevirtual org.apache.http.client.protocol.RequestTargetAuthentication.process:(Lorg/apache/http/auth/AuthState;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V
16: .line 83
return
end local 4 // org.apache.http.auth.AuthState authState
end local 3 // java.lang.String method
end local 2 // org.apache.http.protocol.HttpContext context
end local 1 // org.apache.http.HttpRequest request
end local 0 // org.apache.http.client.protocol.RequestTargetAuthentication this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/http/client/protocol/RequestTargetAuthentication;
0 17 1 request Lorg/apache/http/HttpRequest;
0 17 2 context Lorg/apache/http/protocol/HttpContext;
3 17 3 method Ljava/lang/String;
10 17 4 authState Lorg/apache/http/auth/AuthState;
Exceptions:
throws org.apache.http.HttpException, java.io.IOException
MethodParameters:
Name Flags
request final
context final
}
SourceFile: "RequestTargetAuthentication.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE:Lorg/apache/http/annotation/ThreadingBehavior;)