public class sun.net.www.protocol.http.HttpURLConnection extends java.net.HttpURLConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.http.HttpURLConnection
super_class: java.net.HttpURLConnection
{
static final java.lang.String version;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final java.lang.String userAgent;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final int defaultmaxRedirects;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 20
static final int maxRedirects;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean validateProxy;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean validateServer;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.util.Set<java.lang.String> disabledProxyingSchemes;
descriptor: Ljava/util/Set;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static final java.util.Set<java.lang.String> disabledTunnelingSchemes;
descriptor: Ljava/util/Set;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream strOutputStream;
descriptor: Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String RETRY_MSG1;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cannot retry due to proxy authentication, in streaming mode"
private static final java.lang.String RETRY_MSG2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cannot retry due to server authentication, in streaming mode"
private static final java.lang.String RETRY_MSG3;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cannot retry due to redirection, in streaming mode"
private static boolean enableESBuffer;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int timeout4ESBuffer;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int bufSize4ES;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.String> ;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.lang.String[] ;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final java.lang.String httpVersion;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "HTTP/1.1"
static final java.lang.String acceptString;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
private static final java.lang.String[] ;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] ;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected sun.net.www.http.HttpClient http;
descriptor: Lsun/net/www/http/HttpClient;
flags: (0x0004) ACC_PROTECTED
protected sun.net.www.protocol.http.Handler handler;
descriptor: Lsun/net/www/protocol/http/Handler;
flags: (0x0004) ACC_PROTECTED
protected java.net.Proxy instProxy;
descriptor: Ljava/net/Proxy;
flags: (0x0004) ACC_PROTECTED
private java.net.CookieHandler cookieHandler;
descriptor: Ljava/net/CookieHandler;
flags: (0x0002) ACC_PRIVATE
private java.net.ResponseCache cacheHandler;
descriptor: Ljava/net/ResponseCache;
flags: (0x0002) ACC_PRIVATE
protected java.net.CacheResponse cachedResponse;
descriptor: Ljava/net/CacheResponse;
flags: (0x0004) ACC_PROTECTED
private sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream cachedInputStream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
protected java.io.PrintStream ps;
descriptor: Ljava/io/PrintStream;
flags: (0x0004) ACC_PROTECTED
private java.io.InputStream errorStream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private boolean setUserCookies;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String userCookies;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String userCookies2;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static sun.net.www.protocol.http.HttpAuthenticator defaultAuth;
descriptor: Lsun/net/www/protocol/http/HttpAuthenticator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0000)
sun.net.www.protocol.http.DigestAuthentication$Parameters digestparams;
descriptor: Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
flags: (0x0000)
sun.net.www.protocol.http.AuthenticationInfo currentProxyCredentials;
descriptor: Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0000)
sun.net.www.protocol.http.AuthenticationInfo currentServerCredentials;
descriptor: Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0000)
boolean needToCheck;
descriptor: Z
flags: (0x0000)
private boolean doingNTLM2ndStage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean doingNTLMp2ndStage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean tryTransparentNTLMServer;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean tryTransparentNTLMProxy;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useProxyResponseCode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
java.lang.Object authObj;
descriptor: Ljava/lang/Object;
flags: (0x0000)
boolean isUserServerAuth;
descriptor: Z
flags: (0x0000)
boolean isUserProxyAuth;
descriptor: Z
flags: (0x0000)
protected sun.net.ProgressSource pi;
descriptor: Lsun/net/ProgressSource;
flags: (0x0004) ACC_PROTECTED
private sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream inputStream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private sun.net.www.http.PosterOutputStream poster;
descriptor: Lsun/net/www/http/PosterOutputStream;
flags: (0x0002) ACC_PRIVATE
private boolean setRequests;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean failedOnce;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Exception rememberedException;
descriptor: Ljava/lang/Exception;
flags: (0x0002) ACC_PRIVATE
private sun.net.www.http.HttpClient reuseClient;
descriptor: Lsun/net/www/http/HttpClient;
flags: (0x0002) ACC_PRIVATE
private int connectTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int readTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
byte[] cdata;
descriptor: [B
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$sun$net$www$protocol$http$AuthScheme;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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=4, locals=3, args_size=0
0: ldc Lsun/net/www/protocol/http/HttpURLConnection;
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.HttpURLConnection.$assertionsDisabled:Z
3: iconst_0
putstatic sun.net.www.protocol.http.HttpURLConnection.enableESBuffer:Z
4: iconst_0
putstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
5: iconst_0
putstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
6: bipush 13
anewarray java.lang.String
dup
iconst_0
7: ldc "Access-Control-Request-Headers"
aastore
dup
iconst_1
8: ldc "Access-Control-Request-Method"
aastore
dup
iconst_2
9: ldc "Connection"
aastore
dup
iconst_3
10: ldc "Content-Length"
aastore
dup
iconst_4
11: ldc "Content-Transfer-Encoding"
aastore
dup
iconst_5
12: ldc "Expect"
aastore
dup
bipush 6
13: ldc "Host"
aastore
dup
bipush 7
14: ldc "Keep-Alive"
aastore
dup
bipush 8
15: ldc "Origin"
aastore
dup
bipush 9
16: ldc "Trailer"
aastore
dup
bipush 10
17: ldc "Transfer-Encoding"
aastore
dup
bipush 11
18: ldc "Upgrade"
aastore
dup
bipush 12
19: ldc "Via"
aastore
20: putstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaders:[Ljava/lang/String;
21: new sun.security.action.GetIntegerAction
dup
22: ldc "http.maxRedirects"
bipush 20
23: invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;I)V
24: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
25: invokevirtual java.lang.Integer.intValue:()I
26: putstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
27: new sun.security.action.GetPropertyAction
dup
ldc "java.version"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
28: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic sun.net.www.protocol.http.HttpURLConnection.version:Ljava/lang/String;
29: new sun.security.action.GetPropertyAction
dup
ldc "http.agent"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
30: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 31: aload 0
ifnonnull 34
32: new java.lang.StringBuilder
dup
ldc "Java/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.net.www.protocol.http.HttpURLConnection.version:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
33: goto 35
34: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Java/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.net.www.protocol.http.HttpURLConnection.version:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
35: StackMap locals:
StackMap stack:
aload 0
putstatic sun.net.www.protocol.http.HttpURLConnection.userAgent:Ljava/lang/String;
36: ldc "jdk.http.auth.tunneling.disabledSchemes"
invokestatic sun.net.www.protocol.http.HttpURLConnection.getNetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 37: aload 1
invokestatic sun.net.www.protocol.http.HttpURLConnection.schemesListToSet:(Ljava/lang/String;)Ljava/util/Set;
putstatic sun.net.www.protocol.http.HttpURLConnection.disabledTunnelingSchemes:Ljava/util/Set;
38: ldc "jdk.http.auth.proxying.disabledSchemes"
invokestatic sun.net.www.protocol.http.HttpURLConnection.getNetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
39: aload 1
invokestatic sun.net.www.protocol.http.HttpURLConnection.schemesListToSet:(Ljava/lang/String;)Ljava/util/Set;
putstatic sun.net.www.protocol.http.HttpURLConnection.disabledProxyingSchemes:Ljava/util/Set;
40: new sun.security.action.GetBooleanAction
dup
41: ldc "http.auth.digest.validateProxy"
42: invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
43: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
44: invokevirtual java.lang.Boolean.booleanValue:()Z
45: putstatic sun.net.www.protocol.http.HttpURLConnection.validateProxy:Z
46: new sun.security.action.GetBooleanAction
dup
47: ldc "http.auth.digest.validateServer"
48: invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
49: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
50: invokevirtual java.lang.Boolean.booleanValue:()Z
51: putstatic sun.net.www.protocol.http.HttpURLConnection.validateServer:Z
52: new sun.security.action.GetBooleanAction
dup
53: ldc "sun.net.http.errorstream.enableBuffering"
54: invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
55: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
56: invokevirtual java.lang.Boolean.booleanValue:()Z
57: putstatic sun.net.www.protocol.http.HttpURLConnection.enableESBuffer:Z
58: new sun.security.action.GetIntegerAction
dup
59: ldc "sun.net.http.errorstream.timeout"
sipush 300
60: invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;I)V
61: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
62: invokevirtual java.lang.Integer.intValue:()I
63: putstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
64: getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
ifgt 66
65: sipush 300
putstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
66: StackMap locals: java.lang.String
StackMap stack:
new sun.security.action.GetIntegerAction
dup
67: ldc "sun.net.http.errorstream.bufferSize"
sipush 4096
68: invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;I)V
69: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
70: invokevirtual java.lang.Integer.intValue:()I
71: putstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
72: getstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
ifgt 74
73: sipush 4096
putstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
74: StackMap locals:
StackMap stack:
new sun.security.action.GetBooleanAction
dup
75: ldc "sun.net.http.allowRestrictedHeaders"
76: invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
77: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
78: invokevirtual java.lang.Boolean.booleanValue:()Z
79: putstatic sun.net.www.protocol.http.HttpURLConnection.allowRestrictedHeaders:Z
80: getstatic sun.net.www.protocol.http.HttpURLConnection.allowRestrictedHeaders:Z
ifne 88
81: new java.util.HashSet
dup
getstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaders:[Ljava/lang/String;
arraylength
invokespecial java.util.HashSet.<init>:(I)V
putstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaderSet:Ljava/util/Set;
82: iconst_0
istore 2
start local 2 83: goto 86
84: StackMap locals: int
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaderSet:Ljava/util/Set;
getstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaders:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
85: iinc 2 1
StackMap locals:
StackMap stack:
86: iload 2
getstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaders:[Ljava/lang/String;
arraylength
if_icmplt 84
end local 2 87: goto 89
88: StackMap locals:
StackMap stack:
aconst_null
putstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaderSet:Ljava/util/Set;
end local 1 end local 0 89: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.String
dup
iconst_0
90: ldc "Proxy-Authorization"
aastore
dup
iconst_1
91: ldc "Authorization"
aastore
92: putstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
93: iconst_4
anewarray java.lang.String
dup
iconst_0
94: ldc "Proxy-Authorization"
aastore
dup
iconst_1
95: ldc "Authorization"
aastore
dup
iconst_2
96: ldc "Cookie"
aastore
dup
iconst_3
97: ldc "Cookie2"
aastore
98: putstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS2:[Ljava/lang/String;
99: return
LocalVariableTable:
Start End Slot Name Signature
31 89 0 agent Ljava/lang/String;
37 89 1 p Ljava/lang/String;
83 87 2 i I
private static java.lang.String getNetProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.net.www.protocol.http.HttpURLConnection$1
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$1.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private static java.util.Set<java.lang.String> schemesListToSet(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 3: aload 0
ldc "\\s*,\\s*"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 4: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: java.lang.String java.util.Set java.lang.String[] top int int java.lang.String[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 1
aload 3
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 5
9: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 list Ljava/lang/String;
3 10 1 s Ljava/util/Set<Ljava/lang/String;>;
4 10 2 parts [Ljava/lang/String;
6 7 3 part Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
list
private static java.net.PasswordAuthentication privilegedRequestPasswordAuthentication(java.lang.String, java.net.InetAddress, int, java.lang.String, java.lang.String, java.lang.String, java.net.URL, java.net.Authenticator$RequestorType);
descriptor: (Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new sun.net.www.protocol.http.HttpURLConnection$2
dup
aload 0
aload 6
aload 1
iload 2
aload 3
aload 4
aload 5
aload 7
invokespecial sun.net.www.protocol.http.HttpURLConnection$2.<init>:(Ljava/lang/String;Ljava/net/URL;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/Authenticator$RequestorType;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.PasswordAuthentication
areturn
end local 7 end local 6 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 2 0 host Ljava/lang/String;
0 2 1 addr Ljava/net/InetAddress;
0 2 2 port I
0 2 3 protocol Ljava/lang/String;
0 2 4 prompt Ljava/lang/String;
0 2 5 scheme Ljava/lang/String;
0 2 6 url Ljava/net/URL;
0 2 7 authType Ljava/net/Authenticator$RequestorType;
MethodParameters:
Name Flags
host final
addr final
port final
protocol final
prompt final
scheme final
url final
authType final
private boolean (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.net.www.protocol.http.HttpURLConnection.allowRestrictedHeaders:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 1
3: getstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaderSet:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
4: aload 1
ldc "connection"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 2
ldc "close"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 1
ldc "sec-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 10 1 key Ljava/lang/String;
0 10 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
private boolean (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
aload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.isRestrictedHeader:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 4 1 key Ljava/lang/String;
0 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
private void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: bipush 10
istore 3
start local 3 1: aload 1
iload 3
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 2: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 3: iload 4
iconst_m1
if_icmpne 4
iload 5
iconst_m1
if_icmpeq 7
4: StackMap locals: int int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "Illegal character(s) in message header field: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
ifnonnull 9
8: return
9: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.String.indexOf:(I)I
istore 4
10: goto 20
11: StackMap locals:
StackMap stack:
iinc 4 1
12: iload 4
aload 2
invokevirtual java.lang.String.length:()I
if_icmpge 17
13: aload 2
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 14: iload 6
bipush 32
if_icmpeq 15
iload 6
bipush 9
if_icmpne 17
15: StackMap locals: int
StackMap stack:
aload 2
iload 3
iload 4
invokevirtual java.lang.String.indexOf:(II)I
istore 4
16: goto 20
end local 6 17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
18: new java.lang.StringBuilder
dup
ldc "Illegal character(s) in message header value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpne 11
21: 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 22 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 22 1 key Ljava/lang/String;
0 22 2 value Ljava/lang/String;
1 22 3 LF C
2 22 4 index I
3 22 5 index1 I
14 17 6 c C
MethodParameters:
Name Flags
key
value
private void writeRequests();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 2
1: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setPreemptiveProxyAuthentication:(Lsun/net/www/MessageHeader;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
ifne 65
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 7
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getURLFile:()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;
5: ldc "HTTP/1.1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
6: invokevirtual sun.net.www.MessageHeader.prepend:(Ljava/lang/String;Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUseCaches:()Z
ifne 10
8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cache-Control"
ldc "no-cache"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Pragma"
ldc "no-cache"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "User-Agent"
getstatic sun.net.www.protocol.http.HttpURLConnection.userAgent:Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
11: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 1
start local 1 12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 2
start local 2 13: iload 1
iconst_m1
if_icmpeq 15
iload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
if_icmpeq 15
14: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
15: StackMap locals: int java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Host"
aload 2
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
16: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Accept"
ldc "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
17: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 23
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getHttpKeepAliveSet:()Z
ifeq 23
18: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 21
19: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Proxy-Connection"
ldc "keep-alive"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
20: goto 24
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Connection"
ldc "keep-alive"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Connection"
ldc "close"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getIfModifiedSince:()J
lstore 3
start local 3 25: lload 3
lconst_0
lcmp
ifeq 31
26: new java.util.Date
dup
lload 3
invokespecial java.util.Date.<init>:(J)V
astore 5
start local 5 27: new java.text.SimpleDateFormat
dup
ldc "EEE, dd MMM yyyy HH:mm:ss 'GMT'"
getstatic java.util.Locale.US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
28: astore 6
start local 6 29: aload 6
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
30: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "If-Modified-Since"
aload 6
aload 5
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 31: StackMap locals: long
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuth:(Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 5
start local 5 32: aload 5
ifnull 35
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 35
33: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
aload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue:(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
34: aload 0
aload 5
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
35: StackMap locals: sun.net.www.protocol.http.AuthenticationInfo
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
ldc "PUT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 39
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
ifnonnull 36
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 39
36: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-type"
37: ldc "application/x-www-form-urlencoded"
38: invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
39: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 40: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 47
41: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
iconst_m1
if_icmpeq 45
42: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Transfer-Encoding"
ldc "chunked"
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
43: iconst_1
istore 6
44: goto 57
45: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-Length"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
46: goto 57
StackMap locals:
StackMap stack:
47: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
ifnull 57
48: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
dup
astore 7
monitorenter
49: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
invokevirtual sun.net.www.http.PosterOutputStream.close:()V
50: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-Length"
51: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
invokevirtual sun.net.www.http.PosterOutputStream.size:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
52: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
53: aload 7
monitorexit
54: goto 57
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int java.lang.String long sun.net.www.protocol.http.AuthenticationInfo int sun.net.www.http.PosterOutputStream
StackMap stack: java.lang.Throwable
55: aload 7
monitorexit
56: athrow
57: StackMap locals:
StackMap stack:
iload 6
ifne 63
58: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Transfer-Encoding"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
ifnull 63
59: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Transfer-Encoding"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
60: ldc "WARNING"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 63
61: ldc "use streaming mode for chunked encoding"
62: invokestatic sun.net.www.http.HttpCapture.warning:(Ljava/lang/String;)V
63: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
64: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
end local 6 end local 5 end local 3 end local 2 end local 1 65: StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack:
ldc "FINE"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 67
66: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.fine:(Ljava/lang/String;)V
67: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
invokevirtual sun.net.www.http.HttpClient.writeRequests:(Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;Z)V
68: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.checkError:()Z
ifeq 84
69: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
astore 1
start local 1 70: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
istore 2
start local 2 71: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
72: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifeq 74
73: new java.io.IOException
dup
ldc "Error writing to server"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
74: StackMap locals: java.lang.String int
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
75: aload 1
ifnull 78
76: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 1
iload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setProxiedClient:(Ljava/net/URL;Ljava/lang/String;I)V
77: goto 79
78: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setNewClient:(Ljava/net/URL;)V
79: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getOutputStream:()Ljava/io/OutputStream;
checkcast java.io.PrintStream
putfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
80: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
81: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
82: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
83: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.writeRequests:()V
end local 2 end local 1 84: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 85 0 this Lsun/net/www/protocol/http/HttpURLConnection;
12 65 1 port I
13 65 2 host Ljava/lang/String;
25 65 3 modTime J
27 31 5 date Ljava/util/Date;
29 31 6 fo Ljava/text/SimpleDateFormat;
32 65 5 sauth Lsun/net/www/protocol/http/AuthenticationInfo;
40 65 6 chunked Z
70 84 1 proxyHost Ljava/lang/String;
71 84 2 proxyPort I
Exception table:
from to target type
49 54 55 any
55 56 55 any
Exceptions:
throws java.io.IOException
protected void setNewClient(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setNewClient:(Ljava/net/URL;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 2 1 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
protected void setNewClient(java.net.URL, boolean);
descriptor: (Ljava/net/URL;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
iconst_m1
iload 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/lang/String;IZI)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 3 1 url Ljava/net/URL;
0 3 2 useCache Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
useCache
protected void setProxiedClient(java.net.URL, java.lang.String, int);
descriptor: (Ljava/net/URL;Ljava/lang/String;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setProxiedClient:(Ljava/net/URL;Ljava/lang/String;IZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 2 1 url Ljava/net/URL;
0 2 2 proxyHost Ljava/lang/String;
0 2 3 proxyPort I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
protected void setProxiedClient(java.net.URL, java.lang.String, int, boolean);
descriptor: (Ljava/net/URL;Ljava/lang/String;IZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.proxiedConnect:(Ljava/net/URL;Ljava/lang/String;IZ)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 2 1 url Ljava/net/URL;
0 2 2 proxyHost Ljava/lang/String;
0 2 3 proxyPort I
0 2 4 useCache Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
useCache
protected void proxiedConnect(java.net.URL, java.lang.String, int, boolean);
descriptor: (Ljava/net/URL;Ljava/lang/String;IZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/lang/String;IZI)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 3 1 url Ljava/net/URL;
0 3 2 proxyHost Ljava/lang/String;
0 3 3 proxyPort I
0 3 4 useCache Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
useCache
protected void <init>(java.net.URL, sun.net.www.protocol.http.Handler);
descriptor: (Ljava/net/URL;Lsun/net/www/protocol/http/Handler;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial sun.net.www.protocol.http.HttpURLConnection.<init>:(Ljava/net/URL;Ljava/net/Proxy;Lsun/net/www/protocol/http/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 2 1 u Ljava/net/URL;
0 2 2 handler Lsun/net/www/protocol/http/Handler;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
handler
private static java.lang.String checkHost(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 3
1: aload 0
bipush 10
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmple 3
2: new java.net.MalformedURLException
dup
ldc "Illegal character in host"
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 h Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
h
public void <init>(java.net.URL, java.lang.String, int);
descriptor: (Ljava/net/URL;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
new java.net.Proxy
dup
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
1: aload 2
invokestatic sun.net.www.protocol.http.HttpURLConnection.checkHost:(Ljava/lang/String;)Ljava/lang/String;
iload 3
invokestatic java.net.InetSocketAddress.createUnresolved:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
invokespecial java.net.Proxy.<init>:(Ljava/net/Proxy$Type;Ljava/net/SocketAddress;)V
invokespecial sun.net.www.protocol.http.HttpURLConnection.<init>:(Ljava/net/URL;Ljava/net/Proxy;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 3 1 u Ljava/net/URL;
0 3 2 host Ljava/lang/String;
0 3 3 port I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
host
port
public void <init>(java.net.URL, java.net.Proxy);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
new sun.net.www.protocol.http.Handler
dup
invokespecial sun.net.www.protocol.http.Handler.<init>:()V
invokespecial sun.net.www.protocol.http.HttpURLConnection.<init>:(Ljava/net/URL;Ljava/net/Proxy;Lsun/net/www/protocol/http/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 2 1 u Ljava/net/URL;
0 2 2 p Ljava/net/Proxy;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
p
private static java.net.URL checkURL(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 3
1: aload 0
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
bipush 10
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmple 3
2: new java.net.MalformedURLException
dup
ldc "Illegal character in URL"
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 u Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
protected void <init>(java.net.URL, java.net.Proxy, sun.net.www.protocol.http.Handler);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;Lsun/net/www/protocol/http/Handler;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic sun.net.www.protocol.http.HttpURLConnection.checkURL:(Ljava/net/URL;)Ljava/net/URL;
invokespecial java.net.HttpURLConnection.<init>:(Ljava/net/URL;)V
1: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
2: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.errorStream:Ljava/io/InputStream;
3: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.setUserCookies:Z
4: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
5: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
6: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
7: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
8: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
9: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
10: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
11: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
12: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
13: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.useProxyResponseCode:Z
14: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
15: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
16: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
17: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
18: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
19: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
20: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
21: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
22: aload 0
sipush 128
newarray 8
putfield sun.net.www.protocol.http.HttpURLConnection.cdata:[B
23: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
24: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
25: aload 0
aload 3
putfield sun.net.www.protocol.http.HttpURLConnection.handler:Lsun/net/www/protocol/http/Handler;
26: aload 0
aload 2
putfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
27: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
instanceof sun.net.ApplicationProxy
ifeq 32
28: aload 0
invokestatic java.net.CookieHandler.getDefault:()Ljava/net/CookieHandler;
putfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
29: goto 35
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URL java.net.Proxy sun.net.www.protocol.http.Handler
StackMap stack: java.lang.SecurityException
30: pop
31: goto 35
32: StackMap locals:
StackMap stack:
aload 0
33: new sun.net.www.protocol.http.HttpURLConnection$3
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$3.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
34: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.CookieHandler
putfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
35: StackMap locals:
StackMap stack:
aload 0
36: new sun.net.www.protocol.http.HttpURLConnection$4
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$4.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
37: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.ResponseCache
putfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
38: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 39 1 u Ljava/net/URL;
0 39 2 p Ljava/net/Proxy;
0 39 3 handler Lsun/net/www/protocol/http/Handler;
Exception table:
from to target type
28 29 30 Class java.lang.SecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
p
handler
public static void setDefaultAuthenticator(sun.net.www.protocol.http.HttpAuthenticator);
descriptor: (Lsun/net/www/protocol/http/HttpAuthenticator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a Lsun/net/www/protocol/http/HttpAuthenticator;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
a
public static java.io.InputStream openConnectionCheckRedirects(java.net.URLConnection);
descriptor: (Ljava/net/URLConnection;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: iconst_0
istore 2
start local 2 1: StackMap locals: java.net.URLConnection top int
StackMap stack:
aload 0
instanceof sun.net.www.protocol.http.HttpURLConnection
ifeq 3
2: aload 0
checkcast sun.net.www.protocol.http.HttpURLConnection
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setInstanceFollowRedirects:(Z)V
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 3
start local 3 4: iconst_0
istore 1
start local 1 5: aload 0
instanceof sun.net.www.protocol.http.HttpURLConnection
ifeq 25
6: aload 0
checkcast sun.net.www.protocol.http.HttpURLConnection
astore 4
start local 4 7: aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getResponseCode:()I
istore 5
start local 5 8: iload 5
sipush 300
if_icmplt 25
iload 5
sipush 307
if_icmpgt 25
iload 5
sipush 306
if_icmpeq 25
9: iload 5
sipush 304
if_icmpeq 25
10: aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getURL:()Ljava/net/URL;
astore 6
start local 6 11: aload 4
ldc "Location"
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 12: aconst_null
astore 8
start local 8 13: aload 7
ifnull 15
14: new java.net.URL
dup
aload 6
aload 7
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 8
15: StackMap locals: java.net.URLConnection int int java.io.InputStream sun.net.www.protocol.http.HttpURLConnection int java.net.URL java.lang.String java.net.URL
StackMap stack:
aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnect:()V
16: aload 8
ifnull 21
17: aload 6
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 8
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
18: aload 6
invokevirtual java.net.URL.getPort:()I
aload 8
invokevirtual java.net.URL.getPort:()I
if_icmpne 21
19: aload 6
aload 8
invokestatic sun.net.www.protocol.http.HttpURLConnection.hostsEqual:(Ljava/net/URL;Ljava/net/URL;)Z
ifeq 21
20: iload 2
iconst_5
if_icmplt 22
21: StackMap locals:
StackMap stack:
new java.lang.SecurityException
dup
ldc "illegal URL redirect"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
iconst_1
istore 1
23: aload 8
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 0
24: iinc 2 1
end local 8 end local 7 end local 6 end local 5 end local 4 25: StackMap locals: java.net.URLConnection int int java.io.InputStream
StackMap stack:
iload 1
ifne 1
26: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 c Ljava/net/URLConnection;
5 27 1 redir Z
1 27 2 redirects I
4 27 3 in Ljava/io/InputStream;
7 25 4 http Lsun/net/www/protocol/http/HttpURLConnection;
8 25 5 stat I
11 25 6 base Ljava/net/URL;
12 25 7 loc Ljava/lang/String;
13 25 8 target Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
private static boolean hostsEqual(java.net.URL, java.net.URL);
descriptor: (Ljava/net/URL;Ljava/net/URL;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 3
start local 3 2: aload 2
ifnonnull 5
3: aload 3
ifnonnull 4
iconst_1
ireturn
StackMap locals: java.lang.String java.lang.String
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
newarray 4
astore 4
start local 4 10: new sun.net.www.protocol.http.HttpURLConnection$5
dup
aload 2
aload 3
aload 4
invokespecial sun.net.www.protocol.http.HttpURLConnection$5.<init>:(Ljava/lang/String;Ljava/lang/String;[Z)V
11: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
12: aload 4
iconst_0
baload
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 u1 Ljava/net/URL;
0 13 1 u2 Ljava/net/URL;
1 13 2 h1 Ljava/lang/String;
2 13 3 h2 Ljava/lang/String;
10 13 4 result [Z
MethodParameters:
Name Flags
u1
u2
public void connect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.plainConnect:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
Exceptions:
throws java.io.IOException
private boolean checkReuseConnection();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
ifnull 9
3: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getReadTimeout:()I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iconst_0
putfield sun.net.www.http.HttpClient.reuse:Z
6: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
7: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/HttpURLConnection;
protected void plainConnect();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
ifnull 23
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUseCaches:()Z
ifeq 23
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.ParseUtil.toURI:(Ljava/net/URL;)Ljava/net/URI;
astore 1
start local 1 4: aload 1
ifnull 19
5: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
aload 1
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestMethod:()Ljava/lang/String;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
getstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.getHeaders:([Ljava/lang/String;)Ljava/util/Map;
invokevirtual java.net.ResponseCache.get:(Ljava/net/URI;Ljava/lang/String;Ljava/util/Map;)Ljava/net/CacheResponse;
putfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
6: ldc "https"
aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
instanceof java.net.SecureCacheResponse
ifne 9
8: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
9: StackMap locals: java.net.URI
StackMap stack:
ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 14
10: new java.lang.StringBuilder
dup
ldc "Cache Request for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 sun.net.www.protocol.http.HttpURLConnection.getRequestMethod:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
11: new java.lang.StringBuilder
dup
ldc "From cache: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
ifnull 12
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 13
StackMap locals:
StackMap stack: java.lang.StringBuilder
12: ldc "null"
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI
StackMap stack: java.lang.StringBuilder java.lang.String
13: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
ifnull 19
15: aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
invokevirtual java.net.CacheResponse.getHeaders:()Ljava/util/Map;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.mapToMessageHeader:(Ljava/util/Map;)Lsun/net/www/MessageHeader;
putfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
16: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
invokevirtual java.net.CacheResponse.getBody:()Ljava/io/InputStream;
putfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
end local 1 17: goto 19
StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 22
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
ifnull 22
20: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
21: return
22: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
ifnonnull 61
24: new sun.net.www.protocol.http.HttpURLConnection$6
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$6.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
25: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.ProxySelector
26: astore 1
start local 1 27: aload 1
ifnull 54
28: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.ParseUtil.toURI:(Ljava/net/URL;)Ljava/net/URI;
astore 2
start local 2 29: ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 31
30: new java.lang.StringBuilder
dup
ldc "ProxySelector Request for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
31: StackMap locals: java.net.ProxySelector java.net.URI
StackMap stack:
aload 1
aload 2
invokevirtual java.net.ProxySelector.select:(Ljava/net/URI;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 32: goto 52
33: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.Proxy
astore 4
start local 4 34: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 38
35: aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;I)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
36: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
37: goto 40
38: StackMap locals: java.net.Proxy
StackMap stack:
aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;IZ)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
39: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
40: StackMap locals:
StackMap stack:
ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 67
41: aload 4
ifnull 67
42: new java.lang.StringBuilder
dup
ldc "Proxy used: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.net.Proxy.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
43: goto 67
44: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 45: aload 4
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
if_acmpeq 51
46: aload 1
aload 2
aload 4
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
aload 5
invokevirtual java.net.ProxySelector.connectFailed:(Ljava/net/URI;Ljava/net/SocketAddress;Ljava/io/IOException;)V
47: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 52
48: aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aconst_null
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;IZ)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
49: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
50: goto 67
51: StackMap locals: java.io.IOException
StackMap stack:
aload 5
athrow
end local 5 end local 4 52: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 33
end local 3 end local 2 53: goto 67
54: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 58
55: aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aconst_null
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;I)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
56: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
57: goto 67
58: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aconst_null
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;IZ)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
59: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
end local 1 60: goto 67
61: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 65
62: aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;I)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
63: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
64: goto 67
65: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient:(Ljava/net/URL;Ljava/net/Proxy;IZ)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
66: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
67: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getOutputStream:()Ljava/io/OutputStream;
checkcast java.io.PrintStream
putfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
68: goto 71
StackMap locals:
StackMap stack: java.io.IOException
69: astore 1
start local 1 70: aload 1
athrow
end local 1 71: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
72: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lsun/net/www/protocol/http/HttpURLConnection;
4 17 1 uri Ljava/net/URI;
27 60 1 sel Ljava/net/ProxySelector;
29 53 2 uri Ljava/net/URI;
32 53 3 it Ljava/util/Iterator<Ljava/net/Proxy;>;
34 52 4 p Ljava/net/Proxy;
45 52 5 ioex Ljava/io/IOException;
70 71 1 e Ljava/io/IOException;
Exception table:
from to target type
3 17 18 Class java.io.IOException
34 43 44 Class java.io.IOException
23 68 69 Class java.io.IOException
Exceptions:
throws java.io.IOException
protected sun.net.www.http.HttpClient getNewHttpClient(java.net.URL, java.net.Proxy, int);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;I)Lsun/net/www/http/HttpClient;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
iload 3
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/net/Proxy;I)Lsun/net/www/http/HttpClient;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 1 1 url Ljava/net/URL;
0 1 2 p Ljava/net/Proxy;
0 1 3 connectTimeout I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
p
connectTimeout
protected sun.net.www.http.HttpClient getNewHttpClient(java.net.URL, java.net.Proxy, int, boolean);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;IZ)Lsun/net/www/http/HttpClient;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
iload 3
iload 4
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/net/Proxy;IZ)Lsun/net/www/http/HttpClient;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 1 1 url Ljava/net/URL;
0 1 2 p Ljava/net/Proxy;
0 1 3 connectTimeout I
0 1 4 useCache Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
p
connectTimeout
useCache
private void expect100Continue();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getReadTimeout:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iload 1
ifgt 6
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
sipush 5000
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
5: iconst_1
istore 2
6: StackMap locals: int int int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
aload 0
invokevirtual sun.net.www.http.HttpClient.parseHTTP:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
pop
7: goto 13
StackMap locals:
StackMap stack: java.net.SocketTimeoutException
8: astore 4
start local 4 9: iload 2
ifne 11
10: aload 4
athrow
11: StackMap locals: java.net.SocketTimeoutException
StackMap stack:
iconst_1
istore 3
12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iconst_1
invokevirtual sun.net.www.http.HttpClient.setIgnoreContinue:(Z)V
end local 4 13: StackMap locals:
StackMap stack:
iload 3
ifne 24
14: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
iconst_0
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
astore 4
start local 4 15: aload 4
ifnull 22
aload 4
ldc "HTTP/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
16: aload 4
ldc "\\s+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 17: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
18: aload 5
arraylength
iconst_1
if_icmple 22
19: aload 0
aload 5
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
20: goto 22
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int java.lang.String java.lang.String[]
StackMap stack: java.lang.NumberFormatException
21: pop
end local 5 22: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
bipush 100
if_icmpeq 24
23: new java.net.ProtocolException
dup
ldc "Server rejected operation"
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
end local 4 24: StackMap locals:
StackMap stack:
iload 1
ifle 26
25: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iload 1
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
26: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
27: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
28: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 29 1 oldTimeout I
2 29 2 enforceTimeOut Z
3 29 3 timedOut Z
9 13 4 se Ljava/net/SocketTimeoutException;
15 24 4 resp Ljava/lang/String;
17 22 5 sa [Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.net.SocketTimeoutException
18 20 21 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
public synchronized java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doOutput:Z
ifne 2
1: new java.net.ProtocolException
dup
ldc "cannot write to a URLConnection if doOutput=false - call setDoOutput(true)"
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
ldc "GET"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
ldc "POST"
putfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
ldc "POST"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
ldc "PUT"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
5: ldc "http"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
6: new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "HTTP method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " doesn't support output"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
ifnull 11
10: new java.net.ProtocolException
dup
ldc "Cannot write output after reading input."
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 13
12: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
13: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 14: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Expect"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 15: ldc "100-Continue"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iconst_0
invokevirtual sun.net.www.http.HttpClient.setIgnoreContinue:(Z)V
17: iconst_1
istore 1
18: StackMap locals: int java.lang.String
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 20
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
ifnonnull 20
19: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.writeRequests:()V
20: StackMap locals:
StackMap stack:
iload 1
ifeq 22
21: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.expect100Continue:()V
22: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getOutputStream:()Ljava/io/OutputStream;
checkcast java.io.PrintStream
putfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
23: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 34
24: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
ifnonnull 32
25: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
iconst_m1
if_icmpeq 28
26: aload 0
new sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream
dup
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
invokespecial sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/OutputStream;I)V
putfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
27: goto 32
StackMap locals:
StackMap stack:
28: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
iconst_m1
if_icmpeq 32
29: aload 0
30: new sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream
dup
aload 0
new sun.net.www.http.ChunkedOutputStream
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
invokespecial sun.net.www.http.ChunkedOutputStream.<init>:(Ljava/io/PrintStream;I)V
iconst_m1
invokespecial sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/OutputStream;I)V
31: putfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
32: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
33: areturn
34: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
ifnonnull 36
35: aload 0
new sun.net.www.http.PosterOutputStream
dup
invokespecial sun.net.www.http.PosterOutputStream.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
36: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
37: areturn
end local 2 end local 1 38: StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack: java.lang.RuntimeException
astore 1
start local 1 39: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
40: aload 1
athrow
end local 1 41: StackMap locals:
StackMap stack: java.net.ProtocolException
astore 1
start local 1 42: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
istore 2
start local 2 43: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
44: aload 0
iload 2
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
45: aload 1
athrow
end local 2 end local 1 46: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 47: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
48: aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lsun/net/www/protocol/http/HttpURLConnection;
14 38 1 expectContinue Z
15 38 2 expects Ljava/lang/String;
39 41 1 e Ljava/lang/RuntimeException;
42 46 1 e Ljava/net/ProtocolException;
43 46 2 i I
47 49 1 e Ljava/io/IOException;
Exception table:
from to target type
0 33 38 Class java.lang.RuntimeException
34 37 38 Class java.lang.RuntimeException
0 33 41 Class java.net.ProtocolException
34 37 41 Class java.net.ProtocolException
0 33 46 Class java.io.IOException
34 37 46 Class java.io.IOException
Exceptions:
throws java.io.IOException
private boolean streaming();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
iconst_m1
if_icmpne 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
iconst_m1
if_icmpne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/HttpURLConnection;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
ifnull 54
1: aload 0
dup
astore 1
monitorenter
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.setUserCookies:Z
ifeq 10
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie"
invokevirtual sun.net.www.MessageHeader.getKey:(Ljava/lang/String;)I
istore 2
start local 2 4: iload 2
iconst_m1
if_icmpeq 6
5: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iload 2
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
6: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie2"
invokevirtual sun.net.www.MessageHeader.getKey:(Ljava/lang/String;)I
istore 2
7: iload 2
iconst_m1
if_icmpeq 9
8: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iload 2
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setUserCookies:Z
end local 2 10: StackMap locals:
StackMap stack:
aload 1
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 1
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
15: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie2"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
16: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.ParseUtil.toURI:(Ljava/net/URL;)Ljava/net/URI;
astore 1
start local 1 17: aload 1
ifnull 44
18: ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 20
19: new java.lang.StringBuilder
dup
ldc "CookieHandler request for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
20: StackMap locals: java.net.URI
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
21: aload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
getstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.getHeaders:([Ljava/lang/String;)Ljava/util/Map;
22: invokevirtual java.net.CookieHandler.get:(Ljava/net/URI;Ljava/util/Map;)Ljava/util/Map;
23: astore 2
start local 2 24: aload 2
invokeinterface java.util.Map.isEmpty:()Z
ifne 44
25: ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 27
26: new java.lang.StringBuilder
dup
ldc "Cookies retrieved: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
27: StackMap locals: java.util.Map
StackMap stack:
aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 43
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI java.util.Map top java.util.Iterator
StackMap stack:
28: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 29: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 30: ldc "Cookie"
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 33
31: ldc "Cookie2"
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 33
32: goto 43
33: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 34: aload 6
ifnull 43
aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 43
35: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 36: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 39
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
37: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 38: aload 7
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 39: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
40: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 5
aload 7
iconst_0
aload 7
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
isub
invokevirtual java.lang.StringBuilder.substring:(II)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
41: goto 43
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List java.lang.StringBuilder
StackMap stack: java.lang.StringIndexOutOfBoundsException
42: pop
end local 7 end local 6 end local 5 end local 3 43: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
end local 2 44: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
ifnull 49
45: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie"
invokevirtual sun.net.www.MessageHeader.getKey:(Ljava/lang/String;)I
dup
istore 2
start local 2 46: iconst_m1
if_icmpeq 48
47: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie"
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iload 2
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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.HttpURLConnection.userCookies:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
goto 49
48: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 2 49: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
ifnull 54
50: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie2"
invokevirtual sun.net.www.MessageHeader.getKey:(Ljava/lang/String;)I
dup
istore 2
start local 2 51: iconst_m1
if_icmpeq 53
52: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie2"
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iload 2
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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.HttpURLConnection.userCookies2:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
goto 54
53: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie2"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 2 end local 1 54: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lsun/net/www/protocol/http/HttpURLConnection;
4 10 2 k I
17 54 1 uri Ljava/net/URI;
24 44 2 cookies Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
29 43 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
30 43 5 key Ljava/lang/String;
34 43 6 l Ljava/util/List<Ljava/lang/String;>;
36 43 7 cookieValue Ljava/lang/StringBuilder;
38 39 8 value Ljava/lang/String;
46 49 2 k I
51 54 2 k I
Exception table:
from to target type
2 11 12 any
12 13 12 any
40 41 42 Class java.lang.StringIndexOutOfBoundsException
Exceptions:
throws java.io.IOException
public synchronized java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=9, locals=17, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doInput:Z
ifne 2
1: new java.net.ProtocolException
dup
ldc "Cannot read from URLConnection if doInput=false (call setDoInput(true))"
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
ifnull 6
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
instanceof java.lang.RuntimeException
ifeq 5
4: new java.lang.RuntimeException
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
checkcast java.io.IOException
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getChainedException:(Ljava/io/IOException;)Ljava/io/IOException;
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
ifnull 8
7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 14
9: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
ifnonnull 11
10: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getOutputStream:()Ljava/io/OutputStream;
pop
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.close:()V
12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.writtenOK:()Z
ifne 14
13: new java.io.IOException
dup
ldc "Incomplete output stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 15: iconst_0
istore 2
start local 2 16: iconst_m1
istore 3
start local 3 17: aconst_null
astore 4
start local 4 18: aconst_null
astore 5
start local 5 19: aconst_null
astore 6
start local 6 20: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Authorization"
invokevirtual sun.net.www.MessageHeader.getKey:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 21
iconst_1
goto 22
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader
StackMap stack: sun.net.www.protocol.http.HttpURLConnection
21: iconst_0
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader
StackMap stack: sun.net.www.protocol.http.HttpURLConnection int
22: putfield sun.net.www.protocol.http.HttpURLConnection.isUserServerAuth:Z
23: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Proxy-Authorization"
invokevirtual sun.net.www.MessageHeader.getKey:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 24
iconst_1
goto 25
StackMap locals:
StackMap stack: sun.net.www.protocol.http.HttpURLConnection
24: iconst_0
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader
StackMap stack: sun.net.www.protocol.http.HttpURLConnection int
25: putfield sun.net.www.protocol.http.HttpURLConnection.isUserProxyAuth:Z
26: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 28
27: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
28: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
ifnull 36
29: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
astore 16
30: iload 2
sipush 407
if_icmpne 33
aload 5
ifnull 33
31: aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
32: goto 35
33: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader top top top top top top top top top java.io.InputStream
StackMap stack:
iload 2
sipush 401
if_icmpne 35
aload 4
ifnull 35
34: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
35: StackMap locals:
StackMap stack:
aload 16
areturn
36: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader
StackMap stack:
invokestatic sun.net.ProgressMonitor.getDefault:()Lsun/net/ProgressMonitor;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.ProgressMonitor.shouldMeterInput:(Ljava/net/URL;Ljava/lang/String;)Z
istore 7
start local 7 37: iload 7
ifeq 40
38: aload 0
new sun.net.ProgressSource
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokespecial sun.net.ProgressSource.<init>:(Ljava/net/URL;Ljava/lang/String;)V
putfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
39: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.beginTracking:()V
40: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getOutputStream:()Ljava/io/OutputStream;
checkcast java.io.PrintStream
putfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
41: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifne 43
42: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.writeRequests:()V
43: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
aload 0
invokevirtual sun.net.www.http.HttpClient.parseHTTP:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
pop
44: ldc "FINE"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 46
45: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.fine:(Ljava/lang/String;)V
46: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getInputStream:()Ljava/io/InputStream;
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
47: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getResponseCode:()I
istore 2
48: iload 2
sipush 407
if_icmpne 88
49: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 54
50: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
51: new java.net.HttpRetryException
dup
52: ldc "cannot retry due to proxy authentication, in streaming mode"
sipush 407
53: invokespecial java.net.HttpRetryException.<init>:(Ljava/lang/String;I)V
athrow
54: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.AuthenticationHeader
dup
55: ldc "Proxy-Authenticate"
56: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
57: new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
58: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
59: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
60: invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Ljava/net/URL;Ljava/lang/String;I)V
61: getstatic sun.net.www.protocol.http.HttpURLConnection.disabledProxyingSchemes:Ljava/util/Set;
62: invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/util/Set;)V
astore 8
start local 8 63: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
ifne 70
64: aload 0
aload 5
aload 8
invokevirtual sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication:(Lsun/net/www/protocol/http/AuthenticationInfo;Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
65: astore 5
66: aload 5
ifnull 88
67: iinc 1 1
68: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
69: goto 222
70: StackMap locals: sun.net.www.protocol.http.AuthenticationHeader
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 71: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
72: aload 5
aload 0
73: aload 8
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
aload 9
74: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
75: ifne 78
76: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
77: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
78: StackMap locals: java.lang.String
StackMap stack:
aload 4
ifnull 85
aload 6
ifnull 85
79: aload 4
aload 0
80: aload 6
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
aload 9
81: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
82: ifne 85
83: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
84: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
85: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
86: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
87: goto 222
end local 9 end local 8 88: StackMap locals:
StackMap stack:
aload 5
ifnull 90
89: aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.addToCache:()V
90: StackMap locals:
StackMap stack:
iload 2
sipush 401
if_icmpne 129
91: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 96
92: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
93: new java.net.HttpRetryException
dup
94: ldc "cannot retry due to server authentication, in streaming mode"
sipush 401
95: invokespecial java.net.HttpRetryException.<init>:(Ljava/lang/String;I)V
athrow
96: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.AuthenticationHeader
dup
97: ldc "WWW-Authenticate"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
98: new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Ljava/net/URL;)V
99: invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;)V
astore 6
100: aload 6
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.raw:()Ljava/lang/String;
astore 8
start local 8 101: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
ifne 121
102: aload 4
ifnull 114
103: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getAuthScheme:()Lsun/net/www/protocol/http/AuthScheme;
getstatic sun.net.www.protocol.http.AuthScheme.NTLM:Lsun/net/www/protocol/http/AuthScheme;
if_acmpeq 114
104: aload 4
aload 8
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale:(Ljava/lang/String;)Z
ifeq 113
105: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
106: iinc 1 1
107: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
108: aload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue:(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
109: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
110: aload 0
aload 4
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
111: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
112: goto 222
113: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.removeFromCache:()V
114: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication:(Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 4
115: aload 0
aload 4
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
116: aload 4
ifnull 129
117: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
118: iinc 1 1
119: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
120: goto 222
121: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
122: aload 4
aload 0
aconst_null
aload 8
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
ifne 125
123: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
124: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
125: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
126: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
127: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
128: goto 222
end local 8 129: StackMap locals:
StackMap stack:
aload 4
ifnull 160
130: aload 4
instanceof sun.net.www.protocol.http.DigestAuthentication
ifeq 132
131: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.domain:Ljava/lang/String;
ifnonnull 144
132: StackMap locals:
StackMap stack:
aload 4
instanceof sun.net.www.protocol.http.BasicAuthentication
ifeq 142
133: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.reducePath:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 134: aload 4
getfield sun.net.www.protocol.http.AuthenticationInfo.path:Ljava/lang/String;
astore 9
start local 9 135: aload 9
aload 8
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 136
aload 8
invokevirtual java.lang.String.length:()I
aload 9
invokevirtual java.lang.String.length:()I
if_icmplt 137
136: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 9
aload 8
invokestatic sun.net.www.protocol.http.BasicAuthentication.getRootPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 8
137: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.clone:()Ljava/lang/Object;
checkcast sun.net.www.protocol.http.BasicAuthentication
138: astore 10
start local 10 139: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.removeFromCache:()V
140: aload 10
aload 8
putfield sun.net.www.protocol.http.BasicAuthentication.path:Ljava/lang/String;
141: aload 10
astore 4
end local 10 end local 9 end local 8 142: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.addToCache:()V
143: goto 160
144: StackMap locals:
StackMap stack:
aload 4
145: checkcast sun.net.www.protocol.http.DigestAuthentication
astore 8
start local 8 146: new java.util.StringTokenizer
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.domain:Ljava/lang/String;
ldc " "
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 9
start local 9 147: aload 8
getfield sun.net.www.protocol.http.DigestAuthentication.realm:Ljava/lang/String;
astore 10
start local 10 148: aload 8
getfield sun.net.www.protocol.http.DigestAuthentication.pw:Ljava/net/PasswordAuthentication;
astore 11
start local 11 149: aload 0
aload 8
getfield sun.net.www.protocol.http.DigestAuthentication.params:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
putfield sun.net.www.protocol.http.HttpURLConnection.digestparams:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
150: goto 159
151: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int sun.net.www.protocol.http.DigestAuthentication java.util.StringTokenizer java.lang.String java.net.PasswordAuthentication
StackMap stack:
aload 9
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 12
start local 12 152: new java.net.URL
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 12
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 13
start local 13 153: new sun.net.www.protocol.http.DigestAuthentication
dup
154: iconst_0
aload 13
aload 10
ldc "Digest"
aload 11
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.digestparams:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
155: invokespecial sun.net.www.protocol.http.DigestAuthentication.<init>:(ZLjava/net/URL;Ljava/lang/String;Ljava/lang/String;Ljava/net/PasswordAuthentication;Lsun/net/www/protocol/http/DigestAuthentication$Parameters;)V
astore 14
start local 14 156: aload 14
invokevirtual sun.net.www.protocol.http.DigestAuthentication.addToCache:()V
end local 14 end local 13 157: goto 159
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int sun.net.www.protocol.http.DigestAuthentication java.util.StringTokenizer java.lang.String java.net.PasswordAuthentication java.lang.String
StackMap stack: java.lang.Exception
158: pop
end local 12 159: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 151
end local 11 end local 10 end local 9 end local 8 160: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
161: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
162: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.isUserServerAuth:Z
ifne 164
163: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Authorization"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
164: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.isUserProxyAuth:Z
ifne 166
165: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Proxy-Authorization"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
166: StackMap locals:
StackMap stack:
iload 2
sipush 200
if_icmpne 169
167: aload 0
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkResponseCredentials:(Z)V
168: goto 170
169: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
170: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
171: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.followRedirect:()Z
ifeq 175
172: iinc 1 1
173: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
174: goto 222
175: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "content-length"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
176: goto 178
StackMap locals:
StackMap stack: java.lang.Exception
177: pop
178: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
ldc "HEAD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 181
iload 3
ifeq 181
179: iload 2
sipush 304
if_icmpeq 181
180: iload 2
sipush 204
if_icmpne 188
181: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
ifnull 184
182: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.finishTracking:()V
183: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
184: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.finished:()V
185: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
186: aload 0
new sun.net.www.protocol.http.EmptyInputStream
dup
invokespecial sun.net.www.protocol.http.EmptyInputStream.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
187: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
188: StackMap locals:
StackMap stack:
iload 2
sipush 200
if_icmpeq 190
iload 2
sipush 203
if_icmpeq 190
iload 2
sipush 206
if_icmpeq 190
189: iload 2
sipush 300
if_icmpeq 190
iload 2
sipush 301
if_icmpeq 190
iload 2
sipush 410
if_icmpne 204
190: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
ifnull 204
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUseCaches:()Z
ifeq 204
191: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.ParseUtil.toURI:(Ljava/net/URL;)Ljava/net/URI;
astore 8
start local 8 192: aload 8
ifnull 204
193: aload 0
astore 9
start local 9 194: ldc "https"
aload 8
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 199
195: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "httpsURLConnection"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aload 0
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URLConnection
astore 9
196: goto 199
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int java.net.URI java.net.URLConnection
StackMap stack: java.lang.IllegalAccessException
197: pop
goto 199
198: StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
pop
199: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
aload 8
aload 9
invokevirtual java.net.ResponseCache.put:(Ljava/net/URI;Ljava/net/URLConnection;)Ljava/net/CacheRequest;
200: astore 10
start local 10 201: aload 10
ifnull 204
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 204
202: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 10
invokevirtual sun.net.www.http.HttpClient.setCacheRequest:(Ljava/net/CacheRequest;)V
203: aload 0
new sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
dup
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
aload 10
invokespecial sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/InputStream;Ljava/net/CacheRequest;)V
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
end local 10 end local 9 end local 8 204: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
instanceof sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
ifne 206
205: aload 0
new sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
dup
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
invokespecial sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/InputStream;)V
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
206: StackMap locals:
StackMap stack:
iload 2
sipush 400
if_icmplt 213
207: iload 2
sipush 404
if_icmpeq 208
iload 2
sipush 410
if_icmpne 209
208: StackMap locals:
StackMap stack:
new java.io.FileNotFoundException
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
209: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Server returned HTTP response code: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
210: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for URL: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
211: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
212: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
213: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
214: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
215: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
astore 16
216: iload 2
sipush 407
if_icmpne 219
aload 5
ifnull 219
217: aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
218: goto 221
219: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int top top top top top top top top java.io.InputStream
StackMap stack:
iload 2
sipush 401
if_icmpne 221
aload 4
ifnull 221
220: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
221: StackMap locals:
StackMap stack:
aload 16
areturn
end local 7 222: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader
StackMap stack:
iload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
223: if_icmplt 26
224: new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Server redirected too many times ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
225: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
226: invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
227: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 7
start local 7 228: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
229: aload 0
aload 7
putfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
230: aload 7
athrow
end local 7 231: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 232: aload 0
aload 7
putfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
233: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Transfer-Encoding"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 234: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 237
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.isKeepingAlive:()Z
ifeq 237
getstatic sun.net.www.protocol.http.HttpURLConnection.enableESBuffer:Z
ifeq 237
235: iload 3
ifgt 236
aload 8
ifnull 237
aload 8
ldc "chunked"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 237
236: StackMap locals: java.io.IOException java.lang.String
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
iload 3
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokestatic sun.net.www.protocol.http.HttpURLConnection$ErrorStream.getErrorStream:(Ljava/io/InputStream;ILsun/net/www/http/HttpClient;)Ljava/io/InputStream;
putfield sun.net.www.protocol.http.HttpURLConnection.errorStream:Ljava/io/InputStream;
237: StackMap locals:
StackMap stack:
aload 7
athrow
end local 8 end local 7 238: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader
StackMap stack: java.lang.Throwable
astore 15
239: iload 2
sipush 407
if_icmpne 242
aload 5
ifnull 242
240: aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
241: goto 244
242: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int int sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader top top top top top top top top java.lang.Throwable
StackMap stack:
iload 2
sipush 401
if_icmpne 244
aload 4
ifnull 244
243: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
244: StackMap locals:
StackMap stack:
aload 15
athrow
end local 6 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 245 0 this Lsun/net/www/protocol/http/HttpURLConnection;
15 245 1 redirects I
16 245 2 respCode I
17 245 3 cl I
18 245 4 serverAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
19 245 5 proxyAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
20 245 6 srvHdr Lsun/net/www/protocol/http/AuthenticationHeader;
37 222 7 meteredInput Z
63 88 8 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
71 88 9 raw Ljava/lang/String;
101 129 8 raw Ljava/lang/String;
134 142 8 npath Ljava/lang/String;
135 142 9 opath Ljava/lang/String;
139 142 10 a Lsun/net/www/protocol/http/BasicAuthentication;
146 160 8 srv Lsun/net/www/protocol/http/DigestAuthentication;
147 160 9 tok Ljava/util/StringTokenizer;
148 160 10 realm Ljava/lang/String;
149 160 11 pw Ljava/net/PasswordAuthentication;
152 159 12 path Ljava/lang/String;
153 157 13 u Ljava/net/URL;
156 157 14 d Lsun/net/www/protocol/http/DigestAuthentication;
192 204 8 uri Ljava/net/URI;
194 204 9 uconn Ljava/net/URLConnection;
201 204 10 cacheRequest Ljava/net/CacheRequest;
228 231 7 e Ljava/lang/RuntimeException;
232 238 7 e Ljava/io/IOException;
234 238 8 te Ljava/lang/String;
Exception table:
from to target type
152 157 158 Class java.lang.Exception
175 176 177 Class java.lang.Exception
195 196 197 Class java.lang.IllegalAccessException
195 196 198 Class java.lang.NoSuchFieldException
26 30 227 Class java.lang.RuntimeException
36 216 227 Class java.lang.RuntimeException
222 227 227 Class java.lang.RuntimeException
26 30 231 Class java.io.IOException
36 216 231 Class java.io.IOException
222 227 231 Class java.io.IOException
26 30 238 any
36 216 238 any
222 238 238 any
Exceptions:
throws java.io.IOException
private java.io.IOException getChainedException(java.io.IOException);
descriptor: (Ljava/io/IOException;)Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aastore
astore 2
start local 2 1: new sun.net.www.protocol.http.HttpURLConnection$7
dup
aload 0
aload 1
aload 2
invokespecial sun.net.www.protocol.http.HttpURLConnection$7.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/IOException;[Ljava/lang/Object;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.io.IOException
3: astore 3
start local 3 4: aload 3
aload 1
invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
5: aload 3
6: areturn
end local 3 end local 2 7: StackMap locals:
StackMap stack: java.lang.Exception
pop
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 9 1 rememberedException Ljava/io/IOException;
1 7 2 args [Ljava/lang/Object;
4 7 3 chainedException Ljava/io/IOException;
Exception table:
from to target type
0 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
rememberedException final
public java.io.InputStream getErrorStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
sipush 400
if_icmplt 5
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.errorStream:Ljava/io/InputStream;
ifnull 3
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.errorStream:Ljava/io/InputStream;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
ifnull 5
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/protocol/http/HttpURLConnection;
private sun.net.www.protocol.http.AuthenticationInfo (sun.net.www.protocol.http.AuthenticationInfo, sun.net.www.protocol.http.AuthenticationHeader);
descriptor: (Lsun/net/www/protocol/http/AuthenticationInfo;Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 12
1: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getAuthScheme:()Lsun/net/www/protocol/http/AuthScheme;
getstatic sun.net.www.protocol.http.AuthScheme.NTLM:Lsun/net/www/protocol/http/AuthScheme;
if_acmpeq 12
2: aload 2
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.raw:()Ljava/lang/String;
astore 3
start local 3 3: aload 1
aload 3
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale:(Ljava/lang/String;)Z
ifeq 11
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
5: aload 1
6: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
7: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue:(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
8: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
10: aload 1
areturn
11: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.removeFromCache:()V
end local 3 12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getHttpProxyAuthentication:(Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 1
13: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
14: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 15 1 proxyAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
0 15 2 auth Lsun/net/www/protocol/http/AuthenticationHeader;
3 12 3 raw Ljava/lang/String;
MethodParameters:
Name Flags
proxyAuthentication
auth
public synchronized void doTunneling();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=9, locals=12, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: ldc ""
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: iconst_m1
istore 6
start local 6 6: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
astore 7
start local 7 7: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
8: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int java.lang.String int sun.net.www.protocol.http.AuthenticationInfo java.lang.String int sun.net.www.MessageHeader
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 10
9: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 5
iload 6
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.proxiedConnect:(Ljava/net/URL;Ljava/lang/String;IZ)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.sendCONNECTRequest:()V
11: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
aconst_null
aload 0
invokevirtual sun.net.www.http.HttpClient.parseHTTP:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
pop
13: ldc "FINE"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 15
14: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.fine:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
iconst_0
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
astore 2
16: new java.util.StringTokenizer
dup
aload 2
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 8
start local 8 17: aload 8
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
pop
18: aload 8
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
19: iload 3
sipush 407
if_icmpne 49
20: new sun.net.www.protocol.http.AuthenticationHeader
dup
21: ldc "Proxy-Authenticate"
22: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
23: new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
24: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
25: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
26: invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Ljava/net/URL;Ljava/lang/String;I)V
27: getstatic sun.net.www.protocol.http.HttpURLConnection.disabledTunnelingSchemes:Ljava/util/Set;
28: invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/util/Set;)V
astore 9
start local 9 29: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
ifne 38
30: aload 0
aload 4
aload 9
invokevirtual sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication:(Lsun/net/www/protocol/http/AuthenticationInfo;Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
31: astore 4
32: aload 4
ifnull 49
33: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
astore 5
34: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
istore 6
35: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
36: iinc 1 1
37: goto 55
38: StackMap locals: java.util.StringTokenizer sun.net.www.protocol.http.AuthenticationHeader
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 39: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
40: aload 4
aload 0
41: aload 9
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
aload 10
42: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
43: ifne 46
44: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
45: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals: java.lang.String
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
47: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
48: goto 55
end local 10 end local 9 49: StackMap locals:
StackMap stack:
aload 4
ifnull 51
50: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.addToCache:()V
51: StackMap locals:
StackMap stack:
iload 3
sipush 200
if_icmpne 53
52: goto 57
53: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
54: goto 57
end local 8 55: StackMap locals:
StackMap stack:
iload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
56: if_icmplt 8
57: StackMap locals:
StackMap stack:
iload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
if_icmpge 58
iload 3
sipush 200
if_icmpeq 65
58: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to tunnel through proxy. Proxy returns \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
59: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
60: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
61: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
62: iload 3
sipush 407
if_icmpne 64
aload 4
ifnull 64
63: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
64: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int java.lang.String int sun.net.www.protocol.http.AuthenticationInfo java.lang.String int sun.net.www.MessageHeader top top top java.lang.Throwable
StackMap stack:
aload 11
athrow
65: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int java.lang.String int sun.net.www.protocol.http.AuthenticationInfo java.lang.String int sun.net.www.MessageHeader
StackMap stack:
iload 3
sipush 407
if_icmpne 67
aload 4
ifnull 67
66: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:()V
67: StackMap locals:
StackMap stack:
aload 0
aload 7
putfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
68: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
69: return
end local 7 end local 6 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 70 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 70 1 retryTunnel I
2 70 2 statusLine Ljava/lang/String;
3 70 3 respCode I
4 70 4 proxyAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
5 70 5 proxyHost Ljava/lang/String;
6 70 6 proxyPort I
7 70 7 savedRequests Lsun/net/www/MessageHeader;
17 55 8 st Ljava/util/StringTokenizer;
29 49 9 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
39 49 10 raw Ljava/lang/String;
Exception table:
from to target type
8 61 61 any
Exceptions:
throws java.io.IOException
private void sendCONNECTRequest();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 1
start local 1 1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
ifeq 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iconst_0
aconst_null
aconst_null
invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
2: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
new java.lang.StringBuilder
dup
ldc "CONNECT "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()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;
3: iload 1
iconst_m1
if_icmpeq 4
iload 1
goto 5
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int
StackMap stack: sun.net.www.MessageHeader java.lang.StringBuilder
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int
StackMap stack: sun.net.www.MessageHeader java.lang.StringBuilder int
5: invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "HTTP/1.1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
7: invokevirtual sun.net.www.MessageHeader.prepend:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "User-Agent"
getstatic sun.net.www.protocol.http.HttpURLConnection.userAgent:Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 2
start local 2 10: iload 1
iconst_m1
if_icmpeq 12
iload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
if_icmpeq 12
11: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
12: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Host"
aload 2
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
13: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Accept"
ldc "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
14: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setPreemptiveProxyAuthentication:(Lsun/net/www/MessageHeader;)V
15: ldc "FINE"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 17
16: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.fine:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aconst_null
invokevirtual sun.net.www.http.HttpClient.writeRequests:(Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;)V
18: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iconst_0
aconst_null
aconst_null
invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
19: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 20 1 port I
10 20 2 host Ljava/lang/String;
Exceptions:
throws java.io.IOException
private void (sun.net.www.MessageHeader);
descriptor: (Lsun/net/www/MessageHeader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
2: invokestatic sun.net.www.protocol.http.AuthenticationInfo.getProxyAuth:(Ljava/lang/String;I)Lsun/net/www/protocol/http/AuthenticationInfo;
3: astore 2
start local 2 4: aload 2
ifnull 9
aload 2
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 9
5: aload 1
aload 2
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
6: aload 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue:(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
7: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
aload 2
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
9: StackMap locals: sun.net.www.protocol.http.AuthenticationInfo
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 10 1 requests Lsun/net/www/MessageHeader;
4 10 2 pauth Lsun/net/www/protocol/http/AuthenticationInfo;
MethodParameters:
Name Flags
requests
private sun.net.www.protocol.http.AuthenticationInfo (sun.net.www.protocol.http.AuthenticationHeader);
descriptor: (Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=13, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.raw:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
astore 4
start local 4 3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
istore 5
start local 5 4: aload 4
ifnull 96
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.isPresent:()Z
ifeq 96
5: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
astore 6
start local 6 6: aload 6
ldc "realm"
invokevirtual sun.net.www.HeaderParser.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 7: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.scheme:()Ljava/lang/String;
astore 8
start local 8 8: getstatic sun.net.www.protocol.http.AuthScheme.UNKNOWN:Lsun/net/www/protocol/http/AuthScheme;
astore 9
start local 9 9: ldc "basic"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: getstatic sun.net.www.protocol.http.AuthScheme.BASIC:Lsun/net/www/protocol/http/AuthScheme;
astore 9
11: goto 26
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String java.lang.String int sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme
StackMap stack:
12: ldc "digest"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: getstatic sun.net.www.protocol.http.AuthScheme.DIGEST:Lsun/net/www/protocol/http/AuthScheme;
astore 9
14: goto 26
StackMap locals:
StackMap stack:
15: ldc "ntlm"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 19
16: getstatic sun.net.www.protocol.http.AuthScheme.NTLM:Lsun/net/www/protocol/http/AuthScheme;
astore 9
17: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
18: goto 26
StackMap locals:
StackMap stack:
19: ldc "Kerberos"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 23
20: getstatic sun.net.www.protocol.http.AuthScheme.KERBEROS:Lsun/net/www/protocol/http/AuthScheme;
astore 9
21: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
22: goto 26
StackMap locals:
StackMap stack:
23: ldc "Negotiate"
aload 8
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 26
24: getstatic sun.net.www.protocol.http.AuthScheme.NEGOTIATE:Lsun/net/www/protocol/http/AuthScheme;
astore 9
25: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
26: StackMap locals:
StackMap stack:
aload 7
ifnonnull 28
27: ldc ""
astore 7
28: StackMap locals:
StackMap stack:
aload 4
29: iload 5
30: aload 7
31: aload 9
32: invokestatic sun.net.www.protocol.http.AuthenticationInfo.getProxyAuth:(Ljava/lang/String;ILjava/lang/String;Lsun/net/www/protocol/http/AuthScheme;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
33: aload 2
ifnonnull 85
34: invokestatic sun.net.www.protocol.http.HttpURLConnection.$SWITCH_TABLE$sun$net$www$protocol$http$AuthScheme:()[I
aload 9
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 35
2: 49
3: 59
4: 78
5: 80
6: 82
default: 84
}
35: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 36: aload 4
astore 11
start local 11 37: new sun.net.www.protocol.http.HttpURLConnection$8
dup
aload 0
aload 11
invokespecial sun.net.www.protocol.http.HttpURLConnection$8.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/lang/String;)V
38: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.InetAddress
39: astore 10
end local 11 40: goto 42
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String java.lang.String int sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme java.net.InetAddress
StackMap stack: java.security.PrivilegedActionException
41: pop
42: StackMap locals:
StackMap stack:
aload 4
aload 10
iload 5
ldc "http"
43: aload 7
aload 8
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
getstatic java.net.Authenticator$RequestorType.PROXY:Ljava/net/Authenticator$RequestorType;
44: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
45: astore 11
start local 11 46: aload 11
ifnull 85
47: new sun.net.www.protocol.http.BasicAuthentication
dup
iconst_1
aload 4
iload 5
aload 7
aload 11
invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/lang/String;ILjava/lang/String;Ljava/net/PasswordAuthentication;)V
astore 2
48: goto 85
end local 11 end local 10 49: StackMap locals:
StackMap stack:
aload 4
aconst_null
iload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
50: aload 7
aload 8
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
getstatic java.net.Authenticator$RequestorType.PROXY:Ljava/net/Authenticator$RequestorType;
51: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
astore 11
start local 11 52: aload 11
ifnull 85
53: new sun.net.www.protocol.http.DigestAuthentication$Parameters
dup
invokespecial sun.net.www.protocol.http.DigestAuthentication$Parameters.<init>:()V
54: astore 12
start local 12 55: new sun.net.www.protocol.http.DigestAuthentication
dup
iconst_1
aload 4
iload 5
aload 7
56: aload 8
aload 11
aload 12
57: invokespecial sun.net.www.protocol.http.DigestAuthentication.<init>:(ZLjava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/net/PasswordAuthentication;Lsun/net/www/protocol/http/DigestAuthentication$Parameters;)V
astore 2
end local 12 58: goto 85
end local 11 59: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supported:Z
ifeq 85
60: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifeq 66
61: aload 0
62: getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supportsTransparentAuth:Z
63: putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
64: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifeq 66
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.useProxyResponseCode:Z
ifeq 66
65: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
66: StackMap locals:
StackMap stack:
aconst_null
astore 11
start local 11 67: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifeq 70
68: ldc "Trying Transparent NTLM authentication"
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
69: goto 73
70: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String java.lang.String int sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme top java.net.PasswordAuthentication
StackMap stack:
aload 4
aconst_null
iload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
71: ldc ""
aload 8
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
getstatic java.net.Authenticator$RequestorType.PROXY:Ljava/net/Authenticator$RequestorType;
72: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
astore 11
73: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifne 75
74: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifne 76
aload 11
ifnull 76
75: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.proxy:Lsun/net/www/protocol/http/NTLMAuthenticationProxy;
iconst_1
aload 4
iload 5
aload 11
invokevirtual sun.net.www.protocol.http.NTLMAuthenticationProxy.create:(ZLjava/lang/String;ILjava/net/PasswordAuthentication;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
76: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
end local 11 77: goto 85
78: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String java.lang.String int sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme
StackMap stack:
new sun.net.www.protocol.http.NegotiateAuthentication
dup
new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.getHttpCallerInfo:()Lsun/net/www/protocol/http/HttpCallerInfo;
ldc "Negotiate"
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/lang/String;)V
invokespecial sun.net.www.protocol.http.NegotiateAuthentication.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
astore 2
79: goto 85
80: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.NegotiateAuthentication
dup
new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.getHttpCallerInfo:()Lsun/net/www/protocol/http/HttpCallerInfo;
ldc "Kerberos"
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/lang/String;)V
invokespecial sun.net.www.protocol.http.NegotiateAuthentication.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
astore 2
81: goto 85
82: StackMap locals:
StackMap stack:
ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 84
83: new java.lang.StringBuilder
dup
ldc "Unknown/Unsupported authentication scheme: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
84: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
85: StackMap locals:
StackMap stack:
aload 2
ifnonnull 93
getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
ifnull 93
86: getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
aload 8
invokeinterface sun.net.www.protocol.http.HttpAuthenticator.schemeSupported:(Ljava/lang/String;)Z
ifeq 93
87: new java.net.URL
dup
ldc "http"
aload 4
iload 5
ldc "/"
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
astore 10
start local 10 88: getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
aload 10
aload 8
aload 7
invokeinterface sun.net.www.protocol.http.HttpAuthenticator.authString:(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 89: aload 11
ifnull 93
90: new sun.net.www.protocol.http.BasicAuthentication
dup
iconst_1
aload 4
iload 5
aload 7
aload 11
invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
astore 2
end local 11 end local 10 91: goto 93
StackMap locals:
StackMap stack: java.net.MalformedURLException
92: pop
93: StackMap locals:
StackMap stack:
aload 2
ifnull 96
94: aload 2
aload 0
aload 6
aload 3
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
ifne 96
95: aconst_null
astore 2
end local 9 end local 8 end local 7 end local 6 96: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String java.lang.String int
StackMap stack:
ldc "FINER"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 100
97: new java.lang.StringBuilder
dup
ldc "Proxy Authentication for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " returned "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
ifnull 98
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 99
StackMap locals:
StackMap stack: java.lang.StringBuilder
98: ldc "null"
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String java.lang.String int
StackMap stack: java.lang.StringBuilder java.lang.String
99: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finer:(Ljava/lang/String;)V
100: StackMap locals:
StackMap stack:
aload 2
areturn
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 101 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 101 1 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
1 101 2 ret Lsun/net/www/protocol/http/AuthenticationInfo;
2 101 3 raw Ljava/lang/String;
3 101 4 host Ljava/lang/String;
4 101 5 port I
6 96 6 p Lsun/net/www/HeaderParser;
7 96 7 realm Ljava/lang/String;
8 96 8 scheme Ljava/lang/String;
9 96 9 authScheme Lsun/net/www/protocol/http/AuthScheme;
36 49 10 addr Ljava/net/InetAddress;
37 40 11 finalHost Ljava/lang/String;
46 49 11 a Ljava/net/PasswordAuthentication;
52 59 11 a Ljava/net/PasswordAuthentication;
67 77 11 a Ljava/net/PasswordAuthentication;
55 58 12 params Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
88 91 10 u Ljava/net/URL;
89 91 11 a Ljava/lang/String;
Exception table:
from to target type
36 40 41 Class java.security.PrivilegedActionException
87 91 92 Class java.net.MalformedURLException
MethodParameters:
Name Flags
authhdr
private sun.net.www.protocol.http.AuthenticationInfo (sun.net.www.protocol.http.AuthenticationHeader);
descriptor: (Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.raw:()Ljava/lang/String;
astore 3
start local 3 2: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.isPresent:()Z
ifeq 88
3: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
astore 4
start local 4 4: aload 4
ldc "realm"
invokevirtual sun.net.www.HeaderParser.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 5: aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.scheme:()Ljava/lang/String;
astore 6
start local 6 6: getstatic sun.net.www.protocol.http.AuthScheme.UNKNOWN:Lsun/net/www/protocol/http/AuthScheme;
astore 7
start local 7 7: ldc "basic"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
8: getstatic sun.net.www.protocol.http.AuthScheme.BASIC:Lsun/net/www/protocol/http/AuthScheme;
astore 7
9: goto 24
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme
StackMap stack:
10: ldc "digest"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 13
11: getstatic sun.net.www.protocol.http.AuthScheme.DIGEST:Lsun/net/www/protocol/http/AuthScheme;
astore 7
12: goto 24
StackMap locals:
StackMap stack:
13: ldc "ntlm"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 17
14: getstatic sun.net.www.protocol.http.AuthScheme.NTLM:Lsun/net/www/protocol/http/AuthScheme;
astore 7
15: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
16: goto 24
StackMap locals:
StackMap stack:
17: ldc "Kerberos"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
18: getstatic sun.net.www.protocol.http.AuthScheme.KERBEROS:Lsun/net/www/protocol/http/AuthScheme;
astore 7
19: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
20: goto 24
StackMap locals:
StackMap stack:
21: ldc "Negotiate"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 24
22: getstatic sun.net.www.protocol.http.AuthScheme.NEGOTIATE:Lsun/net/www/protocol/http/AuthScheme;
astore 7
23: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
24: StackMap locals:
StackMap stack:
aload 0
aload 4
ldc "domain"
invokevirtual sun.net.www.HeaderParser.findValue:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.net.www.protocol.http.HttpURLConnection.domain:Ljava/lang/String;
25: aload 5
ifnonnull 27
26: ldc ""
astore 5
27: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 5
aload 7
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuth:(Ljava/net/URL;Ljava/lang/String;Lsun/net/www/protocol/http/AuthScheme;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
28: aconst_null
astore 8
start local 8 29: aload 2
ifnonnull 33
30: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 8
31: goto 33
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme java.net.InetAddress
StackMap stack: java.net.UnknownHostException
32: pop
33: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 9
start local 9 34: iload 9
iconst_m1
if_icmpne 36
35: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
istore 9
36: StackMap locals: int
StackMap stack:
aload 2
ifnonnull 80
37: invokestatic sun.net.www.protocol.http.HttpURLConnection.$SWITCH_TABLE$sun$net$www$protocol$http$AuthScheme:()[I
aload 7
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 42
2: 49
3: 56
4: 40
5: 38
6: 77
default: 79
}
38: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.NegotiateAuthentication
dup
new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.getHttpCallerInfo:()Lsun/net/www/protocol/http/HttpCallerInfo;
ldc "Kerberos"
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/lang/String;)V
invokespecial sun.net.www.protocol.http.NegotiateAuthentication.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
astore 2
39: goto 80
40: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.NegotiateAuthentication
dup
new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.getHttpCallerInfo:()Lsun/net/www/protocol/http/HttpCallerInfo;
ldc "Negotiate"
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/lang/String;)V
invokespecial sun.net.www.protocol.http.NegotiateAuthentication.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
astore 2
41: goto 80
42: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 8
iload 9
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
43: aload 5
aload 6
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
getstatic java.net.Authenticator$RequestorType.SERVER:Ljava/net/Authenticator$RequestorType;
44: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
45: astore 10
start local 10 46: aload 10
ifnull 80
47: new sun.net.www.protocol.http.BasicAuthentication
dup
iconst_0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 5
aload 10
invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/net/URL;Ljava/lang/String;Ljava/net/PasswordAuthentication;)V
astore 2
48: goto 80
end local 10 49: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 8
iload 9
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
50: aload 5
aload 6
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
getstatic java.net.Authenticator$RequestorType.SERVER:Ljava/net/Authenticator$RequestorType;
51: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
astore 10
start local 10 52: aload 10
ifnull 80
53: aload 0
new sun.net.www.protocol.http.DigestAuthentication$Parameters
dup
invokespecial sun.net.www.protocol.http.DigestAuthentication$Parameters.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.digestparams:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
54: new sun.net.www.protocol.http.DigestAuthentication
dup
iconst_0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 5
aload 6
aload 10
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.digestparams:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
invokespecial sun.net.www.protocol.http.DigestAuthentication.<init>:(ZLjava/net/URL;Ljava/lang/String;Ljava/lang/String;Ljava/net/PasswordAuthentication;Lsun/net/www/protocol/http/DigestAuthentication$Parameters;)V
astore 2
55: goto 80
end local 10 56: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supported:Z
ifeq 80
57: new java.net.URL
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
ldc "/"
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 11
start local 11 58: goto 61
end local 11 StackMap locals:
StackMap stack: java.lang.Exception
59: pop
60: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
astore 11
start local 11 61: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme java.net.InetAddress int top java.net.URL
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifeq 65
62: aload 0
63: getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supportsTransparentAuth:Z
64: putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
65: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 66: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifeq 69
67: ldc "Trying Transparent NTLM authentication"
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
68: goto 72
69: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String sun.net.www.HeaderParser java.lang.String java.lang.String sun.net.www.protocol.http.AuthScheme java.net.InetAddress int java.net.PasswordAuthentication java.net.URL
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 8
iload 9
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
70: ldc ""
aload 6
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
getstatic java.net.Authenticator$RequestorType.SERVER:Ljava/net/Authenticator$RequestorType;
71: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
astore 10
72: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifne 74
73: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifne 75
aload 10
ifnull 75
74: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.proxy:Lsun/net/www/protocol/http/NTLMAuthenticationProxy;
iconst_0
aload 11
aload 10
invokevirtual sun.net.www.protocol.http.NTLMAuthenticationProxy.create:(ZLjava/net/URL;Ljava/net/PasswordAuthentication;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
75: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
end local 11 end local 10 76: goto 80
77: StackMap locals:
StackMap stack:
ldc "FINEST"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 79
78: new java.lang.StringBuilder
dup
ldc "Unknown/Unsupported authentication scheme: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finest:(Ljava/lang/String;)V
79: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
80: StackMap locals:
StackMap stack:
aload 2
ifnonnull 85
getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
ifnull 85
81: getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
aload 6
invokeinterface sun.net.www.protocol.http.HttpAuthenticator.schemeSupported:(Ljava/lang/String;)Z
ifeq 85
82: getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 6
aload 5
invokeinterface sun.net.www.protocol.http.HttpAuthenticator.authString:(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 83: aload 10
ifnull 85
84: new sun.net.www.protocol.http.BasicAuthentication
dup
iconst_0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 5
aload 10
invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/net/URL;Ljava/lang/String;Ljava/lang/String;)V
astore 2
end local 10 85: StackMap locals:
StackMap stack:
aload 2
ifnull 88
86: aload 2
aload 0
aload 4
aload 3
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
ifne 88
87: aconst_null
astore 2
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 88: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String
StackMap stack:
ldc "FINER"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 92
89: new java.lang.StringBuilder
dup
ldc "Server Authentication for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " returned "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
ifnull 90
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 91
StackMap locals:
StackMap stack: java.lang.StringBuilder
90: ldc "null"
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationHeader sun.net.www.protocol.http.AuthenticationInfo java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
91: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.finer:(Ljava/lang/String;)V
92: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 93 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 93 1 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
1 93 2 ret Lsun/net/www/protocol/http/AuthenticationInfo;
2 93 3 raw Ljava/lang/String;
4 88 4 p Lsun/net/www/HeaderParser;
5 88 5 realm Ljava/lang/String;
6 88 6 scheme Ljava/lang/String;
7 88 7 authScheme Lsun/net/www/protocol/http/AuthScheme;
29 88 8 addr Ljava/net/InetAddress;
34 88 9 port I
46 49 10 a Ljava/net/PasswordAuthentication;
52 56 10 a Ljava/net/PasswordAuthentication;
66 76 10 a Ljava/net/PasswordAuthentication;
58 59 11 url1 Ljava/net/URL;
61 76 11 url1 Ljava/net/URL;
83 85 10 a Ljava/lang/String;
Exception table:
from to target type
30 31 32 Class java.net.UnknownHostException
57 58 59 Class java.lang.Exception
MethodParameters:
Name Flags
authhdr
private void checkResponseCredentials(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.validateProxy:Z
ifeq 7
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnull 7
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authentication-Info"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: iload 1
ifne 5
aload 2
ifnull 7
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
aload 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.checkResponse:(Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;)V
6: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 2 7: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.validateServer:Z
ifeq 12
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnull 12
8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Authentication-Info"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 9: iload 1
ifne 10
aload 2
ifnull 12
10: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
aload 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.checkResponse:(Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;)V
11: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnonnull 19
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnonnull 19
13: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
14: goto 19
StackMap locals:
StackMap stack: java.io.IOException
15: astore 2
start local 2 16: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
17: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
18: aload 2
athrow
end local 2 19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 20 1 inClose Z
4 7 2 raw Ljava/lang/String;
9 12 2 raw Ljava/lang/String;
16 19 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 15 Class java.io.IOException
2 14 15 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inClose
private boolean followRedirect();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getInstanceFollowRedirects:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getResponseCode:()I
istore 1
start local 1 3: iload 1
sipush 300
if_icmplt 5
iload 1
sipush 307
if_icmpgt 5
iload 1
sipush 306
if_icmpeq 5
4: iload 1
sipush 304
if_icmpne 6
5: StackMap locals: int
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
ldc "Location"
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 7: aload 2
ifnonnull 9
8: iconst_0
ireturn
9: StackMap locals: java.lang.String
StackMap stack:
new java.net.URL
dup
aload 2
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 3
start local 3 10: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 3
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 14
11: iconst_0
ireturn
end local 3 12: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
13: new java.net.URL
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 2
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 3
start local 3 14: StackMap locals: java.net.URL
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
15: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 17
16: new java.net.HttpRetryException
dup
ldc "cannot retry due to redirection, in streaming mode"
iload 1
aload 2
invokespecial java.net.HttpRetryException.<init>:(Ljava/lang/String;ILjava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
ldc "FINE"
invokestatic sun.net.www.http.HttpCapture.isLoggable:(Ljava/lang/String;)Z
ifeq 19
18: new java.lang.StringBuilder
dup
ldc "Redirected from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpCapture.fine:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
20: iload 1
sipush 305
if_icmpne 33
21: aload 3
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 4
start local 4 22: aload 3
invokevirtual java.net.URL.getPort:()I
istore 5
start local 5 23: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 6
start local 6 24: aload 6
ifnull 26
25: aload 6
aload 4
iload 5
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
26: StackMap locals: java.lang.String int java.lang.SecurityManager
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 4
iload 5
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setProxiedClient:(Ljava/net/URL;Ljava/lang/String;I)V
27: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iconst_0
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getURLFile:()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;
28: ldc "HTTP/1.1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
29: invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
30: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
31: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.useProxyResponseCode:Z
end local 6 end local 5 end local 4 32: goto 68
33: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
astore 4
start local 4 34: aload 0
aload 3
putfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
35: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
ldc "POST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
ldc "http.strictPostRedirect"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 46
iload 1
sipush 307
if_icmpeq 46
36: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
37: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
38: aload 0
ldc "GET"
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
39: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
40: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 42
41: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
42: StackMap locals: java.net.URL
StackMap stack:
aload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.HttpURLConnection.sameDestination:(Ljava/net/URL;Ljava/net/URL;)Z
ifne 68
43: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
44: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
45: goto 68
46: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 48
47: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
48: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 57
49: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
iconst_0
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getURLFile:()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;
50: ldc "HTTP/1.1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
51: invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
52: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 5
start local 5 53: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 6
start local 6 54: iload 5
iconst_m1
if_icmpeq 56
iload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
if_icmpeq 56
55: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
56: StackMap locals: int java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Host"
aload 6
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 57: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.HttpURLConnection.sameDestination:(Ljava/net/URL;Ljava/net/URL;)Z
ifne 68
58: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
59: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
60: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
61: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Cookie2"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
62: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Authorization"
invokevirtual sun.net.www.MessageHeader.remove:(Ljava/lang/String;)V
63: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuth:(Ljava/net/URL;)Lsun/net/www/protocol/http/AuthenticationInfo;
64: astore 5
start local 5 65: aload 5
ifnull 68
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 68
66: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
aload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue:(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
67: aload 0
aload 5
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 5 end local 4 68: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Lsun/net/www/protocol/http/HttpURLConnection;
3 69 1 stat I
7 69 2 loc Ljava/lang/String;
10 12 3 locUrl Ljava/net/URL;
14 69 3 locUrl Ljava/net/URL;
22 32 4 proxyHost Ljava/lang/String;
23 32 5 proxyPort I
24 32 6 security Ljava/lang/SecurityManager;
34 68 4 prevURL Ljava/net/URL;
53 57 5 port I
54 57 6 host Ljava/lang/String;
65 68 5 sauth Lsun/net/www/protocol/http/AuthenticationInfo;
Exception table:
from to target type
9 11 12 Class java.net.MalformedURLException
Exceptions:
throws java.io.IOException
private static boolean sameDestination(java.net.URL, java.net.URL);
descriptor: (Ljava/net/URL;Ljava/net/URL;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.net.www.protocol.http.HttpURLConnection.$assertionsDisabled:Z
ifne 2
aload 0
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
new java.lang.AssertionError
dup
1: new java.lang.StringBuilder
dup
ldc "protocols not equal: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 1
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URL.getPort:()I
istore 2
start local 2 5: iload 2
iconst_m1
if_icmpne 7
6: aload 0
invokevirtual java.net.URL.getDefaultPort:()I
istore 2
7: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.net.URL.getPort:()I
istore 3
start local 3 8: iload 3
iconst_m1
if_icmpne 10
9: aload 1
invokevirtual java.net.URL.getDefaultPort:()I
istore 3
10: StackMap locals: int
StackMap stack:
iload 2
iload 3
if_icmpeq 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 firstURL Ljava/net/URL;
0 13 1 secondURL Ljava/net/URL;
5 13 2 firstPort I
8 13 3 secondPort I
MethodParameters:
Name Flags
firstURL
secondURL
private void reset();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iconst_1
putfield sun.net.www.http.HttpClient.reuse:Z
1: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
ldc "HEAD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 32
4: aload 1
instanceof sun.net.www.http.ChunkedInputStream
ifne 6
5: aload 1
instanceof sun.net.www.MeteredStream
ifeq 8
6: StackMap locals: java.io.InputStream
StackMap stack:
aload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cdata:[B
invokevirtual java.io.InputStream.read:([B)I
ifgt 6
7: goto 28
8: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 9: iconst_0
istore 4
start local 4 10: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Content-Length"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 11: aload 5
ifnull 16
12: aload 5
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 2
13: goto 16
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.io.InputStream long int java.lang.String
StackMap stack: java.lang.NumberFormatException
14: pop
15: lconst_0
lstore 2
16: StackMap locals:
StackMap stack:
lconst_0
lstore 6
start local 6 17: goto 21
18: StackMap locals: long
StackMap stack:
aload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cdata:[B
invokevirtual java.io.InputStream.read:([B)I
dup
istore 4
iconst_m1
if_icmpne 20
19: goto 28
20: StackMap locals:
StackMap stack:
lload 6
iload 4
i2l
ladd
lstore 6
21: StackMap locals:
StackMap stack:
lload 6
lload 2
lcmp
iflt 18
end local 6 end local 5 end local 4 end local 2 22: goto 28
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.io.InputStream
StackMap stack: java.io.IOException
23: pop
24: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iconst_0
putfield sun.net.www.http.HttpClient.reuse:Z
25: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
26: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
27: return
28: StackMap locals:
StackMap stack:
aload 1
instanceof sun.net.www.MeteredStream
ifeq 32
29: aload 1
invokevirtual java.io.InputStream.close:()V
30: goto 32
StackMap locals:
StackMap stack: java.io.IOException
31: pop
32: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
33: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
34: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
35: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lsun/net/www/protocol/http/HttpURLConnection;
3 36 1 is Ljava/io/InputStream;
9 22 2 cl J
10 22 4 n I
11 22 5 cls Ljava/lang/String;
17 22 6 i J
Exception table:
from to target type
12 13 14 Class java.lang.NumberFormatException
4 22 23 Class java.io.IOException
28 30 31 Class java.io.IOException
Exceptions:
throws java.io.IOException
private void disconnectInternal();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
ifnull 4
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.finishTracking:()V
3: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 8
5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
6: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
7: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public void disconnect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
ifnull 4
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.finishTracking:()V
3: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 18
5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
ifnull 14
6: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
astore 1
start local 1 7: aload 1
invokevirtual sun.net.www.http.HttpClient.isKeepingAlive:()Z
istore 2
start local 2 8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
9: goto 11
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.http.HttpClient int
StackMap stack: java.io.IOException
10: pop
11: StackMap locals:
StackMap stack:
iload 2
ifeq 16
12: aload 1
invokevirtual sun.net.www.http.HttpClient.closeIdleConnection:()V
end local 2 end local 1 13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
iconst_1
invokevirtual sun.net.www.http.HttpClient.setDoNotRetry:(Z)V
15: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
16: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
17: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
18: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
19: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 21
20: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/net/www/protocol/http/HttpURLConnection;
7 13 1 hc Lsun/net/www/http/HttpClient;
8 13 2 ka Z
Exception table:
from to target type
8 9 10 Class java.io.IOException
public boolean usingProxy();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 3
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyHostUsed:()Ljava/lang/String;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
pop
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 5
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
aload 1
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
aload 1
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 6 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
name
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> getHeaderFields();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
pop
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 5
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.getHeaders:()Ljava/util/Map;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.getHeaders:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/protocol/http/HttpURLConnection;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public java.lang.String (int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
pop
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 5
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
iload 1
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
iload 1
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 6 1 n I
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
n
public java.lang.String (int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
pop
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 5
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
iload 1
invokevirtual sun.net.www.MessageHeader.getKey:(I)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
iload 1
invokevirtual sun.net.www.MessageHeader.getKey:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 6 1 n I
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
n
public void setRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already connected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "key is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 6
5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 7 1 key Ljava/lang/String;
0 7 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public void addRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already connected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "key is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 6
5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 7 1 key Ljava/lang/String;
0 7 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
void setAuthenticationProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 3 1 key Ljava/lang/String;
0 3 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public java.lang.String getRequestProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
getstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
arraylength
if_icmplt 4
end local 2 8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.setUserCookies:Z
ifne 13
9: aload 1
ldc "Cookie"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
10: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 1
ldc "Cookie2"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 13
12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 14 1 key Ljava/lang/String;
3 8 2 i I
MethodParameters:
Name Flags
key
public synchronized java.util.Map<java.lang.String, java.util.List<java.lang.String>> getRequestProperties();
descriptor: ()Ljava/util/Map;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already connected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.setUserCookies:Z
ifeq 4
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
getstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.getHeaders:([Ljava/lang/String;)Ljava/util/Map;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
ifnonnull 6
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
ifnull 11
6: StackMap locals: java.util.Map
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
ifnull 9
8: aload 1
ldc "Cookie"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
ifnull 11
10: aload 1
ldc "Cookie2"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
getstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS2:[Ljava/lang/String;
aload 1
invokevirtual sun.net.www.MessageHeader.filterAndAddHeaders:([Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/www/protocol/http/HttpURLConnection;
5 12 1 userCookiesMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public void setConnectTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "timeouts can't be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 4 1 timeout I
MethodParameters:
Name Flags
timeout
public int getConnectTimeout();
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.HttpURLConnection.connectTimeout:I
ifge 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public void setReadTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "timeouts can't be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 4 1 timeout I
MethodParameters:
Name Flags
timeout
public int getReadTimeout();
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.HttpURLConnection.readTimeout:I
ifge 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public java.net.CookieHandler getCookieHandler();
descriptor: ()Ljava/net/CookieHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
java.lang.String getMethod();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
private sun.net.www.MessageHeader mapToMessageHeader(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifeq 3
2: StackMap locals: sun.net.www.MessageHeader
StackMap stack:
aload 2
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map sun.net.www.MessageHeader top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 7: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 13
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map sun.net.www.MessageHeader java.util.Map$Entry java.util.Iterator java.lang.String java.util.List top java.util.Iterator
StackMap stack:
8: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 9: aload 5
ifnonnull 12
10: aload 2
aload 5
aload 7
invokevirtual sun.net.www.MessageHeader.prepend:(Ljava/lang/String;Ljava/lang/String;)V
11: goto 13
12: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map sun.net.www.MessageHeader java.util.Map$Entry java.util.Iterator java.lang.String java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 2
aload 5
aload 7
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
end local 7 13: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map sun.net.www.MessageHeader java.util.Map$Entry java.util.Iterator java.lang.String java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 6 end local 5 end local 3 14: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map sun.net.www.MessageHeader top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
15: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 16 1 map Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 16 2 headers Lsun/net/www/MessageHeader;
5 14 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
6 14 5 key Ljava/lang/String;
7 14 6 values Ljava/util/List<Ljava/lang/String;>;
9 13 7 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)Lsun/net/www/MessageHeader;
MethodParameters:
Name Flags
map
static int[] $SWITCH_TABLE$sun$net$www$protocol$http$AuthScheme();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.net.www.protocol.http.HttpURLConnection.$SWITCH_TABLE$sun$net$www$protocol$http$AuthScheme:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.net.www.protocol.http.AuthScheme.values:()[Lsun/net/www/protocol/http/AuthScheme;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.net.www.protocol.http.AuthScheme.BASIC:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic sun.net.www.protocol.http.AuthScheme.DIGEST:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.net.www.protocol.http.AuthScheme.KERBEROS:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic sun.net.www.protocol.http.AuthScheme.NEGOTIATE:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic sun.net.www.protocol.http.AuthScheme.NTLM:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic sun.net.www.protocol.http.AuthScheme.UNKNOWN:Lsun/net/www/protocol/http/AuthScheme;
invokevirtual sun.net.www.protocol.http.AuthScheme.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic sun.net.www.protocol.http.HttpURLConnection.$SWITCH_TABLE$sun$net$www$protocol$http$AuthScheme:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "HttpURLConnection.java"
NestMembers:
sun.net.www.protocol.http.HttpURLConnection$1 sun.net.www.protocol.http.HttpURLConnection$2 sun.net.www.protocol.http.HttpURLConnection$3 sun.net.www.protocol.http.HttpURLConnection$4 sun.net.www.protocol.http.HttpURLConnection$5 sun.net.www.protocol.http.HttpURLConnection$6 sun.net.www.protocol.http.HttpURLConnection$7 sun.net.www.protocol.http.HttpURLConnection$8 sun.net.www.protocol.http.HttpURLConnection$ErrorStream sun.net.www.protocol.http.HttpURLConnection$HttpInputStream sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream
InnerClasses:
public final RequestorType = java.net.Authenticator$RequestorType of java.net.Authenticator
public final Type = java.net.Proxy$Type of java.net.Proxy
public abstract Entry = java.util.Map$Entry of java.util.Map
Parameters = sun.net.www.protocol.http.DigestAuthentication$Parameters of sun.net.www.protocol.http.DigestAuthentication
sun.net.www.protocol.http.HttpURLConnection$1
sun.net.www.protocol.http.HttpURLConnection$2
sun.net.www.protocol.http.HttpURLConnection$3
sun.net.www.protocol.http.HttpURLConnection$4
sun.net.www.protocol.http.HttpURLConnection$5
sun.net.www.protocol.http.HttpURLConnection$6
sun.net.www.protocol.http.HttpURLConnection$7
sun.net.www.protocol.http.HttpURLConnection$8
ErrorStream = sun.net.www.protocol.http.HttpURLConnection$ErrorStream of sun.net.www.protocol.http.HttpURLConnection
HttpInputStream = sun.net.www.protocol.http.HttpURLConnection$HttpInputStream of sun.net.www.protocol.http.HttpURLConnection
StreamingOutputStream = sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream of sun.net.www.protocol.http.HttpURLConnection