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 java.lang.String HTTP_CONNECT;
descriptor: Ljava/lang/String;
flags: (0x0008) ACC_STATIC
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
protected volatile java.net.Authenticator authenticator;
descriptor: Ljava/net/Authenticator;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected volatile java.lang.String authenticatorKey;
descriptor: Ljava/lang/String;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
private java.net.CookieHandler cookieHandler;
descriptor: Ljava/net/CookieHandler;
flags: (0x0002) ACC_PRIVATE
private final java.net.ResponseCache cacheHandler;
descriptor: Ljava/net/ResponseCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
private sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
private boolean connecting;
descriptor: Z
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
private java.lang.Object authObj;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
boolean isUserServerAuth;
descriptor: Z
flags: (0x0000)
boolean isUserProxyAuth;
descriptor: Z
flags: (0x0000)
java.lang.String serverAuthKey;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String proxyAuthKey;
descriptor: Ljava/lang/String;
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 sun.net.www.protocol.http.HttpURLConnection$TunnelState tunnelState;
descriptor: Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
flags: (0x0002) ACC_PRIVATE
private int connectTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int readTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.net.SocketPermission socketPermission;
descriptor: Ljava/net/SocketPermission;
flags: (0x0002) ACC_PRIVATE
private static final sun.util.logging.PlatformLogger logger;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
java.lang.String requestURI;
descriptor: Ljava/lang/String;
flags: (0x0000)
byte[] cdata;
descriptor: [B
flags: (0x0000)
private static final java.lang.String SET_COOKIE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "set-cookie"
private static final java.lang.String SET_COOKIE2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "set-cookie2"
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> ;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
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=4, 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: ldc "CONNECT"
putstatic sun.net.www.protocol.http.HttpURLConnection.HTTP_CONNECT:Ljava/lang/String;
4: iconst_0
putstatic sun.net.www.protocol.http.HttpURLConnection.enableESBuffer:Z
5: iconst_0
putstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
6: iconst_0
putstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
7: bipush 12
anewarray java.lang.String
dup
iconst_0
8: ldc "Access-Control-Request-Headers"
aastore
dup
iconst_1
9: ldc "Access-Control-Request-Method"
aastore
dup
iconst_2
10: ldc "Connection"
aastore
dup
iconst_3
11: ldc "Content-Length"
aastore
dup
iconst_4
12: ldc "Content-Transfer-Encoding"
aastore
dup
iconst_5
13: ldc "Host"
aastore
dup
bipush 6
14: ldc "Keep-Alive"
aastore
dup
bipush 7
15: ldc "Origin"
aastore
dup
bipush 8
16: ldc "Trailer"
aastore
dup
bipush 9
17: ldc "Transfer-Encoding"
aastore
dup
bipush 10
18: ldc "Upgrade"
aastore
dup
bipush 11
19: ldc "Via"
aastore
20: putstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaders:[Ljava/lang/String;
21: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperties:()Ljava/util/Properties;
astore 0
start local 0 22: ldc "http.maxRedirects"
bipush 20
23: invokestatic sun.security.action.GetIntegerAction.privilegedGetProperty:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
24: aload 0
ldc "java.version"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic sun.net.www.protocol.http.HttpURLConnection.version:Ljava/lang/String;
25: aload 0
ldc "http.agent"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 26: aload 1
ifnonnull 29
27: 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 1
28: goto 30
29: StackMap locals: java.util.Properties java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
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 1
30: StackMap locals:
StackMap stack:
aload 1
putstatic sun.net.www.protocol.http.HttpURLConnection.userAgent:Ljava/lang/String;
31: ldc "jdk.http.auth.tunneling.disabledSchemes"
invokestatic sun.net.www.protocol.http.HttpURLConnection.getNetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 32: aload 2
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;
33: ldc "jdk.http.auth.proxying.disabledSchemes"
invokestatic sun.net.www.protocol.http.HttpURLConnection.getNetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
34: aload 2
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;
35: aload 0
ldc "http.auth.digest.validateProxy"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
36: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.protocol.http.HttpURLConnection.validateProxy:Z
37: aload 0
ldc "http.auth.digest.validateServer"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
38: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.protocol.http.HttpURLConnection.validateServer:Z
39: aload 0
ldc "sun.net.http.errorstream.enableBuffering"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
40: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.protocol.http.HttpURLConnection.enableESBuffer:Z
41: ldc "sun.net.http.errorstream.timeout"
sipush 300
42: invokestatic sun.security.action.GetIntegerAction.privilegedGetProperty:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
43: getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
ifgt 45
44: sipush 300
putstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
45: StackMap locals: java.lang.String
StackMap stack:
ldc "sun.net.http.errorstream.bufferSize"
sipush 4096
46: invokestatic sun.security.action.GetIntegerAction.privilegedGetProperty:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
47: getstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
ifgt 49
48: sipush 4096
putstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
49: StackMap locals:
StackMap stack:
aload 0
ldc "sun.net.http.allowRestrictedHeaders"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
50: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.protocol.http.HttpURLConnection.allowRestrictedHeaders:Z
51: getstatic sun.net.www.protocol.http.HttpURLConnection.allowRestrictedHeaders:Z
ifne 59
52: 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;
53: iconst_0
istore 3
start local 3 54: goto 57
55: 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 3
aaload
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
56: iinc 3 1
StackMap locals:
StackMap stack:
57: iload 3
getstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaders:[Ljava/lang/String;
arraylength
if_icmplt 55
end local 3 58: goto 60
59: StackMap locals:
StackMap stack:
aconst_null
putstatic sun.net.www.protocol.http.HttpURLConnection.restrictedHeaderSet:Ljava/util/Set;
end local 2 end local 1 end local 0 60: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.String
dup
iconst_0
61: ldc "Proxy-Authorization"
aastore
dup
iconst_1
62: ldc "Authorization"
aastore
63: putstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS:[Ljava/lang/String;
64: iconst_4
anewarray java.lang.String
dup
iconst_0
65: ldc "Proxy-Authorization"
aastore
dup
iconst_1
66: ldc "Authorization"
aastore
dup
iconst_2
67: ldc "Cookie"
aastore
dup
iconst_3
68: ldc "Cookie2"
aastore
69: putstatic sun.net.www.protocol.http.HttpURLConnection.EXCLUDE_HEADERS2:[Ljava/lang/String;
70: ldc "sun.net.www.protocol.http.HttpURLConnection"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
71: putstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
72: return
LocalVariableTable:
Start End Slot Name Signature
22 60 0 props Ljava/util/Properties;
26 60 1 agent Ljava/lang/String;
32 60 2 p Ljava/lang/String;
54 58 3 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=1, locals=2, args_size=1
start local 0 0: aload 0
invokedynamic run(Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/net/www/protocol/http/HttpURLConnection.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
1 2 1 pa Ljava/security/PrivilegedAction<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
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.net.Authenticator, 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/net/Authenticator;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=11, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: new sun.net.www.protocol.http.HttpURLConnection$1
dup
aload 1
aload 7
aload 0
aload 2
iload 3
aload 4
aload 5
aload 6
aload 8
invokespecial sun.net.www.protocol.http.HttpURLConnection$1.<init>:(Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator;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 8 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 authenticator Ljava/net/Authenticator;
0 2 1 host Ljava/lang/String;
0 2 2 addr Ljava/net/InetAddress;
0 2 3 port I
0 2 4 protocol Ljava/lang/String;
0 2 5 prompt Ljava/lang/String;
0 2 6 scheme Ljava/lang/String;
0 2 7 url Ljava/net/URL;
0 2 8 authType Ljava/net/Authenticator$RequestorType;
MethodParameters:
Name Flags
authenticator final
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
public static sun.util.logging.PlatformLogger getHttpLogger();
descriptor: ()Lsun/util/logging/PlatformLogger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object authObj();
descriptor: ()Ljava/lang/Object;
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.authObj:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public void authObj(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
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 authObj Ljava/lang/Object;
MethodParameters:
Name Flags
authObj
public synchronized void setAuthenticator(java.net.Authenticator);
descriptor: (Ljava/net/Authenticator;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
ifne 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
2: ldc "Authenticator must be set before connecting"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.Authenticator
putfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
5: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
invokestatic sun.net.www.protocol.http.AuthenticatorKeys.getKey:(Ljava/net/Authenticator;)Ljava/lang/String;
putfield sun.net.www.protocol.http.HttpURLConnection.authenticatorKey:Ljava/lang/String;
6: return
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 auth Ljava/net/Authenticator;
MethodParameters:
Name Flags
auth
public java.lang.String getAuthenticatorKey();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticatorKey:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
invokestatic sun.net.www.protocol.http.AuthenticatorKeys.getKey:(Ljava/net/Authenticator;)Ljava/lang/String;
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 3 1 k Ljava/lang/String;
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
public synchronized void setRequestMethod(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "connect in progress"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
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 method Ljava/lang/String;
Exceptions:
throws java.net.ProtocolException
MethodParameters:
Name Flags
method
private void writeRequests();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, 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
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.tunnelState:()Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.TUNNELING:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
if_acmpeq 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 80
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 8
4: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkURLFile:()V
5: 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
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestURI:()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;
6: 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: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUseCaches:()Z
ifne 11
9: 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
10: 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
11: 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
12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 1
start local 1 13: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokestatic sun.net.www.protocol.http.HttpURLConnection.stripIPv6ZoneId:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 14: iload 1
iconst_m1
if_icmpeq 16
iload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
if_icmpeq 16
15: 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
16: StackMap locals: int java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Host"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 17: aload 3
ifnull 19
18: aload 3
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 20
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkSetHost:()Z
ifne 20
19: 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.set:(Ljava/lang/String;Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
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
21: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 27
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getHttpKeepAliveSet:()Z
ifeq 27
22: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 25
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.tunnelState:()Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.TUNNELING:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
if_acmpeq 25
23: 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
24: goto 28
25: 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
26: goto 28
27: 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
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getIfModifiedSince:()J
lstore 4
start local 4 29: lload 4
lconst_0
lcmp
ifeq 35
30: new java.util.Date
dup
lload 4
invokespecial java.util.Date.<init>:(J)V
astore 6
start local 6 31: 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
32: astore 7
start local 7 33: aload 7
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
34: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "If-Modified-Since"
aload 7
aload 6
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 7 end local 6 35: StackMap locals: long
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
36: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
37: invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuth:(Ljava/net/URL;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 6
start local 6 38: aload 6
ifnull 41
aload 6
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 41
39: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
aload 6
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
aload 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;
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
40: aload 0
aload 6
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
41: 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 45
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
ifnonnull 42
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 45
42: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-type"
43: ldc "application/x-www-form-urlencoded"
44: invokevirtual sun.net.www.MessageHeader.setIfNotSet:(Ljava/lang/String;Ljava/lang/String;)V
45: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 46: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 61
47: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
iconst_m1
if_icmpeq 51
48: 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
49: iconst_1
istore 7
50: goto 71
51: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLengthLong:J
ldc -1
lcmp
ifeq 56
52: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-Length"
53: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLengthLong:J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
54: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
55: goto 71
StackMap locals:
StackMap stack:
56: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
iconst_m1
if_icmpeq 71
57: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-Length"
58: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
59: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
60: goto 71
StackMap locals:
StackMap stack:
61: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
ifnull 71
62: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
dup
astore 8
monitorenter
63: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
invokevirtual sun.net.www.http.PosterOutputStream.close:()V
64: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
ldc "Content-Length"
65: 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;
66: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
67: aload 8
monitorexit
68: goto 71
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int java.lang.String java.lang.String long sun.net.www.protocol.http.AuthenticationInfo int sun.net.www.http.PosterOutputStream
StackMap stack: java.lang.Throwable
69: aload 8
monitorexit
70: athrow
71: StackMap locals:
StackMap stack:
iload 7
ifne 78
72: 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 78
73: 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
74: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.WARNING:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 78
75: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
76: ldc "use streaming mode for chunked encoding"
77: invokevirtual sun.util.logging.PlatformLogger.warning:(Ljava/lang/String;)V
78: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
79: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 80: StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 82
81: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
82: 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
83: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.ps:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.checkError:()Z
ifeq 99
84: 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 85: 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 86: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
87: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifeq 89
88: new java.io.IOException
dup
ldc "Error writing to server"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
89: StackMap locals: java.lang.String int
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
90: aload 1
ifnull 93
91: 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
92: goto 94
93: 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
94: 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;
95: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
96: 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;
97: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
98: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.writeRequests:()V
end local 2 end local 1 99: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 100 0 this Lsun/net/www/protocol/http/HttpURLConnection;
13 80 1 port I
14 80 2 host Ljava/lang/String;
17 80 3 reqHost Ljava/lang/String;
29 80 4 modTime J
31 35 6 date Ljava/util/Date;
33 35 7 fo Ljava/text/SimpleDateFormat;
38 80 6 sauth Lsun/net/www/protocol/http/AuthenticationInfo;
46 80 7 chunked Z
85 99 1 proxyHost Ljava/lang/String;
86 99 2 proxyPort I
Exception table:
from to target type
63 68 69 any
69 70 69 any
Exceptions:
throws java.io.IOException
private boolean checkSetHost();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 12
2: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc "sun.plugin2.applet.AWTAppletSecurityManager"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
4: aload 2
ldc "sun.plugin2.applet.FXAppletSecurityManager"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: aload 2
ldc "com.sun.javaws.security.JavaWebStartSecurity"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 2
ldc "sun.plugin.security.ActivatorSecurityManager"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
7: StackMap locals: java.lang.SecurityManager java.lang.String
StackMap stack:
bipush -2
istore 3
start local 3 8: aload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
iload 3
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
9: goto 12
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.lang.SecurityManager java.lang.String int
StackMap stack: java.lang.SecurityException
10: pop
11: iconst_0
ireturn
end local 3 end local 2 12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 13 1 s Ljava/lang/SecurityManager;
3 12 2 name Ljava/lang/String;
8 12 3 CHECK_SET_HOST I
Exception table:
from to target type
8 9 10 Class java.lang.SecurityException
private void checkURLFile();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 12
2: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc "sun.plugin2.applet.AWTAppletSecurityManager"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
4: aload 2
ldc "sun.plugin2.applet.FXAppletSecurityManager"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: aload 2
ldc "com.sun.javaws.security.JavaWebStartSecurity"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 2
ldc "sun.plugin.security.ActivatorSecurityManager"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
7: StackMap locals: java.lang.SecurityManager java.lang.String
StackMap stack:
bipush -3
istore 3
start local 3 8: aload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
iload 3
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
9: goto 12
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.lang.SecurityManager java.lang.String int
StackMap stack: java.lang.SecurityException
10: astore 4
start local 4 11: new java.lang.SecurityException
dup
ldc "denied access outside a permitted URL subpath"
aload 4
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 13 1 s Ljava/lang/SecurityManager;
3 12 2 name Ljava/lang/String;
8 12 3 CHECK_SUBPATH I
11 12 4 ex Ljava/lang/SecurityException;
Exception table:
from to target type
8 9 10 Class java.lang.SecurityException
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=7, 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
aload 0
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/lang/String;IZILsun/net/www/protocol/http/HttpURLConnection;)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=7, 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
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
aload 0
2: invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/lang/String;IZILsun/net/www/protocol/http/HttpURLConnection;)Lsun/net/www/http/HttpClient;
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
3: 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
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 5 1 url Ljava/net/URL;
0 5 2 proxyHost Ljava/lang/String;
0 5 3 proxyPort I
0 5 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=2, 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
invokestatic sun.net.util.IPAddressUtil.checkAuthority:(Ljava/net/URL;)Ljava/lang/String;
astore 1
start local 1 4: aload 1
ifnull 6
5: new java.net.MalformedURLException
dup
aload 1
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 u Ljava/net/URL;
4 7 1 s Ljava/lang/String;
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
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
7: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
8: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
9: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
10: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
11: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
12: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
13: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
14: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.useProxyResponseCode:Z
15: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
16: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
17: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
18: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
19: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
20: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.reuseClient:Lsun/net/www/http/HttpClient;
21: aload 0
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.NONE:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
putfield sun.net.www.protocol.http.HttpURLConnection.tunnelState:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
22: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.connectTimeout:I
23: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.readTimeout:I
24: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.requestURI:Ljava/lang/String;
25: aload 0
sipush 128
newarray 8
putfield sun.net.www.protocol.http.HttpURLConnection.cdata:[B
26: 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;
27: 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;
28: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield sun.net.www.protocol.http.HttpURLConnection.userHeaders:Lsun/net/www/MessageHeader;
29: aload 0
aload 3
putfield sun.net.www.protocol.http.HttpURLConnection.handler:Lsun/net/www/protocol/http/Handler;
30: aload 0
aload 2
putfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
31: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
instanceof sun.net.ApplicationProxy
ifeq 36
32: aload 0
invokestatic java.net.CookieHandler.getDefault:()Ljava/net/CookieHandler;
putfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
33: goto 39
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
34: pop
35: goto 39
36: StackMap locals:
StackMap stack:
aload 0
37: new sun.net.www.protocol.http.HttpURLConnection$2
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$2.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
38: 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;
39: StackMap locals:
StackMap stack:
aload 0
40: 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
41: 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;
42: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 43 1 u Ljava/net/URL;
0 43 2 p Ljava/net/Proxy;
0 43 3 handler Lsun/net/www/protocol/http/Handler;
Exception table:
from to target type
32 33 34 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=10, args_size=1
start local 0 0: iconst_0
istore 2
start local 2 1: aconst_null
astore 4
start local 4 2: StackMap locals: java.net.URLConnection top int top java.net.Authenticator
StackMap stack:
aload 0
instanceof sun.net.www.protocol.http.HttpURLConnection
ifeq 6
3: aload 0
checkcast sun.net.www.protocol.http.HttpURLConnection
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setInstanceFollowRedirects:(Z)V
4: aload 4
ifnonnull 6
5: aload 0
checkcast sun.net.www.protocol.http.HttpURLConnection
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
astore 4
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 3
start local 3 7: iconst_0
istore 1
start local 1 8: aload 0
instanceof sun.net.www.protocol.http.HttpURLConnection
ifeq 30
9: aload 0
checkcast sun.net.www.protocol.http.HttpURLConnection
astore 5
start local 5 10: aload 5
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getResponseCode:()I
istore 6
start local 6 11: iload 6
sipush 300
if_icmplt 30
iload 6
sipush 307
if_icmpgt 30
iload 6
sipush 306
if_icmpeq 30
12: iload 6
sipush 304
if_icmpeq 30
13: aload 5
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getURL:()Ljava/net/URL;
astore 7
start local 7 14: aload 5
ldc "Location"
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 15: aconst_null
astore 9
start local 9 16: aload 8
ifnull 18
17: new java.net.URL
dup
aload 7
aload 8
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 9
18: StackMap locals: java.net.URLConnection int int java.io.InputStream java.net.Authenticator sun.net.www.protocol.http.HttpURLConnection int java.net.URL java.lang.String java.net.URL
StackMap stack:
aload 5
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnect:()V
19: aload 9
ifnull 24
20: aload 7
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 9
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
21: aload 7
invokevirtual java.net.URL.getPort:()I
aload 9
invokevirtual java.net.URL.getPort:()I
if_icmpne 24
22: aload 7
aload 9
invokestatic sun.net.www.protocol.http.HttpURLConnection.hostsEqual:(Ljava/net/URL;Ljava/net/URL;)Z
ifeq 24
23: iload 2
iconst_5
if_icmplt 25
24: StackMap locals:
StackMap stack:
new java.lang.SecurityException
dup
ldc "illegal URL redirect"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
iconst_1
istore 1
26: aload 9
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 0
27: aload 4
ifnull 29
aload 0
instanceof sun.net.www.protocol.http.HttpURLConnection
ifeq 29
28: aload 0
checkcast sun.net.www.protocol.http.HttpURLConnection
aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setAuthenticator:(Ljava/net/Authenticator;)V
29: StackMap locals:
StackMap stack:
iinc 2 1
end local 9 end local 8 end local 7 end local 6 end local 5 30: StackMap locals: java.net.URLConnection int int java.io.InputStream java.net.Authenticator
StackMap stack:
iload 1
ifne 2
31: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 c Ljava/net/URLConnection;
8 32 1 redir Z
1 32 2 redirects I
7 32 3 in Ljava/io/InputStream;
2 32 4 a Ljava/net/Authenticator;
10 30 5 http Lsun/net/www/protocol/http/HttpURLConnection;
11 30 6 stat I
14 30 7 base Ljava/net/URL;
15 30 8 loc Ljava/lang/String;
16 30 9 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$4
dup
aload 2
aload 3
aload 4
invokespecial sun.net.www.protocol.http.HttpURLConnection$4.<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=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.HttpURLConnection
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.plainConnect:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/net/www/protocol/http/HttpURLConnection;
Exception table:
from to target type
1 3 4 any
4 5 4 any
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;
private java.lang.String getHostAndPort(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
astore 3
start local 3 2: new sun.net.www.protocol.http.HttpURLConnection$5
dup
aload 0
aload 3
invokespecial sun.net.www.protocol.http.HttpURLConnection$5.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
4: goto 6
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URL java.lang.String java.lang.String
StackMap stack: java.security.PrivilegedActionException
5: pop
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URL.getPort:()I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpne 12
8: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 5
start local 5 9: ldc "http"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: 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 ":80"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
11: StackMap locals: int java.lang.String
StackMap stack:
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 ":443"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 12: StackMap locals:
StackMap stack:
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 4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 13 1 url Ljava/net/URL;
1 13 2 host Ljava/lang/String;
2 13 3 hostarg Ljava/lang/String;
7 13 4 port I
9 12 5 scheme Ljava/lang/String;
Exception table:
from to target type
2 4 5 Class java.security.PrivilegedActionException
MethodParameters:
Name Flags
url
protected void plainConnect();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
ifeq 4
2: aload 1
monitorexit
3: return
4: StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: 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.URLtoSocketPermission:(Ljava/net/URL;)Ljava/net/SocketPermission;
astore 1
start local 1 9: aload 1
ifnull 16
10: 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
11: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
aload 1
aastore
12: invokestatic java.security.AccessController.doPrivilegedWithCombiner:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
pop
13: goto 17
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.SocketPermission
StackMap stack: java.security.PrivilegedActionException
14: astore 2
start local 2 15: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 2 16: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.plainConnect0:()V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/net/www/protocol/http/HttpURLConnection;
9 18 1 p Ljava/net/SocketPermission;
15 16 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
10 13 14 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
java.net.SocketPermission URLtoSocketPermission(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/SocketPermission;
flags: (0x0000)
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.socketPermission:Ljava/net/SocketPermission;
ifnull 2
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.socketPermission:Ljava/net/SocketPermission;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
new java.net.SocketPermission
dup
6: aload 0
aload 1
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getHostAndPort:(Ljava/net/URL;)Ljava/lang/String;
ldc "connect"
7: invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 8: new java.lang.StringBuilder
dup
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestMethod:()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;
9: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUserSetHeaders:()Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.getHeaderNamesInList:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 11: new java.lang.StringBuilder
dup
aload 1
invokevirtual java.net.URL.getProtocol:()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 1
invokevirtual java.net.URL.getAuthority:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 1
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 14: new java.net.URLPermission
dup
aload 5
aload 4
invokespecial java.net.URLPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 15: aload 2
aload 6
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
16: aload 0
aload 3
putfield sun.net.www.protocol.http.HttpURLConnection.socketPermission:Ljava/net/SocketPermission;
17: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.socketPermission:Ljava/net/SocketPermission;
18: areturn
19: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URL java.lang.SecurityManager java.net.SocketPermission java.lang.String java.lang.String java.net.URLPermission
StackMap stack: java.lang.SecurityException
pop
20: aconst_null
areturn
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 21 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 21 1 url Ljava/net/URL;
3 21 2 sm Ljava/lang/SecurityManager;
8 21 3 newPerm Ljava/net/SocketPermission;
11 21 4 actions Ljava/lang/String;
14 21 5 urlstring Ljava/lang/String;
15 21 6 p Ljava/net/URLPermission;
Exception table:
from to target type
15 18 19 Class java.lang.SecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
protected void plainConnect0();
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.cacheHandler:Ljava/net/ResponseCache;
ifnull 21
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUseCaches:()Z
ifeq 21
1: 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 2: aload 1
ifnull 17
3: 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
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUserSetHeaders:()Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.getHeaders:()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;
4: ldc "https"
aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
instanceof java.net.SecureCacheResponse
ifne 7
6: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
7: StackMap locals: java.net.URI
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 12
8: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
9: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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 10
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 11
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI
StackMap stack: sun.util.logging.PlatformLogger java.lang.StringBuilder
10: ldc "null"
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.URI
StackMap stack: sun.util.logging.PlatformLogger java.lang.StringBuilder java.lang.String
11: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
ifnull 17
13: 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;
14: 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 15: goto 17
StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack: java.io.IOException
16: pop
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 20
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
ifnull 20
18: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
19: return
20: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.cachedResponse:Ljava/net/CacheResponse;
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.instProxy:Ljava/net/Proxy;
ifnonnull 57
22: new sun.net.www.protocol.http.HttpURLConnection$7
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$7.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
23: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.ProxySelector
24: astore 1
start local 1 25: aload 1
ifnull 50
26: 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 27: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 29
28: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
29: 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 30: goto 48
31: 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 32: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 36
33: 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;
34: 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
35: goto 38
36: 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;
37: 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
38: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 63
39: aload 4
ifnull 63
40: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
41: goto 63
42: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 43: aload 4
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
if_acmpeq 47
44: 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
45: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 48
46: aload 5
athrow
47: StackMap locals: java.io.IOException
StackMap stack:
aload 5
athrow
end local 5 end local 4 48: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
end local 3 end local 2 49: goto 63
50: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 54
51: 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;
52: 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
53: goto 63
54: 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;
55: 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 56: goto 63
57: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.failedOnce:Z
ifne 61
58: 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;
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
60: goto 63
61: 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;
62: 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
63: 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;
64: goto 67
StackMap locals:
StackMap stack: java.io.IOException
65: astore 1
start local 1 66: aload 1
athrow
end local 1 67: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
68: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Lsun/net/www/protocol/http/HttpURLConnection;
2 15 1 uri Ljava/net/URI;
25 56 1 sel Ljava/net/ProxySelector;
27 49 2 uri Ljava/net/URI;
30 49 3 it Ljava/util/Iterator<Ljava/net/Proxy;>;
32 48 4 p Ljava/net/Proxy;
43 48 5 ioex Ljava/io/IOException;
66 67 1 e Ljava/io/IOException;
Exception table:
from to target type
1 15 16 Class java.io.IOException
32 41 42 Class java.io.IOException
21 64 65 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=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
iload 3
aload 0
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/net/Proxy;ILsun/net/www/protocol/http/HttpURLConnection;)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=5, 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
aload 0
invokestatic sun.net.www.http.HttpClient.New:(Ljava/net/URL;Ljava/net/Proxy;IZLsun/net/www/protocol/http/HttpURLConnection;)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:
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
25: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
26: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
27: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 28 1 oldTimeout I
2 28 2 enforceTimeOut Z
3 28 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=6, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
1: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission:(Ljava/net/URL;)Ljava/net/SocketPermission;
astore 1
start local 1 2: aload 1
ifnull 9
3: new sun.net.www.protocol.http.HttpURLConnection$8
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$8.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
4: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
aload 1
aastore
5: invokestatic java.security.AccessController.doPrivilegedWithCombiner:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.io.OutputStream
6: areturn
7: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.SocketPermission
StackMap stack: java.security.PrivilegedActionException
astore 2
start local 2 8: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getOutputStream0:()Ljava/io/OutputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/HttpURLConnection;
2 10 1 p Ljava/net/SocketPermission;
8 9 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
3 6 7 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
private synchronized java.io.OutputStream getOutputStream0();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=8, locals=5, 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 "TRACE"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
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 6
5: new java.net.ProtocolException
dup
ldc "HTTP method TRACE doesn't support output"
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
ifnull 8
7: new java.net.ProtocolException
dup
ldc "Cannot write output after reading input."
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 10
9: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
10: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 11: 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 12: ldc "100-Continue"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 15
13: 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
14: iconst_1
istore 1
15: StackMap locals: int java.lang.String
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 17
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
ifnonnull 17
16: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.writeRequests:()V
17: StackMap locals:
StackMap stack:
iload 1
ifeq 19
18: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.expect100Continue:()V
19: 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;
20: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 36
21: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
ifnonnull 34
22: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
iconst_m1
if_icmpeq 27
23: aload 0
new sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream
dup
aload 0
24: 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
ldc -1
invokespecial sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/OutputStream;J)V
25: putfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
26: goto 34
27: StackMap locals:
StackMap stack:
lconst_0
lstore 3
start local 3 28: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLengthLong:J
ldc -1
lcmp
ifeq 31
29: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLengthLong:J
lstore 3
30: goto 33
StackMap locals: long
StackMap stack:
31: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
iconst_m1
if_icmpeq 33
32: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
i2l
lstore 3
33: StackMap locals:
StackMap stack:
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;
lload 3
invokespecial sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/OutputStream;J)V
putfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
end local 3 34: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
35: areturn
36: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
ifnonnull 38
37: 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;
38: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
39: areturn
end local 2 end local 1 40: StackMap locals: sun.net.www.protocol.http.HttpURLConnection
StackMap stack: java.lang.RuntimeException
astore 1
start local 1 41: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
42: aload 1
athrow
end local 1 43: StackMap locals:
StackMap stack: java.net.ProtocolException
astore 1
start local 1 44: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
istore 2
start local 2 45: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
46: aload 0
iload 2
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
47: aload 1
athrow
end local 2 end local 1 48: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 49: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
50: aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lsun/net/www/protocol/http/HttpURLConnection;
11 40 1 expectContinue Z
12 40 2 expects Ljava/lang/String;
28 34 3 length J
41 43 1 e Ljava/lang/RuntimeException;
44 48 1 e Ljava/net/ProtocolException;
45 48 2 i I
49 51 1 e Ljava/io/IOException;
Exception table:
from to target type
0 35 40 Class java.lang.RuntimeException
36 39 40 Class java.lang.RuntimeException
0 35 43 Class java.net.ProtocolException
36 39 43 Class java.net.ProtocolException
0 35 48 Class java.io.IOException
36 39 48 Class java.io.IOException
Exceptions:
throws java.io.IOException
public boolean streaming();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLength:I
iconst_m1
if_icmpne 3
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.fixedContentLengthLong:J
ldc -1
lcmp
ifne 3
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.chunkLength:I
iconst_m1
if_icmpne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 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 52
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 42
18: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 20
19: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.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 42
25: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 27
26: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.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 41
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 41
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 41
aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 41
35: new java.util.StringJoiner
dup
ldc "; "
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)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.util.StringJoiner 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.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
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
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
end local 7 end local 6 end local 5 end local 3 41: 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 42: 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 47
43: 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 44: iconst_m1
if_icmpeq 46
45: 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 47
46: 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 47: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
ifnull 52
48: 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 49: iconst_m1
if_icmpeq 51
50: 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 52
51: 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 52: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lsun/net/www/protocol/http/HttpURLConnection;
4 10 2 k I
17 52 1 uri Ljava/net/URI;
24 42 2 cookies Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
29 41 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
30 41 5 key Ljava/lang/String;
34 41 6 l Ljava/util/List<Ljava/lang/String;>;
36 41 7 cookieValue Ljava/util/StringJoiner;
38 39 8 value Ljava/lang/String;
44 47 2 k I
49 52 2 k I
Exception table:
from to target type
2 11 12 any
12 13 12 any
Exceptions:
throws java.io.IOException
public synchronized java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
1: aload 0
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission:(Ljava/net/URL;)Ljava/net/SocketPermission;
astore 1
start local 1 2: aload 1
ifnull 9
3: new sun.net.www.protocol.http.HttpURLConnection$9
dup
aload 0
invokespecial sun.net.www.protocol.http.HttpURLConnection$9.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;)V
4: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
aload 1
aastore
5: invokestatic java.security.AccessController.doPrivilegedWithCombiner:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.io.InputStream
6: areturn
7: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.net.SocketPermission
StackMap stack: java.security.PrivilegedActionException
astore 2
start local 2 8: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getInputStream0:()Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/HttpURLConnection;
2 10 1 p Ljava/net/SocketPermission;
8 9 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
3 6 7 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
private synchronized java.io.InputStream getInputStream0();
descriptor: ()Ljava/io/InputStream;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=10, locals=22, 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: ldc -1
lstore 3
start local 3 17: aconst_null
astore 5
start local 5 18: aconst_null
astore 6
start local 6 19: aconst_null
astore 7
start local 7 20: iconst_0
istore 8
start local 8 21: iconst_0
istore 9
start local 9 22: 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 23
iconst_1
goto 24
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int
StackMap stack: sun.net.www.protocol.http.HttpURLConnection
23: iconst_0
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int
StackMap stack: sun.net.www.protocol.http.HttpURLConnection int
24: putfield sun.net.www.protocol.http.HttpURLConnection.isUserServerAuth:Z
25: 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 26
iconst_1
goto 27
StackMap locals:
StackMap stack: sun.net.www.protocol.http.HttpURLConnection
26: iconst_0
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int
StackMap stack: sun.net.www.protocol.http.HttpURLConnection int
27: putfield sun.net.www.protocol.http.HttpURLConnection.isUserProxyAuth:Z
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 30
29: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
30: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
ifnull 37
31: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedInputStream:Ljava/io/InputStream;
astore 21
32: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
ifnull 34
33: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
34: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int top top top top top top top top top top top java.io.InputStream
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
ifnull 36
35: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
36: StackMap locals:
StackMap stack:
aload 21
areturn
37: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int
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 10
start local 10 38: iload 10
ifeq 41
39: 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;
40: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.beginTracking:()V
41: 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;
42: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifne 44
43: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.writeRequests:()V
44: 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
45: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 47
46: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
47: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "WWW-Authenticate"
invokevirtual sun.net.www.MessageHeader.filterNTLMResponses:(Ljava/lang/String;)Z
istore 11
start local 11 48: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.filterNTLMResponses:(Ljava/lang/String;)Z
istore 12
start local 12 49: iload 11
ifne 50
iload 12
ifeq 53
50: StackMap locals: int int
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 53
51: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
ldc ">>>> Headers are filtered"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
52: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
53: 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;
54: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getResponseCode:()I
istore 2
55: iload 2
iconst_m1
if_icmpne 58
56: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
57: new java.io.IOException
dup
ldc "Invalid Http response"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
58: StackMap locals:
StackMap stack:
iload 2
sipush 407
if_icmpne 114
59: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 64
60: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
61: new java.net.HttpRetryException
dup
62: ldc "cannot retry due to proxy authentication, in streaming mode"
sipush 407
63: invokespecial java.net.HttpRetryException.<init>:(Ljava/lang/String;I)V
athrow
64: StackMap locals:
StackMap stack:
iconst_0
istore 13
start local 13 65: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.multiValueIterator:(Ljava/lang/String;)Ljava/util/Iterator;
astore 14
start local 14 66: goto 77
67: StackMap locals: int java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 15
start local 15 68: aload 15
ldc "Negotiate"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 70
69: aload 15
ldc "Kerberos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 77
70: StackMap locals: java.lang.String
StackMap stack:
iload 9
ifne 73
71: iconst_1
istore 9
72: goto 78
73: StackMap locals:
StackMap stack:
iconst_1
istore 13
74: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
75: aconst_null
astore 6
76: goto 78
end local 15 77: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 67
78: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.AuthenticationHeader
dup
79: ldc "Proxy-Authenticate"
80: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
81: new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
82: 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;
83: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
84: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
85: invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Ljava/net/URL;Ljava/lang/String;ILjava/net/Authenticator;)V
86: iload 13
87: getstatic sun.net.www.protocol.http.HttpURLConnection.disabledProxyingSchemes:Ljava/util/Set;
88: invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;ZLjava/util/Set;)V
astore 15
start local 15 89: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
ifne 96
90: aload 0
aload 6
aload 15
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;
91: astore 6
92: aload 6
ifnull 118
93: iinc 1 1
94: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
95: goto 268
96: 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 16
start local 16 97: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
98: aload 6
aload 0
99: aload 15
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
aload 16
100: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
101: ifne 104
102: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
103: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
104: StackMap locals: java.lang.String
StackMap stack:
aload 5
ifnull 111
aload 7
ifnull 111
105: aload 5
aload 0
106: aload 7
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
aload 16
107: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
108: ifne 111
109: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
110: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
111: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
112: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
113: goto 268
end local 16 end local 15 end local 14 end local 13 114: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int int int int
StackMap stack:
iconst_0
istore 9
115: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
116: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.isUserProxyAuth:Z
ifne 118
117: 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
118: StackMap locals:
StackMap stack:
aload 6
ifnull 120
119: aload 6
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.addToCache:()V
120: StackMap locals:
StackMap stack:
iload 2
sipush 401
if_icmpne 174
121: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 126
122: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
123: new java.net.HttpRetryException
dup
124: ldc "cannot retry due to server authentication, in streaming mode"
sipush 401
125: invokespecial java.net.HttpRetryException.<init>:(Ljava/lang/String;I)V
athrow
126: StackMap locals:
StackMap stack:
iconst_0
istore 13
start local 13 127: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "WWW-Authenticate"
invokevirtual sun.net.www.MessageHeader.multiValueIterator:(Ljava/lang/String;)Ljava/util/Iterator;
astore 14
start local 14 128: goto 139
129: StackMap locals: int java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 15
start local 15 130: aload 15
ldc "Negotiate"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 132
131: aload 15
ldc "Kerberos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 139
132: StackMap locals: java.lang.String
StackMap stack:
iload 8
ifne 135
133: iconst_1
istore 8
134: goto 140
135: StackMap locals:
StackMap stack:
iconst_1
istore 13
136: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
137: aconst_null
astore 5
138: goto 140
end local 15 139: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 129
140: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.AuthenticationHeader
dup
141: ldc "WWW-Authenticate"
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
142: new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Ljava/net/URL;Ljava/net/Authenticator;)V
143: iload 13
144: invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;Z)V
astore 7
145: aload 7
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.raw:()Ljava/lang/String;
astore 15
start local 15 146: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
ifne 166
147: aload 5
ifnull 159
148: aload 5
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 159
149: aload 5
aload 15
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale:(Ljava/lang/String;)Z
ifeq 158
150: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectWeb:()V
151: iinc 1 1
152: 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;
153: 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;
154: invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
155: aload 0
aload 5
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
156: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
157: goto 268
158: StackMap locals: java.lang.String
StackMap stack:
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.removeFromCache:()V
159: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication:(Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 5
160: aload 0
aload 5
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
161: aload 5
ifnull 174
162: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectWeb:()V
163: iinc 1 1
164: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
165: goto 268
166: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
167: aload 5
aload 0
aconst_null
aload 15
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
ifne 170
168: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectWeb:()V
169: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
170: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
171: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
172: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
173: goto 268
end local 15 end local 14 end local 13 174: StackMap locals:
StackMap stack:
aload 5
ifnull 206
175: aload 5
instanceof sun.net.www.protocol.http.DigestAuthentication
ifeq 177
176: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.domain:Ljava/lang/String;
ifnonnull 189
177: StackMap locals:
StackMap stack:
aload 5
instanceof sun.net.www.protocol.http.BasicAuthentication
ifeq 187
178: 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 13
start local 13 179: aload 5
getfield sun.net.www.protocol.http.AuthenticationInfo.path:Ljava/lang/String;
astore 14
start local 14 180: aload 14
aload 13
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 181
aload 13
invokevirtual java.lang.String.length:()I
aload 14
invokevirtual java.lang.String.length:()I
if_icmplt 182
181: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 14
aload 13
invokestatic sun.net.www.protocol.http.BasicAuthentication.getRootPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 13
182: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.clone:()Ljava/lang/Object;
checkcast sun.net.www.protocol.http.BasicAuthentication
183: astore 15
start local 15 184: aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.removeFromCache:()V
185: aload 15
aload 13
putfield sun.net.www.protocol.http.BasicAuthentication.path:Ljava/lang/String;
186: aload 15
astore 5
end local 15 end local 14 end local 13 187: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.addToCache:()V
188: goto 206
189: StackMap locals:
StackMap stack:
aload 5
190: checkcast sun.net.www.protocol.http.DigestAuthentication
astore 13
start local 13 191: 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 14
start local 14 192: aload 13
getfield sun.net.www.protocol.http.DigestAuthentication.realm:Ljava/lang/String;
astore 15
start local 15 193: aload 13
getfield sun.net.www.protocol.http.DigestAuthentication.pw:Ljava/net/PasswordAuthentication;
astore 16
start local 16 194: aload 0
aload 13
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;
195: goto 205
196: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int int int int sun.net.www.protocol.http.DigestAuthentication java.util.StringTokenizer java.lang.String java.net.PasswordAuthentication
StackMap stack:
aload 14
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 17
start local 17 197: new java.net.URL
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 17
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 18
start local 18 198: new sun.net.www.protocol.http.DigestAuthentication
dup
199: iconst_0
aload 18
aload 15
ldc "Digest"
aload 16
200: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.digestparams:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
aload 13
getfield sun.net.www.protocol.http.DigestAuthentication.authenticatorKey:Ljava/lang/String;
201: 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;Ljava/lang/String;)V
astore 19
start local 19 202: aload 19
invokevirtual sun.net.www.protocol.http.DigestAuthentication.addToCache:()V
end local 19 end local 18 203: goto 205
StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int int int int sun.net.www.protocol.http.DigestAuthentication java.util.StringTokenizer java.lang.String java.net.PasswordAuthentication java.lang.String
StackMap stack: java.lang.Exception
204: pop
end local 17 205: StackMap locals:
StackMap stack:
aload 14
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 196
end local 16 end local 15 end local 14 end local 13 206: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int int int int
StackMap stack:
iconst_0
istore 8
207: iconst_0
istore 9
208: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
209: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLM2ndStage:Z
210: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.isUserServerAuth:Z
ifne 212
211: 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
212: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.isUserProxyAuth:Z
ifne 214
213: 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
214: StackMap locals:
StackMap stack:
iload 2
sipush 200
if_icmpne 217
215: aload 0
iconst_0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkResponseCredentials:(Z)V
216: goto 218
217: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
218: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
219: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.followRedirect:()Z
ifeq 223
220: iinc 1 1
221: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setCookieHeader:()V
222: goto 268
223: 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.Long.parseLong:(Ljava/lang/String;)J
lstore 3
224: goto 226
StackMap locals:
StackMap stack: java.lang.Exception
225: pop
226: 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 229
lload 3
lconst_0
lcmp
ifeq 229
227: iload 2
sipush 304
if_icmpeq 229
228: iload 2
sipush 204
if_icmpne 236
229: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
ifnull 232
230: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.finishTracking:()V
231: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
232: 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
233: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
234: 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;
235: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
236: StackMap locals:
StackMap stack:
iload 2
sipush 200
if_icmpeq 238
iload 2
sipush 203
if_icmpeq 238
iload 2
sipush 206
if_icmpeq 238
237: iload 2
sipush 300
if_icmpeq 238
iload 2
sipush 301
if_icmpeq 238
iload 2
sipush 410
if_icmpne 251
238: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
ifnull 251
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getUseCaches:()Z
ifeq 251
239: 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 13
start local 13 240: aload 13
ifnull 251
241: aload 0
astore 14
start local 14 242: ldc "https"
aload 13
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 246
243: 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 14
244: goto 246
245: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int int int int java.net.URI java.net.URLConnection
StackMap stack: java.lang.ReflectiveOperationException
pop
246: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cacheHandler:Ljava/net/ResponseCache;
aload 13
aload 14
invokevirtual java.net.ResponseCache.put:(Ljava/net/URI;Ljava/net/URLConnection;)Ljava/net/CacheRequest;
247: astore 15
start local 15 248: aload 15
ifnull 251
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 251
249: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
aload 15
invokevirtual sun.net.www.http.HttpClient.setCacheRequest:(Ljava/net/CacheRequest;)V
250: 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 15
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 15 end local 14 end local 13 251: 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 253
252: 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;
253: StackMap locals:
StackMap stack:
iload 2
sipush 400
if_icmplt 260
254: iload 2
sipush 404
if_icmpeq 255
iload 2
sipush 410
if_icmpne 256
255: 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
256: 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
257: 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;
258: 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;
259: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
260: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
261: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.strOutputStream:Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
262: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
astore 21
263: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
ifnull 265
264: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
265: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int int int int top top top top top top top top java.io.InputStream
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
ifnull 267
266: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
267: StackMap locals:
StackMap stack:
aload 21
areturn
end local 12 end local 11 end local 10 268: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int
StackMap stack:
iload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
269: if_icmplt 28
270: 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
271: 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;
272: invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
273: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 10
start local 10 274: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
275: aload 0
aload 10
putfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
276: aload 10
athrow
end local 10 277: StackMap locals:
StackMap stack: java.io.IOException
astore 10
start local 10 278: aload 0
aload 10
putfield sun.net.www.protocol.http.HttpURLConnection.rememberedException:Ljava/lang/Exception;
279: 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 11
start local 11 280: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 283
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.isKeepingAlive:()Z
ifeq 283
getstatic sun.net.www.protocol.http.HttpURLConnection.enableESBuffer:Z
ifeq 283
281: lload 3
lconst_0
lcmp
ifgt 282
aload 11
ifnull 283
aload 11
ldc "chunked"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 283
282: 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;
lload 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;JLsun/net/www/http/HttpClient;)Ljava/io/InputStream;
putfield sun.net.www.protocol.http.HttpURLConnection.errorStream:Ljava/io/InputStream;
283: StackMap locals:
StackMap stack:
aload 10
athrow
end local 11 end local 10 284: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int
StackMap stack: java.lang.Throwable
astore 20
285: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
ifnull 287
286: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
287: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int int long sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader int int top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
ifnull 289
288: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
289: StackMap locals:
StackMap stack:
aload 20
athrow
end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 290 0 this Lsun/net/www/protocol/http/HttpURLConnection;
15 290 1 redirects I
16 290 2 respCode I
17 290 3 cl J
18 290 5 serverAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
19 290 6 proxyAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
20 290 7 srvHdr Lsun/net/www/protocol/http/AuthenticationHeader;
21 290 8 inNegotiate Z
22 290 9 inNegotiateProxy Z
38 268 10 meteredInput Z
48 268 11 b1 Z
49 268 12 b2 Z
65 114 13 dontUseNegotiate Z
66 114 14 iter Ljava/util/Iterator<Ljava/lang/String;>;
68 77 15 value Ljava/lang/String;
89 114 15 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
97 114 16 raw Ljava/lang/String;
127 174 13 dontUseNegotiate Z
128 174 14 iter Ljava/util/Iterator<Ljava/lang/String;>;
130 139 15 value Ljava/lang/String;
146 174 15 raw Ljava/lang/String;
179 187 13 npath Ljava/lang/String;
180 187 14 opath Ljava/lang/String;
184 187 15 a Lsun/net/www/protocol/http/BasicAuthentication;
191 206 13 srv Lsun/net/www/protocol/http/DigestAuthentication;
192 206 14 tok Ljava/util/StringTokenizer;
193 206 15 realm Ljava/lang/String;
194 206 16 pw Ljava/net/PasswordAuthentication;
197 205 17 path Ljava/lang/String;
198 203 18 u Ljava/net/URL;
202 203 19 d Lsun/net/www/protocol/http/DigestAuthentication;
240 251 13 uri Ljava/net/URI;
242 251 14 uconn Ljava/net/URLConnection;
248 251 15 cacheRequest Ljava/net/CacheRequest;
274 277 10 e Ljava/lang/RuntimeException;
278 284 10 e Ljava/io/IOException;
280 284 11 te Ljava/lang/String;
Exception table:
from to target type
197 203 204 Class java.lang.Exception
223 224 225 Class java.lang.Exception
243 244 245 Class java.lang.IllegalAccessException
243 244 245 Class java.lang.NoSuchFieldException
28 32 273 Class java.lang.RuntimeException
37 263 273 Class java.lang.RuntimeException
268 273 273 Class java.lang.RuntimeException
28 32 277 Class java.io.IOException
37 263 277 Class java.io.IOException
268 273 277 Class java.io.IOException
28 32 284 any
37 263 284 any
268 284 284 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$10
dup
aload 0
aload 1
aload 2
invokespecial sun.net.www.protocol.http.HttpURLConnection$10.<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=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 17
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 17
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 16
4: aload 1
instanceof sun.net.www.protocol.http.DigestAuthentication
ifeq 12
5: aload 1
6: checkcast sun.net.www.protocol.http.DigestAuthentication
astore 5
start local 5 7: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.tunnelState:()Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.SETUP:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
if_acmpne 10
8: aload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.HttpURLConnection.connectRequestURI:(Ljava/net/URL;)Ljava/lang/String;
getstatic sun.net.www.protocol.http.HttpURLConnection.HTTP_CONNECT:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.DigestAuthentication.getHeaderValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 9: goto 13
end local 4 10: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader java.lang.String top sun.net.www.protocol.http.DigestAuthentication
StackMap stack:
aload 5
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestURI:()Ljava/lang/String;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.DigestAuthentication.getHeaderValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
end local 5 start local 4 11: goto 13
end local 4 12: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.protocol.http.AuthenticationInfo sun.net.www.protocol.http.AuthenticationHeader java.lang.String
StackMap stack:
aload 1
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;
astore 4
start local 4 13: StackMap locals: java.lang.String
StackMap stack:
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;
aload 4
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
14: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
15: aload 1
areturn
end local 4 16: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.removeFromCache:()V
end local 3 17: 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
18: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
19: aload 1
areturn
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;
0 20 1 proxyAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
0 20 2 auth Lsun/net/www/protocol/http/AuthenticationHeader;
3 17 3 raw Ljava/lang/String;
9 10 4 value Ljava/lang/String;
11 12 4 value Ljava/lang/String;
13 16 4 value Ljava/lang/String;
7 11 5 digestProxy Lsun/net/www/protocol/http/DigestAuthentication;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
proxyAuthentication
auth
sun.net.www.protocol.http.HttpURLConnection$TunnelState tunnelState();
descriptor: ()Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tunnelState:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public void setTunnelState(sun.net.www.protocol.http.HttpURLConnection$TunnelState);
descriptor: (Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection.tunnelState:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
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 tunnelState Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
MethodParameters:
Name Flags
tunnelState
public synchronized void doTunneling();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=10, locals=15, 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: iconst_0
istore 8
start local 8 9: aload 0
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.SETUP:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setTunnelState:(Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;)V
10: 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 int
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 12
11: 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
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.sendCONNECTRequest:()V
13: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
14: 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
15: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 17
16: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.filterNTLMResponses:(Ljava/lang/String;)Z
ifeq 21
18: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 21
19: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
ldc ">>>> Headers are filtered"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
20: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
21: 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
22: new java.util.StringTokenizer
dup
aload 2
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 9
start local 9 23: aload 9
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
pop
24: aload 9
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
25: iload 3
sipush 407
if_icmpne 71
26: iconst_0
istore 10
start local 10 27: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.multiValueIterator:(Ljava/lang/String;)Ljava/util/Iterator;
astore 11
start local 11 28: goto 39
29: StackMap locals: java.util.StringTokenizer int java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 12
start local 12 30: aload 12
ldc "Negotiate"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 32
31: aload 12
ldc "Kerberos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 39
32: StackMap locals: java.lang.String
StackMap stack:
iload 8
ifne 35
33: iconst_1
istore 8
34: goto 40
35: StackMap locals:
StackMap stack:
iconst_1
istore 10
36: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
37: aconst_null
astore 4
38: goto 40
end local 12 39: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
40: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.AuthenticationHeader
dup
41: ldc "Proxy-Authenticate"
42: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
43: new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
44: 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;
45: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getProxyPortUsed:()I
46: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
47: invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Ljava/net/URL;Ljava/lang/String;ILjava/net/Authenticator;)V
48: iload 10
49: getstatic sun.net.www.protocol.http.HttpURLConnection.disabledTunnelingSchemes:Ljava/util/Set;
50: invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;ZLjava/util/Set;)V
astore 12
start local 12 51: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
ifne 60
52: aload 0
aload 4
aload 12
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;
53: astore 4
54: aload 4
ifnull 71
55: 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
56: 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
57: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
58: iinc 1 1
59: goto 79
60: 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 13
start local 13 61: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
62: aload 4
aload 0
63: aload 12
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.headerParser:()Lsun/net/www/HeaderParser;
aload 13
64: invokevirtual sun.net.www.protocol.http.AuthenticationInfo.setHeaders:(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
65: ifne 68
66: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
67: new java.io.IOException
dup
ldc "Authentication failure"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
68: StackMap locals: java.lang.String
StackMap stack:
aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.authObj:Ljava/lang/Object;
69: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.doingNTLMp2ndStage:Z
70: goto 79
end local 13 end local 12 end local 11 end local 10 71: 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 int java.util.StringTokenizer
StackMap stack:
aload 4
ifnull 73
72: aload 4
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.addToCache:()V
73: StackMap locals:
StackMap stack:
iload 3
sipush 200
if_icmpne 76
74: aload 0
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.TUNNELING:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setTunnelState:(Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;)V
75: goto 81
76: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
77: aload 0
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.NONE:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setTunnelState:(Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;)V
78: goto 81
end local 9 79: StackMap locals:
StackMap stack:
iload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
80: if_icmplt 10
81: StackMap locals:
StackMap stack:
iload 1
getstatic sun.net.www.protocol.http.HttpURLConnection.maxRedirects:I
if_icmpge 82
iload 3
sipush 200
if_icmpeq 89
82: 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
83: 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;
84: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
85: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
86: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
ifnull 88
87: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
88: 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 int top top top top top java.lang.Throwable
StackMap stack:
aload 14
athrow
89: 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 int
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
ifnull 91
90: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest:(Ljava/lang/String;)V
91: StackMap locals:
StackMap stack:
aload 0
aload 7
putfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
92: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.responses:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.reset:()V
93: return
end local 8 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 94 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 94 1 retryTunnel I
2 94 2 statusLine Ljava/lang/String;
3 94 3 respCode I
4 94 4 proxyAuthentication Lsun/net/www/protocol/http/AuthenticationInfo;
5 94 5 proxyHost Ljava/lang/String;
6 94 6 proxyPort I
7 94 7 savedRequests Lsun/net/www/MessageHeader;
9 94 8 inNegotiateProxy Z
23 79 9 st Ljava/util/StringTokenizer;
27 71 10 dontUseNegotiate Z
28 71 11 iter Ljava/util/Iterator<Ljava/lang/String;>;
30 39 12 value Ljava/lang/String;
51 71 12 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
61 71 13 raw Ljava/lang/String;
Exception table:
from to target type
9 85 85 any
Exceptions:
throws java.io.IOException
static java.lang.String connectRequestURI(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.net.URL.getPort:()I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 3
iload 2
goto 4
StackMap locals: java.lang.String int
StackMap stack:
3: aload 0
invokevirtual java.net.URL.getDefaultPort:()I
StackMap locals:
StackMap stack: int
4: istore 2
5: new java.lang.StringBuilder
dup
aload 1
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 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 url Ljava/net/URL;
1 6 1 host Ljava/lang/String;
2 6 2 port I
MethodParameters:
Name Flags
url
private void sendCONNECTRequest();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, 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.requests:Lsun/net/www/MessageHeader;
iconst_0
new java.lang.StringBuilder
dup
getstatic sun.net.www.protocol.http.HttpURLConnection.HTTP_CONNECT: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.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.HttpURLConnection.connectRequestURI:(Ljava/net/URL;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: 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
3: invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
4: 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
5: 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 6: iload 1
iconst_m1
if_icmpeq 8
iload 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
if_icmpeq 8
7: 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
8: 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
9: 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
10: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.getHttpKeepAliveSet:()Z
ifeq 12
11: 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
12: StackMap locals:
StackMap stack:
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
13: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 15
14: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requests:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
15: 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
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/net/www/protocol/http/HttpURLConnection;
1 17 1 port I
6 17 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=3, locals=5, 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: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
3: invokestatic sun.net.www.protocol.http.AuthenticationInfo.getProxyAuth:(Ljava/lang/String;ILjava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
4: astore 2
start local 2 5: aload 2
ifnull 18
aload 2
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 18
6: aload 2
instanceof sun.net.www.protocol.http.DigestAuthentication
ifeq 15
7: aload 2
checkcast sun.net.www.protocol.http.DigestAuthentication
astore 4
start local 4 8: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.tunnelState:()Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
getstatic sun.net.www.protocol.http.HttpURLConnection$TunnelState.SETUP:Lsun/net/www/protocol/http/HttpURLConnection$TunnelState;
if_acmpne 13
9: aload 4
10: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.HttpURLConnection.connectRequestURI:(Ljava/net/URL;)Ljava/lang/String;
getstatic sun.net.www.protocol.http.HttpURLConnection.HTTP_CONNECT:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.DigestAuthentication.getHeaderValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
11: astore 3
start local 3 12: goto 16
end local 3 13: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.MessageHeader sun.net.www.protocol.http.AuthenticationInfo top sun.net.www.protocol.http.DigestAuthentication
StackMap stack:
aload 4
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestURI:()Ljava/lang/String;
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.DigestAuthentication.getHeaderValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
end local 4 start local 3 14: goto 16
end local 3 15: StackMap locals: sun.net.www.protocol.http.HttpURLConnection sun.net.www.MessageHeader sun.net.www.protocol.http.AuthenticationInfo
StackMap stack:
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;
astore 3
start local 3 16: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 2
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.getHeaderName:()Ljava/lang/String;
aload 3
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
17: aload 0
aload 2
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 3 18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 19 1 requests Lsun/net/www/MessageHeader;
5 19 2 pauth Lsun/net/www/protocol/http/AuthenticationInfo;
12 13 3 value Ljava/lang/String;
14 15 3 value Ljava/lang/String;
16 18 3 value Ljava/lang/String;
8 14 4 digestProxy Lsun/net/www/protocol/http/DigestAuthentication;
Exceptions:
throws java.io.IOException
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=10, 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 104
aload 1
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.isPresent:()Z
ifeq 104
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 0
aload 4
iload 5
aload 7
29: aload 9
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
30: invokestatic sun.net.www.protocol.http.AuthenticationInfo.getProxyAuthKey:(Ljava/lang/String;ILjava/lang/String;Lsun/net/www/protocol/http/AuthScheme;Ljava/lang/String;)Ljava/lang/String;
putfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
31: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.proxyAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getProxyAuth:(Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
32: aload 2
ifnonnull 91
33: 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: 34
2: 50
3: 62
4: 84
5: 86
6: 88
default: 90
}
34: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 35: aload 4
astore 11
start local 11 36: new sun.net.www.protocol.http.HttpURLConnection$11
dup
aload 0
aload 11
invokespecial sun.net.www.protocol.http.HttpURLConnection$11.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/lang/String;)V
37: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.InetAddress
astore 10
end local 11 38: goto 40
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
39: pop
40: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
41: aload 4
aload 10
iload 5
ldc "http"
42: 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;
43: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/net/Authenticator;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;
44: astore 11
start local 11 45: aload 11
ifnull 91
46: new sun.net.www.protocol.http.BasicAuthentication
dup
iconst_1
aload 4
iload 5
aload 7
aload 11
47: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
48: invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/lang/String;ILjava/lang/String;Ljava/net/PasswordAuthentication;Ljava/lang/String;)V
astore 2
49: goto 91
end local 11 end local 10 50: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
51: 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;
52: 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;
53: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/net/Authenticator;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 54: aload 11
ifnull 91
55: new sun.net.www.protocol.http.DigestAuthentication$Parameters
dup
invokespecial sun.net.www.protocol.http.DigestAuthentication$Parameters.<init>:()V
56: astore 12
start local 12 57: new sun.net.www.protocol.http.DigestAuthentication
dup
iconst_1
aload 4
iload 5
aload 7
58: aload 8
aload 11
aload 12
59: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
60: 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;Ljava/lang/String;)V
astore 2
end local 12 61: goto 91
end local 11 62: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supported:Z
ifeq 91
63: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifeq 69
64: aload 0
65: getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supportsTransparentAuth:Z
66: putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
67: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifeq 69
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.useProxyResponseCode:Z
ifeq 69
68: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
69: StackMap locals:
StackMap stack:
aconst_null
astore 11
start local 11 70: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifeq 73
71: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
ldc "Trying Transparent NTLM authentication"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
72: goto 77
73: 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 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
74: 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;
75: 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;
76: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/net/Authenticator;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
77: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifne 79
78: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
ifne 82
aload 11
ifnull 82
79: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.proxy:Lsun/net/www/protocol/http/NTLMAuthenticationProxy;
iconst_1
aload 4
80: iload 5
aload 11
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
81: invokevirtual sun.net.www.protocol.http.NTLMAuthenticationProxy.create:(ZLjava/lang/String;ILjava/net/PasswordAuthentication;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
82: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMProxy:Z
end local 11 83: goto 91
84: 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
85: goto 91
86: 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
87: goto 91
88: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 90
89: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
90: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
91: StackMap locals:
StackMap stack:
aload 2
ifnonnull 101
getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
ifnull 101
92: 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 101
93: 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 94: 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 95: aload 11
ifnull 101
96: new sun.net.www.protocol.http.BasicAuthentication
dup
iconst_1
aload 4
iload 5
aload 7
aload 11
97: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
98: invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 2
end local 11 end local 10 99: goto 101
StackMap locals:
StackMap stack: java.net.MalformedURLException
100: pop
101: StackMap locals:
StackMap stack:
aload 2
ifnull 104
102: 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 104
103: aconst_null
astore 2
end local 9 end local 8 end local 7 end local 6 104: 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:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 108
105: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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 106
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 107
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: sun.util.logging.PlatformLogger java.lang.StringBuilder
106: 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: sun.util.logging.PlatformLogger java.lang.StringBuilder java.lang.String
107: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
108: 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 109 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 109 1 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
1 109 2 ret Lsun/net/www/protocol/http/AuthenticationInfo;
2 109 3 raw Ljava/lang/String;
3 109 4 host Ljava/lang/String;
4 109 5 port I
6 104 6 p Lsun/net/www/HeaderParser;
7 104 7 realm Ljava/lang/String;
8 104 8 scheme Ljava/lang/String;
9 104 9 authScheme Lsun/net/www/protocol/http/AuthScheme;
35 50 10 addr Ljava/net/InetAddress;
36 38 11 finalHost Ljava/lang/String;
45 50 11 a Ljava/net/PasswordAuthentication;
54 62 11 a Ljava/net/PasswordAuthentication;
70 83 11 a Ljava/net/PasswordAuthentication;
57 61 12 params Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
94 99 10 u Ljava/net/URL;
95 99 11 a Ljava/lang/String;
Exception table:
from to target type
35 38 39 Class java.security.PrivilegedActionException
93 99 100 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=9, 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 107
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
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 5
aload 7
28: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
29: invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuthKey:(Ljava/net/URL;Ljava/lang/String;Lsun/net/www/protocol/http/AuthScheme;Ljava/lang/String;)Ljava/lang/String;
putfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
30: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.serverAuthKey:Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuth:(Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
31: aconst_null
astore 8
start local 8 32: aload 2
ifnonnull 36
33: 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
34: goto 36
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
35: pop
36: 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 37: iload 9
iconst_m1
if_icmpne 39
38: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
istore 9
39: StackMap locals: int
StackMap stack:
aload 2
ifnonnull 97
40: 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: 45
2: 55
3: 66
4: 43
5: 41
6: 94
default: 96
}
41: 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
42: goto 97
43: 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
44: goto 97
45: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
46: 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;
47: 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;
48: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/net/Authenticator;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;
49: astore 10
start local 10 50: aload 10
ifnull 97
51: 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
52: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
53: invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/net/URL;Ljava/lang/String;Ljava/net/PasswordAuthentication;Ljava/lang/String;)V
astore 2
54: goto 97
end local 10 55: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.authenticator:Ljava/net/Authenticator;
56: 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;
57: 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;
58: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/net/Authenticator;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 59: aload 10
ifnull 97
60: 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;
61: 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
62: aload 10
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.digestparams:Lsun/net/www/protocol/http/DigestAuthentication$Parameters;
63: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
64: 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;Ljava/lang/String;)V
astore 2
65: goto 97
end local 10 66: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supported:Z
ifeq 97
67: 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 68: goto 71
end local 11 StackMap locals:
StackMap stack: java.lang.Exception
69: pop
70: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
astore 11
start local 11 71: 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 79
72: aload 0
73: getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supportsTransparentAuth:Z
74: putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
75: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifeq 79
76: aload 0
77: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokestatic sun.net.www.protocol.http.NTLMAuthenticationProxy.isTrustedSite:(Ljava/net/URL;)Z
78: putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
79: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 80: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifeq 83
81: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
ldc "Trying Transparent NTLM authentication"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
82: goto 87
83: 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.authenticator:Ljava/net/Authenticator;
84: 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;
85: 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;
86: invokestatic sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication:(Ljava/net/Authenticator;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
87: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifne 89
88: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
ifne 92
aload 10
ifnull 92
89: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.proxy:Lsun/net/www/protocol/http/NTLMAuthenticationProxy;
iconst_0
90: aload 11
aload 10
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
91: invokevirtual sun.net.www.protocol.http.NTLMAuthenticationProxy.create:(ZLjava/net/URL;Ljava/net/PasswordAuthentication;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
astore 2
92: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.tryTransparentNTLMServer:Z
end local 11 end local 10 93: goto 97
94: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 96
95: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
96: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
97: StackMap locals:
StackMap stack:
aload 2
ifnonnull 104
getstatic sun.net.www.protocol.http.HttpURLConnection.defaultAuth:Lsun/net/www/protocol/http/HttpAuthenticator;
ifnull 104
98: 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 104
99: 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 100: aload 10
ifnull 104
101: 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
102: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
103: invokespecial sun.net.www.protocol.http.BasicAuthentication.<init>:(ZLjava/net/URL;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 2
end local 10 104: StackMap locals:
StackMap stack:
aload 2
ifnull 107
105: 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 107
106: aconst_null
astore 2
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 107: 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:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 111
108: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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 109
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 110
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: sun.util.logging.PlatformLogger java.lang.StringBuilder
109: 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: sun.util.logging.PlatformLogger java.lang.StringBuilder java.lang.String
110: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
111: 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 112 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 112 1 authhdr Lsun/net/www/protocol/http/AuthenticationHeader;
1 112 2 ret Lsun/net/www/protocol/http/AuthenticationInfo;
2 112 3 raw Ljava/lang/String;
4 107 4 p Lsun/net/www/HeaderParser;
5 107 5 realm Ljava/lang/String;
6 107 6 scheme Ljava/lang/String;
7 107 7 authScheme Lsun/net/www/protocol/http/AuthScheme;
32 107 8 addr Ljava/net/InetAddress;
37 107 9 port I
50 55 10 a Ljava/net/PasswordAuthentication;
59 66 10 a Ljava/net/PasswordAuthentication;
80 93 10 a Ljava/net/PasswordAuthentication;
68 69 11 url1 Ljava/net/URL;
71 93 11 url1 Ljava/net/URL;
100 104 10 a Ljava/lang/String;
Exception table:
from to target type
33 34 35 Class java.net.UnknownHostException
67 68 69 Class java.lang.Exception
MethodParameters:
Name Flags
authhdr
private void checkResponseCredentials(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, 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 10
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnull 10
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
instanceof sun.net.www.protocol.http.DigestAuthentication
ifeq 10
4: 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 5: iload 1
ifne 6
aload 2
ifnull 10
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
7: checkcast sun.net.www.protocol.http.DigestAuthentication
astore 3
start local 3 8: aload 3
aload 2
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.method:Ljava/lang/String;
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestURI:()Ljava/lang/String;
invokevirtual sun.net.www.protocol.http.DigestAuthentication.checkResponse:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 3 end local 2 10: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.validateServer:Z
ifeq 18
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnull 18
11: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
instanceof sun.net.www.protocol.http.DigestAuthentication
ifeq 18
12: 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 13: iload 1
ifne 14
aload 2
ifnull 18
14: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
15: checkcast sun.net.www.protocol.http.DigestAuthentication
astore 3
start local 3 16: aload 3
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.DigestAuthentication.checkResponse:(Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;)V
17: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 3 end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnonnull 25
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.currentProxyCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
ifnonnull 25
19: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.needToCheck:Z
20: goto 25
StackMap locals:
StackMap stack: java.io.IOException
21: astore 2
start local 2 22: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
23: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
24: aload 2
athrow
end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 26 1 inClose Z
5 10 2 raw Ljava/lang/String;
8 10 3 da Lsun/net/www/protocol/http/DigestAuthentication;
13 18 2 raw Ljava/lang/String;
16 18 3 da Lsun/net/www/protocol/http/DigestAuthentication;
22 25 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 21 Class java.io.IOException
2 20 21 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inClose
java.lang.String getRequestURI();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requestURI:Ljava/lang/String;
ifnonnull 2
1: aload 0
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;
putfield sun.net.www.protocol.http.HttpURLConnection.requestURI:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.requestURI:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection;
Exceptions:
throws java.io.IOException
private boolean followRedirect();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, 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 3
astore 4
start local 4 15: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.socketPermission:Ljava/net/SocketPermission;
16: aload 0
aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission:(Ljava/net/URL;)Ljava/net/SocketPermission;
astore 5
start local 5 17: aload 5
ifnull 24
18: new sun.net.www.protocol.http.HttpURLConnection$12
dup
aload 0
aload 2
iload 1
aload 4
invokespecial sun.net.www.protocol.http.HttpURLConnection$12.<init>:(Lsun/net/www/protocol/http/HttpURLConnection;Ljava/lang/String;ILjava/net/URL;)V
19: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
aload 5
aastore
20: invokestatic java.security.AccessController.doPrivilegedWithCombiner:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
21: ireturn
22: StackMap locals: sun.net.www.protocol.http.HttpURLConnection int java.lang.String java.net.URL java.net.URL java.net.SocketPermission
StackMap stack: java.security.PrivilegedActionException
astore 6
start local 6 23: aload 6
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 6 24: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 1
aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.followRedirect0:(Ljava/lang/String;ILjava/net/URL;)Z
ireturn
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 25 0 this Lsun/net/www/protocol/http/HttpURLConnection;
3 25 1 stat I
7 25 2 loc Ljava/lang/String;
10 12 3 locUrl Ljava/net/URL;
14 25 3 locUrl Ljava/net/URL;
15 25 4 locUrl0 Ljava/net/URL;
17 25 5 p Ljava/net/SocketPermission;
23 24 6 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
9 11 12 Class java.net.MalformedURLException
18 21 22 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
private boolean followRedirect0(java.lang.String, int, java.net.URL);
descriptor: (Ljava/lang/String;ILjava/net/URL;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
1: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 3
2: new java.net.HttpRetryException
dup
ldc "cannot retry due to redirection, in streaming mode"
iload 2
aload 1
invokespecial java.net.HttpRetryException.<init>:(Ljava/lang/String;ILjava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 5
4: getstatic sun.net.www.protocol.http.HttpURLConnection.logger:Lsun/util/logging/PlatformLogger;
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;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
5: 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;
6: iload 2
sipush 305
if_icmpne 19
7: aload 3
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 4
start local 4 8: aload 3
invokevirtual java.net.URL.getPort:()I
istore 5
start local 5 9: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 6
start local 6 10: aload 6
ifnull 12
11: aload 6
aload 4
iload 5
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
12: 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
13: 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
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestURI:()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;
14: 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
15: invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
16: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
17: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection.useProxyResponseCode:Z
end local 6 end local 5 end local 4 18: goto 55
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
astore 4
start local 4 20: aload 0
aload 3
putfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
21: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.requestURI:Ljava/lang/String;
22: 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 33
ldc "http.strictPostRedirect"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 33
iload 2
sipush 307
if_icmpeq 33
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
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.setRequests:Z
25: aload 0
ldc "GET"
invokespecial java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
26: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.poster:Lsun/net/www/http/PosterOutputStream;
27: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 29
28: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
29: 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 55
30: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
31: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
32: goto 55
33: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkReuseConnection:()Z
ifne 35
34: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.connect:()V
35: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 44
36: 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
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestURI:()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;
37: 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
38: invokevirtual sun.net.www.MessageHeader.set:(ILjava/lang/String;Ljava/lang/String;)V
39: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 5
start local 5 40: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokestatic sun.net.www.protocol.http.HttpURLConnection.stripIPv6ZoneId:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 41: iload 5
iconst_m1
if_icmpeq 43
iload 5
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
if_icmpeq 43
42: 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
43: 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 44: 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 55
45: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies:Ljava/lang/String;
46: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.userCookies2:Ljava/lang/String;
47: 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
48: 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
49: 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
50: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.url:Ljava/net/URL;
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
invokestatic sun.net.www.protocol.http.AuthenticationInfo.getServerAuth:(Ljava/net/URL;Ljava/lang/String;)Lsun/net/www/protocol/http/AuthenticationInfo;
51: astore 5
start local 5 52: aload 5
ifnull 55
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationInfo.supportsPreemptiveAuthorization:()Z
ifeq 55
53: 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
54: aload 0
aload 5
putfield sun.net.www.protocol.http.HttpURLConnection.currentServerCredentials:Lsun/net/www/protocol/http/AuthenticationInfo;
end local 5 end local 4 55: 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 56 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 56 1 loc Ljava/lang/String;
0 56 2 stat I
0 56 3 locUrl Ljava/net/URL;
8 18 4 proxyHost Ljava/lang/String;
9 18 5 proxyPort I
10 18 6 security Ljava/lang/SecurityManager;
20 55 4 prevURL Ljava/net/URL;
40 44 5 port I
41 44 6 host Ljava/lang/String;
52 55 5 sauth Lsun/net/www/protocol/http/AuthenticationInfo;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
loc
stat
locUrl
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 disconnectWeb();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.usingProxy:()Z
ifeq 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.isKeepingAlive:()Z
ifeq 4
1: aload 0
iconst_m1
putfield sun.net.www.protocol.http.HttpURLConnection.responseCode:I
2: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.reset:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection.disconnectInternal:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/protocol/http/HttpURLConnection;
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
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.inputStream:Ljava/io/InputStream;
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
ifnull 5
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.finishTracking:()V
4: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.pi:Lsun/net/ProgressSource;
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
ifnull 9
6: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
7: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
8: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection.connected:Z
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 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;
private java.lang.String (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
ldc "set-cookie"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 4
3: ldc "set-cookie2"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cookieHandler:Ljava/net/CookieHandler;
ifnull 5
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 6
5: StackMap locals:
StackMap stack:
aload 2
areturn
6: StackMap locals:
StackMap stack:
invokestatic jdk.internal.access.SharedSecrets.getJavaNetHttpCookieAccess:()Ljdk/internal/access/JavaNetHttpCookieAccess;
7: astore 3
start local 3 8: new java.util.StringJoiner
dup
ldc ","
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
astore 4
start local 4 9: aload 3
aload 2
invokeinterface jdk.internal.access.JavaNetHttpCookieAccess.parse:(Ljava/lang/String;)Ljava/util/List;
astore 5
start local 5 10: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.lang.String java.lang.String jdk.internal.access.JavaNetHttpCookieAccess java.util.StringJoiner java.util.List top java.util.Iterator
StackMap stack:
11: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.HttpCookie
astore 6
start local 6 12: aload 6
invokevirtual java.net.HttpCookie.isHttpOnly:()Z
ifne 14
13: aload 4
aload 3
aload 6
invokeinterface jdk.internal.access.JavaNetHttpCookieAccess.header:(Ljava/net/HttpCookie;)Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 6 14: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: aload 4
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 16: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.lang.String java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 17 1 name Ljava/lang/String;
0 17 2 value Ljava/lang/String;
8 16 3 access Ljdk/internal/access/JavaNetHttpCookieAccess;
9 16 4 retValue Ljava/util/StringJoiner;
10 16 5 cookies Ljava/util/List<Ljava/net/HttpCookie;>;
12 14 6 cookie Ljava/net/HttpCookie;
MethodParameters:
Name Flags
name
value
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> getFilteredHeaderFields();
descriptor: ()Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=11, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.filteredHeaders:Ljava/util/Map;
ifnull 2
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.filteredHeaders:Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
ifnull 6
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.cachedHeaders:Lsun/net/www/MessageHeader;
invokevirtual sun.net.www.MessageHeader.getHeaders:()Ljava/util/Map;
astore 1
start local 1 5: goto 7
end local 1 6: StackMap locals: sun.net.www.protocol.http.HttpURLConnection top java.util.Map
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;
astore 1
start local 1 7: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map java.util.Map
StackMap stack:
aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 20
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 9: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 10: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 11: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 12: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 17
StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List java.util.List top java.util.Iterator
StackMap stack:
13: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 14: aload 0
aload 5
aload 8
invokevirtual sun.net.www.protocol.http.HttpURLConnection.filterHeaderField:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 15: aload 10
ifnull 17
16: aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 8 17: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
18: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifne 20
19: aload 2
aload 5
aload 7
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 5 end local 3 20: StackMap locals: sun.net.www.protocol.http.HttpURLConnection java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
21: aload 0
aload 2
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
dup_x1
putfield sun.net.www.protocol.http.HttpURLConnection.filteredHeaders:Ljava/util/Map;
areturn
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;
5 6 1 headers Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
7 22 1 headers Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
3 22 2 tmpMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
9 20 3 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
10 20 5 key Ljava/lang/String;
11 20 6 values Ljava/util/List<Ljava/lang/String;>;
12 20 7 filteredVals Ljava/util/List<Ljava/lang/String;>;
14 17 8 value Ljava/lang/String;
15 17 10 fVal Ljava/lang/String;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
aload 1
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;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.filterHeaderField:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
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;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.filterHeaderField:(Ljava/lang/String;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
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getFilteredHeaderFields:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 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=4, 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 7
4: aload 0
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;
5: 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;
6: invokevirtual sun.net.www.protocol.http.HttpURLConnection.filterHeaderField:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 0
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;
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;
invokevirtual sun.net.www.protocol.http.HttpURLConnection.filterHeaderField:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/net/www/protocol/http/HttpURLConnection;
0 8 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 synchronized void setRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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
ifne 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
ifeq 2
1: StackMap locals:
StackMap stack:
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 8
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: aload 1
ldc "Content-Type"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userHeaders:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 2 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 key Ljava/lang/String;
0 9 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
sun.net.www.MessageHeader ();
descriptor: ()Lsun/net/www/MessageHeader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userHeaders:Lsun/net/www/MessageHeader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection;
public synchronized void addRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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
ifne 1
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.connecting:Z
ifeq 2
1: StackMap locals:
StackMap stack:
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 8
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: aload 1
ldc "Content-Type"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection.userHeaders:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 2 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 key Ljava/lang/String;
0 9 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public void setAuthenticationProperty(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
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 synchronized java.lang.String getRequestProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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 java.lang.String stripIPv6ZoneId(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 37
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 3: iload 1
iconst_m1
if_icmpne 5
4: aload 0
areturn
5: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 host Ljava/lang/String;
3 6 1 i I
MethodParameters:
Name Flags
host
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
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic sun.net.NetProperties.get:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HttpURLConnection.java"
NestMembers:
sun.net.www.protocol.http.HttpURLConnection$1 sun.net.www.protocol.http.HttpURLConnection$10 sun.net.www.protocol.http.HttpURLConnection$11 sun.net.www.protocol.http.HttpURLConnection$12 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$9 sun.net.www.protocol.http.HttpURLConnection$ErrorStream sun.net.www.protocol.http.HttpURLConnection$HttpInputStream sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream sun.net.www.protocol.http.HttpURLConnection$TunnelState
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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$10
sun.net.www.protocol.http.HttpURLConnection$11
sun.net.www.protocol.http.HttpURLConnection$12
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$9
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
public final TunnelState = sun.net.www.protocol.http.HttpURLConnection$TunnelState of sun.net.www.protocol.http.HttpURLConnection
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger