public abstract class sun.net.www.protocol.http.AuthenticationInfo extends sun.net.www.protocol.http.AuthCacheValue implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.net.www.protocol.http.AuthenticationInfo
super_class: sun.net.www.protocol.http.AuthCacheValue
{
public static final char SERVER_AUTHENTICATION;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 115
public static final char PROXY_AUTHENTICATION;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 112
static final boolean serializeAuth;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected transient java.net.PasswordAuthentication pw;
descriptor: Ljava/net/PasswordAuthentication;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
private static java.util.HashMap<java.lang.String, java.lang.Thread> requests;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Thread;>;
char type;
descriptor: C
flags: (0x0000)
sun.net.www.protocol.http.AuthScheme authScheme;
descriptor: Lsun/net/www/protocol/http/AuthScheme;
flags: (0x0000)
java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0000)
int port;
descriptor: I
flags: (0x0000)
java.lang.String realm;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String s1;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String s2;
descriptor: Ljava/lang/String;
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lsun/net/www/protocol/http/AuthenticationInfo;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.net.www.protocol.http.AuthenticationInfo.$assertionsDisabled:Z
3: new sun.security.action.GetBooleanAction
dup
4: ldc "http.auth.serializeRequests"
5: invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
7: invokevirtual java.lang.Boolean.booleanValue:()Z
8: putstatic sun.net.www.protocol.http.AuthenticationInfo.serializeAuth:Z
9: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
return
LocalVariableTable:
Start End Slot Name Signature
public java.net.PasswordAuthentication credentials();
descriptor: ()Ljava/net/PasswordAuthentication;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.pw:Ljava/net/PasswordAuthentication;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public sun.net.www.protocol.http.AuthCacheValue$Type getAuthType();
descriptor: ()Lsun/net/www/protocol/http/AuthCacheValue$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.type:C
bipush 115
if_icmpne 2
1: getstatic sun.net.www.protocol.http.AuthCacheValue$Type.Server:Lsun/net/www/protocol/http/AuthCacheValue$Type;
goto 3
2: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthCacheValue$Type.Proxy:Lsun/net/www/protocol/http/AuthCacheValue$Type;
3: StackMap locals:
StackMap stack: sun.net.www.protocol.http.AuthCacheValue$Type
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
sun.net.www.protocol.http.AuthScheme getAuthScheme();
descriptor: ()Lsun/net/www/protocol/http/AuthScheme;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.authScheme:Lsun/net/www/protocol/http/AuthScheme;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public java.lang.String getHost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public java.lang.String getRealm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.realm:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public java.lang.String getProtocolScheme();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
protected boolean useAuthCache();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
private static boolean requestIsInProgress(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic sun.net.www.protocol.http.AuthenticationInfo.serializeAuth:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
dup
astore 1
monitorenter
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 3
start local 3 4: getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Thread
dup
astore 2
start local 2 5: ifnonnull 9
6: getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
aload 0
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 1
monitorexit
8: iconst_0
ireturn
9: StackMap locals: java.util.HashMap java.lang.Thread java.lang.Thread
StackMap stack:
aload 2
aload 3
if_acmpne 15
10: aload 1
monitorexit
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
invokevirtual java.lang.Object.wait:()V
13: goto 15
StackMap locals:
StackMap stack: java.lang.InterruptedException
14: pop
15: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifne 12
end local 3 end local 2 16: aload 1
monitorexit
17: goto 20
StackMap locals: java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
18: aload 1
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 key Ljava/lang/String;
5 16 2 t Ljava/lang/Thread;
4 16 3 c Ljava/lang/Thread;
Exception table:
from to target type
12 13 14 Class java.lang.InterruptedException
3 8 18 any
9 11 18 any
12 17 18 any
18 19 18 any
MethodParameters:
Name Flags
key
private static void requestCompleted(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
dup
astore 1
monitorenter
1: getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Thread
astore 2
start local 2 2: aload 2
ifnull 7
aload 2
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpne 7
3: getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 4
iconst_1
goto 5
StackMap locals: java.util.HashMap java.lang.Thread
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: getstatic sun.net.www.protocol.http.AuthenticationInfo.$assertionsDisabled:Z
ifne 7
iload 3
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 7: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
invokevirtual java.lang.Object.notifyAll:()V
end local 2 8: aload 1
monitorexit
9: goto 12
StackMap locals: java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 key Ljava/lang/String;
2 8 2 thread Ljava/lang/Thread;
6 7 3 waspresent Z
Exception table:
from to target type
1 9 10 any
10 11 10 any
MethodParameters:
Name Flags
key
public void <init>(char, sun.net.www.protocol.http.AuthScheme, java.lang.String, int, java.lang.String);
descriptor: (CLsun/net/www/protocol/http/AuthScheme;Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial sun.net.www.protocol.http.AuthCacheValue.<init>:()V
1: aload 0
iload 1
putfield sun.net.www.protocol.http.AuthenticationInfo.type:C
2: aload 0
aload 2
putfield sun.net.www.protocol.http.AuthenticationInfo.authScheme:Lsun/net/www/protocol/http/AuthScheme;
3: aload 0
ldc ""
putfield sun.net.www.protocol.http.AuthenticationInfo.protocol:Ljava/lang/String;
4: aload 0
aload 3
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
putfield sun.net.www.protocol.http.AuthenticationInfo.host:Ljava/lang/String;
5: aload 0
iload 4
putfield sun.net.www.protocol.http.AuthenticationInfo.port:I
6: aload 0
aload 5
putfield sun.net.www.protocol.http.AuthenticationInfo.realm:Ljava/lang/String;
7: aload 0
aconst_null
putfield sun.net.www.protocol.http.AuthenticationInfo.path:Ljava/lang/String;
8: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
0 9 1 type C
0 9 2 authScheme Lsun/net/www/protocol/http/AuthScheme;
0 9 3 host Ljava/lang/String;
0 9 4 port I
0 9 5 realm Ljava/lang/String;
MethodParameters:
Name Flags
type
authScheme
host
port
realm
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
public void <init>(char, sun.net.www.protocol.http.AuthScheme, java.net.URL, java.lang.String);
descriptor: (CLsun/net/www/protocol/http/AuthScheme;Ljava/net/URL;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial sun.net.www.protocol.http.AuthCacheValue.<init>:()V
1: aload 0
iload 1
putfield sun.net.www.protocol.http.AuthenticationInfo.type:C
2: aload 0
aload 2
putfield sun.net.www.protocol.http.AuthenticationInfo.authScheme:Lsun/net/www/protocol/http/AuthScheme;
3: aload 0
aload 3
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
putfield sun.net.www.protocol.http.AuthenticationInfo.protocol:Ljava/lang/String;
4: aload 0
aload 3
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
putfield sun.net.www.protocol.http.AuthenticationInfo.host:Ljava/lang/String;
5: aload 0
aload 3
invokevirtual java.net.URL.getPort:()I
putfield sun.net.www.protocol.http.AuthenticationInfo.port:I
6: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.port:I
iconst_m1
if_icmpne 8
7: aload 0
aload 3
invokevirtual java.net.URL.getDefaultPort:()I
putfield sun.net.www.protocol.http.AuthenticationInfo.port:I
8: StackMap locals: sun.net.www.protocol.http.AuthenticationInfo int sun.net.www.protocol.http.AuthScheme java.net.URL java.lang.String
StackMap stack:
aload 0
aload 4
putfield sun.net.www.protocol.http.AuthenticationInfo.realm:Ljava/lang/String;
9: aload 3
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
astore 5
start local 5 10: aload 5
invokevirtual java.lang.String.length:()I
ifne 12
11: aload 0
aload 5
putfield sun.net.www.protocol.http.AuthenticationInfo.path:Ljava/lang/String;
goto 13
12: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 5
invokestatic sun.net.www.protocol.http.AuthenticationInfo.reducePath:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.net.www.protocol.http.AuthenticationInfo.path:Ljava/lang/String;
13: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
0 14 1 type C
0 14 2 authScheme Lsun/net/www/protocol/http/AuthScheme;
0 14 3 url Ljava/net/URL;
0 14 4 realm Ljava/lang/String;
10 14 5 urlPath Ljava/lang/String;
MethodParameters:
Name Flags
type
authScheme
url
realm
static java.lang.String reducePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 2: iload 1
iconst_m1
if_icmpeq 6
3: iload 1
iload 2
if_icmpge 5
4: aload 0
iconst_0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
5: StackMap locals: int int
StackMap stack:
aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 urlPath Ljava/lang/String;
1 7 1 sepIndex I
2 7 2 targetSuffixIndex I
MethodParameters:
Name Flags
urlPath
static sun.net.www.protocol.http.AuthenticationInfo getServerAuth(java.net.URL);
descriptor: (Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.getPort:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: aload 0
invokevirtual java.net.URL.getDefaultPort:()I
istore 1
3: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "s:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 6: aload 2
aload 0
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getAuth:(Ljava/lang/String;Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 url Ljava/net/URL;
1 7 1 port I
6 7 2 key Ljava/lang/String;
MethodParameters:
Name Flags
url
static java.lang.String getServerAuthKey(java.net.URL, java.lang.String, sun.net.www.protocol.http.AuthScheme);
descriptor: (Ljava/net/URL;Ljava/lang/String;Lsun/net/www/protocol/http/AuthScheme;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.net.URL.getPort:()I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpne 3
2: aload 0
invokevirtual java.net.URL.getDefaultPort:()I
istore 3
3: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "s:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 url Ljava/net/URL;
0 7 1 realm Ljava/lang/String;
0 7 2 scheme Lsun/net/www/protocol/http/AuthScheme;
1 7 3 port I
6 7 4 key Ljava/lang/String;
MethodParameters:
Name Flags
url
realm
scheme
static sun.net.www.protocol.http.AuthenticationInfo getServerAuth(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getAuth:(Ljava/lang/String;Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 1
start local 1 1: aload 1
ifnonnull 3
aload 0
invokestatic sun.net.www.protocol.http.AuthenticationInfo.requestIsInProgress:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
aconst_null
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getAuth:(Ljava/lang/String;Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 1
3: StackMap locals: sun.net.www.protocol.http.AuthenticationInfo
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 key Ljava/lang/String;
1 4 1 cached Lsun/net/www/protocol/http/AuthenticationInfo;
MethodParameters:
Name Flags
key
static sun.net.www.protocol.http.AuthenticationInfo getAuth(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
aconst_null
invokeinterface sun.net.www.protocol.http.AuthCache.get:(Ljava/lang/String;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthCacheValue;
checkcast sun.net.www.protocol.http.AuthenticationInfo
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
aload 1
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokeinterface sun.net.www.protocol.http.AuthCache.get:(Ljava/lang/String;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthCacheValue;
checkcast sun.net.www.protocol.http.AuthenticationInfo
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key Ljava/lang/String;
0 3 1 url Ljava/net/URL;
MethodParameters:
Name Flags
key
url
static sun.net.www.protocol.http.AuthenticationInfo getProxyAuth(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "p::"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 2
aconst_null
invokeinterface sun.net.www.protocol.http.AuthCache.get:(Ljava/lang/String;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthCacheValue;
checkcast sun.net.www.protocol.http.AuthenticationInfo
astore 3
start local 3 2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 host Ljava/lang/String;
0 3 1 port I
1 3 2 key Ljava/lang/String;
2 3 3 result Lsun/net/www/protocol/http/AuthenticationInfo;
MethodParameters:
Name Flags
host
port
static java.lang.String getProxyAuthKey(java.lang.String, int, java.lang.String, sun.net.www.protocol.http.AuthScheme);
descriptor: (Ljava/lang/String;ILjava/lang/String;Lsun/net/www/protocol/http/AuthScheme;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "p:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "::"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 3: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 host Ljava/lang/String;
0 4 1 port I
0 4 2 realm Ljava/lang/String;
0 4 3 scheme Lsun/net/www/protocol/http/AuthScheme;
3 4 4 key Ljava/lang/String;
MethodParameters:
Name Flags
host
port
realm
scheme
static sun.net.www.protocol.http.AuthenticationInfo getProxyAuth(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
aconst_null
invokeinterface sun.net.www.protocol.http.AuthCache.get:(Ljava/lang/String;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthCacheValue;
checkcast sun.net.www.protocol.http.AuthenticationInfo
astore 1
start local 1 1: aload 1
ifnonnull 3
aload 0
invokestatic sun.net.www.protocol.http.AuthenticationInfo.requestIsInProgress:(Ljava/lang/String;)Z
ifeq 3
2: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
aconst_null
invokeinterface sun.net.www.protocol.http.AuthCache.get:(Ljava/lang/String;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthCacheValue;
checkcast sun.net.www.protocol.http.AuthenticationInfo
astore 1
3: StackMap locals: sun.net.www.protocol.http.AuthenticationInfo
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 key Ljava/lang/String;
1 4 1 cached Lsun/net/www/protocol/http/AuthenticationInfo;
MethodParameters:
Name Flags
key
void addToCache();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.cacheKey:(Z)Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.useAuthCache:()Z
ifeq 5
2: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 1
aload 0
invokeinterface sun.net.www.protocol.http.AuthCache.put:(Ljava/lang/String;Lsun/net/www/protocol/http/AuthCacheValue;)V
3: aload 0
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 5
4: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
iconst_0
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.cacheKey:(Z)Ljava/lang/String;
aload 0
invokeinterface sun.net.www.protocol.http.AuthCache.put:(Ljava/lang/String;Lsun/net/www/protocol/http/AuthCacheValue;)V
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
1 7 1 key Ljava/lang/String;
static void endAuthRequest(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.net.www.protocol.http.AuthenticationInfo.serializeAuth:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.AuthenticationInfo.requests:Ljava/util/HashMap;
dup
astore 1
monitorenter
3: aload 0
invokestatic sun.net.www.protocol.http.AuthenticationInfo.requestCompleted:(Ljava/lang/String;)V
4: aload 1
monitorexit
5: goto 8
StackMap locals: java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 key Ljava/lang/String;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
key
void removeFromCache();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
iconst_1
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.cacheKey:(Z)Ljava/lang/String;
aload 0
invokeinterface sun.net.www.protocol.http.AuthCache.remove:(Ljava/lang/String;Lsun/net/www/protocol/http/AuthCacheValue;)V
1: aload 0
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 3
2: getstatic sun.net.www.protocol.http.AuthenticationInfo.cache:Lsun/net/www/protocol/http/AuthCache;
aload 0
iconst_0
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.cacheKey:(Z)Ljava/lang/String;
aload 0
invokeinterface sun.net.www.protocol.http.AuthCache.remove:(Ljava/lang/String;Lsun/net/www/protocol/http/AuthCacheValue;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public abstract boolean supportsPreemptiveAuthorization();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.type:C
bipush 115
if_icmpne 2
1: ldc "Authorization"
areturn
2: StackMap locals:
StackMap stack:
ldc "Proxy-authorization"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
public abstract java.lang.String (java.net.URL, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
url
method
public abstract boolean (sun.net.www.protocol.http.HttpURLConnection, sun.net.www.HeaderParser, java.lang.String);
descriptor: (Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
conn
p
raw
public abstract boolean isAuthorizationStale(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
header
java.lang.String cacheKey(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 4
1: new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.type:C
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.authScheme:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.protocol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.host:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.realm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.type:C
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.protocol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.host:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
0 5 1 includeRealm Z
MethodParameters:
Name Flags
includeRealm
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
new java.net.PasswordAuthentication
dup
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.s1:Ljava/lang/String;
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.s2:Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
invokespecial java.net.PasswordAuthentication.<init>:(Ljava/lang/String;[C)V
putfield sun.net.www.protocol.http.AuthenticationInfo.pw:Ljava/net/PasswordAuthentication;
2: aload 0
aconst_null
putfield sun.net.www.protocol.http.AuthenticationInfo.s1:Ljava/lang/String;
aload 0
aconst_null
putfield sun.net.www.protocol.http.AuthenticationInfo.s2:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
0 4 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private synchronized void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.pw:Ljava/net/PasswordAuthentication;
invokevirtual java.net.PasswordAuthentication.getUserName:()Ljava/lang/String;
putfield sun.net.www.protocol.http.AuthenticationInfo.s1:Ljava/lang/String;
1: aload 0
new java.lang.String
dup
aload 0
getfield sun.net.www.protocol.http.AuthenticationInfo.pw:Ljava/net/PasswordAuthentication;
invokevirtual java.net.PasswordAuthentication.getPassword:()[C
invokespecial java.lang.String.<init>:([C)V
putfield sun.net.www.protocol.http.AuthenticationInfo.s2:Ljava/lang/String;
2: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/AuthenticationInfo;
0 4 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "AuthenticationInfo.java"
InnerClasses:
public final Type = sun.net.www.protocol.http.AuthCacheValue$Type of sun.net.www.protocol.http.AuthCacheValue