public class sun.net.www.http.HttpClient extends sun.net.NetworkClient
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.http.HttpClient
super_class: sun.net.NetworkClient
{
protected boolean cachedHttpClient;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean inCache;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0000)
sun.net.www.http.PosterOutputStream poster;
descriptor: Lsun/net/www/http/PosterOutputStream;
flags: (0x0000)
boolean streaming;
descriptor: Z
flags: (0x0000)
boolean failedOnce;
descriptor: Z
flags: (0x0000)
private boolean ignoreContinue;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final int HTTP_CONTINUE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
static final int httpPortNumber;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 80
protected boolean proxyDisabled;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public boolean usingProxy;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
protected java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int port;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected static sun.net.www.http.KeepAliveCache kac;
descriptor: Lsun/net/www/http/KeepAliveCache;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static boolean keepAliveProp;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean retryPostProp;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean cacheNTLMProp;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean cacheSPNEGOProp;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
volatile boolean keepingAlive;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean disableKeepAlive;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
int keepAliveConnections;
descriptor: I
flags: (0x0000)
int keepAliveTimeout;
descriptor: I
flags: (0x0000)
private java.net.CacheRequest cacheRequest;
descriptor: Ljava/net/CacheRequest;
flags: (0x0002) ACC_PRIVATE
protected java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
public boolean reuse;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
private sun.net.www.http.HttpCapture capture;
descriptor: Lsun/net/www/http/HttpCapture;
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
protected volatile java.lang.String authenticatorKey;
descriptor: Ljava/lang/String;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
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=2, locals=5, args_size=0
0: ldc Lsun/net/www/http/HttpClient;
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.http.HttpClient.$assertionsDisabled:Z
3: new sun.net.www.http.KeepAliveCache
dup
invokespecial sun.net.www.http.KeepAliveCache.<init>:()V
putstatic sun.net.www.http.HttpClient.kac:Lsun/net/www/http/KeepAliveCache;
4: iconst_1
putstatic sun.net.www.http.HttpClient.keepAliveProp:Z
5: iconst_1
putstatic sun.net.www.http.HttpClient.retryPostProp:Z
6: invokestatic sun.net.www.protocol.http.HttpURLConnection.getHttpLogger:()Lsun/util/logging/PlatformLogger;
putstatic sun.net.www.http.HttpClient.logger:Lsun/util/logging/PlatformLogger;
7: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperties:()Ljava/util/Properties;
astore 0
start local 0 8: aload 0
ldc "http.keepAlive"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 9: aload 0
ldc "sun.net.http.retryPost"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 10: aload 0
ldc "jdk.ntlm.cache"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 11: aload 0
ldc "jdk.spnego.cache"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 12: aload 1
ifnull 15
13: aload 1
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.http.HttpClient.keepAliveProp:Z
14: goto 16
15: StackMap locals: java.util.Properties java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
iconst_1
putstatic sun.net.www.http.HttpClient.keepAliveProp:Z
16: StackMap locals:
StackMap stack:
aload 2
ifnull 19
17: aload 2
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.http.HttpClient.retryPostProp:Z
18: goto 20
19: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.net.www.http.HttpClient.retryPostProp:Z
20: StackMap locals:
StackMap stack:
aload 3
ifnull 23
21: aload 3
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.http.HttpClient.cacheNTLMProp:Z
22: goto 24
23: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.net.www.http.HttpClient.cacheNTLMProp:Z
24: StackMap locals:
StackMap stack:
aload 4
ifnull 27
25: aload 4
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.http.HttpClient.cacheSPNEGOProp:Z
26: goto 28
27: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.net.www.http.HttpClient.cacheSPNEGOProp:Z
end local 4 end local 3 end local 2 end local 1 end local 0 28: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
8 28 0 props Ljava/util/Properties;
9 28 1 keepAlive Ljava/lang/String;
10 28 2 retryPost Ljava/lang/String;
11 28 3 cacheNTLM Ljava/lang/String;
12 28 4 cacheSPNEGO Ljava/lang/String;
protected int getDefaultPort();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 80
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
private static int getDefaultPort(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "http"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: bipush 80
ireturn
2: StackMap locals:
StackMap stack:
ldc "https"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: sipush 443
ireturn
4: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 proto Ljava/lang/String;
MethodParameters:
Name Flags
proto
private static void logFinest(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.net.www.http.HttpClient.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 2
1: getstatic sun.net.www.http.HttpClient.logger:Lsun/util/logging/PlatformLogger;
aload 0
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public static synchronized void resetProperties();
descriptor: ()V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
java.lang.Deprecated()
int getKeepAliveTimeout();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.keepAliveTimeout:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public boolean getHttpKeepAliveSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.net.www.http.HttpClient.keepAliveProp:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.net.NetworkClient.<init>:()V
1: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.cachedHttpClient:Z
2: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
3: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.failedOnce:Z
4: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.ignoreContinue:Z
5: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.usingProxy:Z
6: aload 0
iconst_m1
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
7: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.keepAliveTimeout:I
8: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.cacheRequest:Ljava/net/CacheRequest;
9: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.reuse:Z
10: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/www/http/HttpClient;
private void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_m1
iconst_0
invokespecial sun.net.www.http.HttpClient.<init>:(Ljava/net/URL;Ljava/lang/String;IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/http/HttpClient;
0 2 1 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
protected void <init>(java.net.URL, boolean);
descriptor: (Ljava/net/URL;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, 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
invokespecial sun.net.www.http.HttpClient.<init>:(Ljava/net/URL;Ljava/lang/String;IZ)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/http/HttpClient;
0 2 1 url Ljava/net/URL;
0 2 2 proxyDisabled Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyDisabled
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=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
invokespecial sun.net.www.http.HttpClient.<init>:(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/http/HttpClient;
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 <init>(java.net.URL, java.net.Proxy, int);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.net.NetworkClient.<init>:()V
1: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.cachedHttpClient:Z
2: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
3: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.failedOnce:Z
4: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.ignoreContinue:Z
5: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.usingProxy:Z
6: aload 0
iconst_m1
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
7: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.keepAliveTimeout:I
8: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.cacheRequest:Ljava/net/CacheRequest;
9: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.reuse:Z
10: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
11: aload 0
aload 2
ifnonnull 12
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
goto 13
StackMap locals: sun.net.www.http.HttpClient java.net.URL java.net.Proxy int
StackMap stack: sun.net.www.http.HttpClient
12: aload 2
StackMap locals: sun.net.www.http.HttpClient java.net.URL java.net.Proxy int
StackMap stack: sun.net.www.http.HttpClient java.net.Proxy
13: putfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
14: aload 0
aload 1
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
putfield sun.net.www.http.HttpClient.host:Ljava/lang/String;
15: aload 0
aload 1
putfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
16: aload 0
aload 1
invokevirtual java.net.URL.getPort:()I
putfield sun.net.www.http.HttpClient.port:I
17: aload 0
getfield sun.net.www.http.HttpClient.port:I
iconst_m1
if_icmpne 19
18: aload 0
aload 0
invokevirtual sun.net.www.http.HttpClient.getDefaultPort:()I
putfield sun.net.www.http.HttpClient.port:I
19: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual sun.net.www.http.HttpClient.setConnectTimeout:(I)V
20: aload 0
aload 1
invokestatic sun.net.www.http.HttpCapture.getCapture:(Ljava/net/URL;)Lsun/net/www/http/HttpCapture;
putfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
21: aload 0
invokevirtual sun.net.www.http.HttpClient.openServer:()V
22: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/net/www/http/HttpClient;
0 23 1 url Ljava/net/URL;
0 23 2 p Ljava/net/Proxy;
0 23 3 to I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
p
to
protected static java.net.Proxy newHttpProxy(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)Ljava/net/Proxy;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifge 3
aload 2
invokestatic sun.net.www.http.HttpClient.getDefaultPort:(Ljava/lang/String;)I
goto 4
StackMap locals:
StackMap stack:
3: iload 1
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: aload 0
iload 3
invokestatic java.net.InetSocketAddress.createUnresolved:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
astore 4
start local 4 6: new java.net.Proxy
dup
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
aload 4
invokespecial java.net.Proxy.<init>:(Ljava/net/Proxy$Type;Ljava/net/SocketAddress;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 proxyHost Ljava/lang/String;
0 7 1 proxyPort I
0 7 2 proto Ljava/lang/String;
5 7 3 pport I
6 7 4 saddr Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
proxyHost
proxyPort
proto
private void <init>(java.net.URL, java.lang.String, int, boolean);
descriptor: (Ljava/net/URL;Ljava/lang/String;IZ)V
flags: (0x0002) ACC_PRIVATE
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
iload 4
ifeq 1
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
goto 2
1: StackMap locals: uninitialized-this java.net.URL java.lang.String int int
StackMap stack: uninitialized-this java.net.URL
aload 2
iload 3
ldc "http"
invokestatic sun.net.www.http.HttpClient.newHttpProxy:(Ljava/lang/String;ILjava/lang/String;)Ljava/net/Proxy;
StackMap locals: uninitialized-this java.net.URL java.lang.String int int
StackMap stack: uninitialized-this java.net.URL java.net.Proxy
2: iconst_m1
invokespecial sun.net.www.http.HttpClient.<init>:(Ljava/net/URL;Ljava/net/Proxy;I)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/http/HttpClient;
0 4 1 url Ljava/net/URL;
0 4 2 proxyHost Ljava/lang/String;
0 4 3 proxyPort I
0 4 4 proxyDisabled Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
proxyDisabled
public void <init>(java.net.URL, java.lang.String, int, boolean, int);
descriptor: (Ljava/net/URL;Ljava/lang/String;IZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 4
ifeq 1
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
goto 2
1: StackMap locals: uninitialized-this java.net.URL java.lang.String int int int
StackMap stack: uninitialized-this java.net.URL
aload 2
iload 3
ldc "http"
invokestatic sun.net.www.http.HttpClient.newHttpProxy:(Ljava/lang/String;ILjava/lang/String;)Ljava/net/Proxy;
StackMap locals: uninitialized-this java.net.URL java.lang.String int int int
StackMap stack: uninitialized-this java.net.URL java.net.Proxy
2: iload 5
invokespecial sun.net.www.http.HttpClient.<init>:(Ljava/net/URL;Ljava/net/Proxy;I)V
3: 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 4 0 this Lsun/net/www/http/HttpClient;
0 4 1 url Ljava/net/URL;
0 4 2 proxyHost Ljava/lang/String;
0 4 3 proxyPort I
0 4 4 proxyDisabled Z
0 4 5 to I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
proxyDisabled
to
public static sun.net.www.http.HttpClient New(java.net.URL);
descriptor: (Ljava/net/URL;)Lsun/net/www/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
iconst_m1
iconst_1
aconst_null
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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
public static sun.net.www.http.HttpClient New(java.net.URL, boolean);
descriptor: (Ljava/net/URL;Z)Lsun/net/www/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
iconst_m1
iload 1
aconst_null
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
0 1 1 useCache Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
useCache
public static sun.net.www.http.HttpClient New(java.net.URL, java.net.Proxy, int, boolean, sun.net.www.protocol.http.HttpURLConnection);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;IZLsun/net/www/protocol/http/HttpURLConnection;)Lsun/net/www/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnonnull 2
1: getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
astore 1
2: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 3: iload 3
ifeq 41
4: getstatic sun.net.www.http.HttpClient.kac:Lsun/net/www/http/KeepAliveCache;
aload 0
aconst_null
invokevirtual sun.net.www.http.KeepAliveCache.get:(Ljava/net/URL;Ljava/lang/Object;)Lsun/net/www/http/HttpClient;
astore 5
5: aload 5
ifnull 12
aload 4
ifnull 12
6: aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.streaming:()Z
ifeq 12
7: aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestMethod:()Ljava/lang/String;
ldc "POST"
if_acmpne 12
8: aload 5
invokevirtual sun.net.www.http.HttpClient.available:()Z
ifne 12
9: aload 5
iconst_0
putfield sun.net.www.http.HttpClient.inCache:Z
10: aload 5
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
11: aconst_null
astore 5
12: StackMap locals: sun.net.www.http.HttpClient
StackMap stack:
aload 5
ifnull 41
13: aload 4
ifnonnull 14
ldc "default"
goto 15
14: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
15: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 16: aload 5
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
aload 1
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 19
17: aload 5
invokevirtual sun.net.www.http.HttpClient.getAuthenticatorKey:()Ljava/lang/String;
aload 6
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 19
18: iconst_1
goto 20
StackMap locals: java.lang.String
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 7
start local 7 21: iload 7
ifeq 33
22: aload 5
dup
astore 8
monitorenter
23: aload 5
iconst_1
putfield sun.net.www.http.HttpClient.cachedHttpClient:Z
24: getstatic sun.net.www.http.HttpClient.$assertionsDisabled:Z
ifne 25
aload 5
getfield sun.net.www.http.HttpClient.inCache:Z
ifne 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals: int sun.net.www.http.HttpClient
StackMap stack:
aload 5
iconst_0
putfield sun.net.www.http.HttpClient.inCache:Z
26: aload 4
ifnull 28
aload 5
invokevirtual sun.net.www.http.HttpClient.needsTunneling:()Z
ifeq 28
27: aload 4
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
28: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "KeepAlive stream retrieved from the cache, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpClient.logFinest:(Ljava/lang/String;)V
29: aload 8
monitorexit
30: goto 41
StackMap locals:
StackMap stack: java.lang.Throwable
31: aload 8
monitorexit
32: athrow
33: StackMap locals:
StackMap stack:
aload 5
dup
astore 8
monitorenter
34: aload 5
iconst_0
putfield sun.net.www.http.HttpClient.inCache:Z
35: aload 5
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
36: aload 8
monitorexit
37: goto 40
StackMap locals: java.net.URL java.net.Proxy int int sun.net.www.protocol.http.HttpURLConnection sun.net.www.http.HttpClient java.lang.String int sun.net.www.http.HttpClient
StackMap stack: java.lang.Throwable
38: aload 8
monitorexit
39: athrow
40: StackMap locals:
StackMap stack:
aconst_null
astore 5
end local 7 end local 6 41: StackMap locals:
StackMap stack:
aload 5
ifnonnull 46
42: new sun.net.www.http.HttpClient
dup
aload 0
aload 1
iload 2
invokespecial sun.net.www.http.HttpClient.<init>:(Ljava/net/URL;Ljava/net/Proxy;I)V
astore 5
43: aload 4
ifnull 53
44: aload 5
aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getAuthenticatorKey:()Ljava/lang/String;
putfield sun.net.www.http.HttpClient.authenticatorKey:Ljava/lang/String;
45: goto 53
46: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 6
start local 6 47: aload 6
ifnull 52
48: aload 5
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
if_acmpeq 49
aload 5
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
ifnonnull 51
49: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 6
aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
aload 0
invokevirtual java.net.URL.getPort:()I
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
50: goto 52
51: StackMap locals:
StackMap stack:
aload 6
aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 0
invokevirtual java.net.URL.getPort:()I
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
52: StackMap locals:
StackMap stack:
aload 5
aload 0
putfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
end local 6 53: StackMap locals:
StackMap stack:
aload 5
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 54 0 url Ljava/net/URL;
0 54 1 p Ljava/net/Proxy;
0 54 2 to I
0 54 3 useCache Z
0 54 4 httpuc Lsun/net/www/protocol/http/HttpURLConnection;
3 54 5 ret Lsun/net/www/http/HttpClient;
16 41 6 ak Ljava/lang/String;
21 41 7 compatible Z
47 53 6 security Ljava/lang/SecurityManager;
Exception table:
from to target type
23 30 31 any
31 32 31 any
34 37 38 any
38 39 38 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
p
to
useCache
httpuc
public static sun.net.www.http.HttpClient New(java.net.URL, java.net.Proxy, int, sun.net.www.protocol.http.HttpURLConnection);
descriptor: (Ljava/net/URL;Ljava/net/Proxy;ILsun/net/www/protocol/http/HttpURLConnection;)Lsun/net/www/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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
iload 2
iconst_1
aload 3
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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
0 1 1 p Ljava/net/Proxy;
0 1 2 to I
0 1 3 httpuc Lsun/net/www/protocol/http/HttpURLConnection;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
p
to
httpuc
public static sun.net.www.http.HttpClient New(java.net.URL, java.lang.String, int, boolean);
descriptor: (Ljava/net/URL;Ljava/lang/String;IZ)Lsun/net/www/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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
iload 2
ldc "http"
invokestatic sun.net.www.http.HttpClient.newHttpProxy:(Ljava/lang/String;ILjava/lang/String;)Ljava/net/Proxy;
1: iconst_m1
iload 3
aconst_null
2: 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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 url Ljava/net/URL;
0 3 1 proxyHost Ljava/lang/String;
0 3 2 proxyPort I
0 3 3 useCache Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
useCache
public static sun.net.www.http.HttpClient New(java.net.URL, java.lang.String, int, boolean, int, sun.net.www.protocol.http.HttpURLConnection);
descriptor: (Ljava/net/URL;Ljava/lang/String;IZILsun/net/www/protocol/http/HttpURLConnection;)Lsun/net/www/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
ldc "http"
invokestatic sun.net.www.http.HttpClient.newHttpProxy:(Ljava/lang/String;ILjava/lang/String;)Ljava/net/Proxy;
1: iload 4
iload 3
aload 5
2: 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 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 url Ljava/net/URL;
0 3 1 proxyHost Ljava/lang/String;
0 3 2 proxyPort I
0 3 3 useCache Z
0 3 4 to I
0 3 5 httpuc Lsun/net/www/protocol/http/HttpURLConnection;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
proxyHost
proxyPort
useCache
to
httpuc
public final java.lang.String getAuthenticatorKey();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.authenticatorKey:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc "default"
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/http/HttpClient;
1 3 1 k Ljava/lang/String;
public void finished();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.reuse:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.net.www.http.HttpClient.keepAliveConnections:I
iconst_1
isub
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
3: aload 0
aconst_null
putfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
4: aload 0
getfield sun.net.www.http.HttpClient.keepAliveConnections:I
ifle 8
aload 0
invokevirtual sun.net.www.http.HttpClient.isKeepingAlive:()Z
ifeq 8
5: aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.checkError:()Z
ifne 8
6: aload 0
invokevirtual sun.net.www.http.HttpClient.putInKeepAliveCache:()V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/http/HttpClient;
protected synchronized boolean available();
descriptor: ()Z
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=3, locals=6, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: iconst_m1
istore 2
start local 2 2: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
invokevirtual java.net.Socket.getSoTimeout:()I
istore 2
3: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
iconst_1
invokevirtual java.net.Socket.setSoTimeout:(I)V
4: new java.io.BufferedInputStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
5: astore 3
start local 3 6: aload 3
invokevirtual java.io.BufferedInputStream.read:()I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpne 19
8: ldc "HttpClient.available(): read returned -1: not available"
invokestatic sun.net.www.http.HttpClient.logFinest:(Ljava/lang/String;)V
9: iconst_0
istore 1
end local 4 end local 3 10: goto 19
StackMap locals: sun.net.www.http.HttpClient int int
StackMap stack: java.net.SocketTimeoutException
11: pop
12: ldc "HttpClient.available(): SocketTimeout: its available"
invokestatic sun.net.www.http.HttpClient.logFinest:(Ljava/lang/String;)V
13: iload 2
iconst_m1
if_icmpeq 25
14: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
iload 2
invokevirtual java.net.Socket.setSoTimeout:(I)V
goto 25
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
16: iload 2
iconst_m1
if_icmpeq 18
17: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
iload 2
invokevirtual java.net.Socket.setSoTimeout:(I)V
18: StackMap locals: sun.net.www.http.HttpClient int int top top java.lang.Throwable
StackMap stack:
aload 5
athrow
19: StackMap locals: sun.net.www.http.HttpClient int int
StackMap stack:
iload 2
iconst_m1
if_icmpeq 25
20: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
iload 2
invokevirtual java.net.Socket.setSoTimeout:(I)V
21: goto 25
StackMap locals:
StackMap stack: java.io.IOException
22: pop
23: ldc "HttpClient.available(): SocketException: not available"
invokestatic sun.net.www.http.HttpClient.logFinest:(Ljava/lang/String;)V
24: iconst_0
istore 1
25: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/net/www/http/HttpClient;
1 26 1 available Z
2 26 2 old I
6 10 3 tmpbuf Ljava/io/BufferedInputStream;
7 10 4 r I
Exception table:
from to target type
2 10 11 Class java.net.SocketTimeoutException
2 13 15 any
2 21 22 Class java.io.IOException
protected synchronized void putInKeepAliveCache();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.inCache:Z
ifeq 3
1: getstatic sun.net.www.http.HttpClient.$assertionsDisabled:Z
ifne 2
new java.lang.AssertionError
dup
ldc "Duplicate put to keep alive cache"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.http.HttpClient.inCache:Z
4: getstatic sun.net.www.http.HttpClient.kac:Lsun/net/www/http/KeepAliveCache;
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
aconst_null
aload 0
invokevirtual sun.net.www.http.KeepAliveCache.put:(Ljava/net/URL;Ljava/lang/Object;Lsun/net/www/http/HttpClient;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/http/HttpClient;
protected synchronized boolean isInKeepAliveCache();
descriptor: ()Z
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.inCache:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public void closeIdleConnection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.net.www.http.HttpClient.kac:Lsun/net/www/http/KeepAliveCache;
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
aconst_null
invokevirtual sun.net.www.http.KeepAliveCache.get:(Ljava/net/URL;Ljava/lang/Object;)Lsun/net/www/http/HttpClient;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
3: StackMap locals: sun.net.www.http.HttpClient
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/http/HttpClient;
1 4 1 http Lsun/net/www/http/HttpClient;
public void openServer(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
iload 2
invokevirtual sun.net.www.http.HttpClient.doConnect:(Ljava/lang/String;I)Ljava/net/Socket;
putfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
1: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
astore 3
start local 3 2: aload 0
getfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
ifnull 4
3: new sun.net.www.http.HttpCaptureOutputStream
dup
aload 3
aload 0
getfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
invokespecial sun.net.www.http.HttpCaptureOutputStream.<init>:(Ljava/io/OutputStream;Lsun/net/www/http/HttpCapture;)V
astore 3
4: StackMap locals: java.io.OutputStream
StackMap stack:
aload 0
new java.io.PrintStream
dup
5: new java.io.BufferedOutputStream
dup
aload 3
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
6: iconst_0
getstatic sun.net.www.http.HttpClient.encoding:Ljava/lang/String;
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;ZLjava/lang/String;)V
7: putfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
end local 3 8: goto 11
StackMap locals: sun.net.www.http.HttpClient java.lang.String int
StackMap stack: java.io.UnsupportedEncodingException
9: astore 3
start local 3 10: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
getstatic sun.net.www.http.HttpClient.encoding:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " encoding not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
iconst_1
invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/www/http/HttpClient;
0 13 1 server Ljava/lang/String;
0 13 2 port I
2 8 3 out Ljava/io/OutputStream;
10 11 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
1 8 9 Class java.io.UnsupportedEncodingException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
server
port
public boolean needsTunneling();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public synchronized boolean isCachedConnection();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.cachedHttpClient:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public void afterConnect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
Exceptions:
throws java.io.IOException, java.net.UnknownHostException
private synchronized void privilegedOpenServer(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new sun.net.www.http.HttpClient$1
dup
aload 0
aload 1
invokespecial sun.net.www.http.HttpClient$1.<init>:(Lsun/net/www/http/HttpClient;Ljava/net/InetSocketAddress;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
2: goto 5
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
3: astore 2
start local 2 4: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/http/HttpClient;
0 6 1 server Ljava/net/InetSocketAddress;
4 5 2 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 2 3 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
server final
private void superOpenServer(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
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
iload 2
invokespecial sun.net.NetworkClient.openServer:(Ljava/lang/String;I)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/http/HttpClient;
0 2 1 proxyHost Ljava/lang/String;
0 2 2 proxyPort I
Exceptions:
throws java.io.IOException, java.net.UnknownHostException
MethodParameters:
Name Flags
proxyHost final
proxyPort final
protected synchronized void openServer();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
getfield sun.net.www.http.HttpClient.host:Ljava/lang/String;
aload 0
getfield sun.net.www.http.HttpClient.port:I
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.keepingAlive:Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
ifnull 12
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
if_acmpne 12
8: aload 0
getfield sun.net.www.http.HttpClient.host:Ljava/lang/String;
invokestatic sun.net.www.URLConnection.setProxiedHost:(Ljava/lang/String;)V
9: aload 0
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual sun.net.www.http.HttpClient.privilegedOpenServer:(Ljava/net/InetSocketAddress;)V
10: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.usingProxy:Z
11: return
12: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.http.HttpClient.host:Ljava/lang/String;
aload 0
getfield sun.net.www.http.HttpClient.port:I
invokevirtual sun.net.www.http.HttpClient.openServer:(Ljava/lang/String;I)V
13: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.usingProxy:Z
14: return
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
ifnull 20
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
if_acmpne 20
16: aload 0
getfield sun.net.www.http.HttpClient.host:Ljava/lang/String;
invokestatic sun.net.www.URLConnection.setProxiedHost:(Ljava/lang/String;)V
17: aload 0
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual sun.net.www.http.HttpClient.privilegedOpenServer:(Ljava/net/InetSocketAddress;)V
18: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.usingProxy:Z
19: return
20: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.http.HttpClient.host:Ljava/lang/String;
aload 0
getfield sun.net.www.http.HttpClient.port:I
invokespecial sun.net.NetworkClient.openServer:(Ljava/lang/String;I)V
21: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.usingProxy:Z
22: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/net/www/http/HttpClient;
1 23 1 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
public java.lang.String getURLFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 14
aload 0
getfield sun.net.www.http.HttpClient.proxyDisabled:Z
ifne 14
1: new java.lang.StringBuilder
dup
sipush 128
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 2: aload 2
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getAuthority:()Ljava/lang/String;
ifnull 7
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getAuthority:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 7
5: aload 2
ldc "//"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getAuthority:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: sun.net.www.http.HttpClient top java.lang.StringBuilder
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
ifnull 9
8: aload 2
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getQuery:()Ljava/lang/String;
ifnull 12
10: aload 2
bipush 63
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: aload 2
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getQuery:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 2 start local 1 13: goto 20
end local 1 14: StackMap locals: sun.net.www.http.HttpClient
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 1
start local 1 15: aload 1
ifnull 16
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 18
16: StackMap locals: java.lang.String
StackMap stack:
ldc "/"
astore 1
17: goto 20
StackMap locals:
StackMap stack:
18: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 63
if_icmpne 20
19: new java.lang.StringBuilder
dup
ldc "/"
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;
astore 1
20: StackMap locals:
StackMap stack:
aload 1
bipush 10
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 22
21: aload 1
areturn
22: StackMap locals:
StackMap stack:
new java.net.MalformedURLException
dup
ldc "Illegal character in URL"
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/net/www/http/HttpClient;
13 14 1 fileName Ljava/lang/String;
15 23 1 fileName Ljava/lang/String;
2 13 2 result Ljava/lang/StringBuilder;
Exceptions:
throws java.io.IOException
public void (sun.net.www.MessageHeader);
descriptor: (Lsun/net/www/MessageHeader;)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.http.HttpClient.requests:Lsun/net/www/MessageHeader;
1: aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
2: aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/http/HttpClient;
0 4 1 head Lsun/net/www/MessageHeader;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
head
public void (sun.net.www.MessageHeader, sun.net.www.http.PosterOutputStream);
descriptor: (Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
1: aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
2: aload 0
aload 2
putfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
3: aload 0
getfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
ifnull 5
4: aload 0
getfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
invokevirtual sun.net.www.http.PosterOutputStream.writeTo:(Ljava/io/OutputStream;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/www/http/HttpClient;
0 7 1 head Lsun/net/www/MessageHeader;
0 7 2 pos Lsun/net/www/http/PosterOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
head
pos
public void (sun.net.www.MessageHeader, sun.net.www.http.PosterOutputStream, boolean);
descriptor: (Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
putfield sun.net.www.http.HttpClient.streaming:Z
1: aload 0
aload 1
aload 2
invokevirtual sun.net.www.http.HttpClient.writeRequests:(Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;)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/http/HttpClient;
0 3 1 head Lsun/net/www/MessageHeader;
0 3 2 pos Lsun/net/www/http/PosterOutputStream;
0 3 3 streaming Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
head
pos
streaming
public boolean (sun.net.www.MessageHeader, sun.net.ProgressSource, sun.net.www.protocol.http.HttpURLConnection);
descriptor: (Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
1: aload 0
getfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
ifnull 3
2: aload 0
new sun.net.www.http.HttpCaptureInputStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
aload 0
getfield sun.net.www.http.HttpClient.capture:Lsun/net/www/http/HttpCapture;
invokespecial sun.net.www.http.HttpCaptureInputStream.<init>:(Ljava/io/InputStream;Lsun/net/www/http/HttpCapture;)V
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
3: StackMap locals:
StackMap stack:
aload 0
new java.io.BufferedInputStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
4: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.net.www.http.HttpClient.parseHTTPHeader:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
5: ireturn
6: StackMap locals:
StackMap stack: java.net.SocketTimeoutException
astore 4
start local 4 7: aload 0
getfield sun.net.www.http.HttpClient.ignoreContinue:Z
ifeq 9
8: aload 0
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
9: StackMap locals: java.net.SocketTimeoutException
StackMap stack:
aload 4
athrow
end local 4 10: StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection
StackMap stack: java.io.IOException
astore 4
start local 4 11: aload 0
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
12: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.cachedHttpClient:Z
13: aload 0
getfield sun.net.www.http.HttpClient.failedOnce:Z
ifne 27
aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
ifnull 27
14: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.failedOnce:Z
15: aload 0
invokevirtual sun.net.www.http.HttpClient.getRequestMethod:()Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
16: aload 0
getfield sun.net.www.http.HttpClient.streaming:Z
ifne 27
17: aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestMethod:()Ljava/lang/String;
ldc "POST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
18: getstatic sun.net.www.http.HttpClient.retryPostProp:Z
ifeq 27
19: StackMap locals: java.io.IOException
StackMap stack:
aload 0
invokevirtual sun.net.www.http.HttpClient.openServer:()V
20: aload 0
invokevirtual sun.net.www.http.HttpClient.needsTunneling:()Z
ifeq 24
21: aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
astore 5
start local 5 22: aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.doTunneling:()V
23: aload 0
aload 5
putfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
end local 5 24: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.http.HttpClient.afterConnect:()V
25: aload 0
aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
invokevirtual sun.net.www.http.HttpClient.writeRequests:(Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;)V
26: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.net.www.http.HttpClient.parseHTTP:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
ireturn
27: StackMap locals:
StackMap stack:
aload 4
athrow
end local 4 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/http/HttpClient;
0 28 1 responses Lsun/net/www/MessageHeader;
0 28 2 pi Lsun/net/ProgressSource;
0 28 3 httpuc Lsun/net/www/protocol/http/HttpURLConnection;
7 10 4 stex Ljava/net/SocketTimeoutException;
11 28 4 e Ljava/io/IOException;
22 24 5 origRequests Lsun/net/www/MessageHeader;
Exception table:
from to target type
0 5 6 Class java.net.SocketTimeoutException
0 5 10 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
responses
pi
httpuc
private boolean (sun.net.www.MessageHeader, sun.net.ProgressSource, sun.net.www.protocol.http.HttpURLConnection);
descriptor: (Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_m1
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
1: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.keepAliveTimeout:I
2: iconst_0
istore 4
start local 4 3: bipush 8
newarray 8
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
bipush 10
invokevirtual java.io.InputStream.mark:(I)V
6: goto 11
7: StackMap locals: int byte[] int
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
aload 5
iload 6
bipush 8
iload 6
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 7
start local 7 8: iload 7
ifge 10
9: goto 12
10: StackMap locals: int
StackMap stack:
iload 6
iload 7
iadd
istore 6
end local 7 11: StackMap locals:
StackMap stack:
iload 6
bipush 8
if_icmplt 7
12: StackMap locals:
StackMap stack:
aconst_null
astore 7
start local 7 13: aconst_null
astore 8
start local 8 14: aload 5
iconst_0
baload
bipush 72
if_icmpne 18
aload 5
iconst_1
baload
bipush 84
if_icmpne 18
15: aload 5
iconst_2
baload
bipush 84
if_icmpne 18
aload 5
iconst_3
baload
bipush 80
if_icmpne 18
aload 5
iconst_4
baload
bipush 47
if_icmpne 18
16: aload 5
iconst_5
baload
bipush 49
if_icmpne 18
aload 5
bipush 6
baload
bipush 46
if_icmpne 18
17: iconst_1
goto 19
StackMap locals: java.lang.String java.lang.String
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 4
20: aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
21: iload 4
ifeq 74
22: aload 1
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
invokevirtual sun.net.www.MessageHeader.parseHeader:(Ljava/io/InputStream;)V
23: aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getCookieHandler:()Ljava/net/CookieHandler;
astore 9
start local 9 24: aload 9
ifnull 28
25: aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokestatic sun.net.www.ParseUtil.toURI:(Ljava/net/URL;)Ljava/net/URI;
astore 10
start local 10 26: aload 10
ifnull 28
27: aload 9
aload 10
aload 1
invokevirtual sun.net.www.MessageHeader.getHeaders:()Ljava/util/Map;
invokevirtual java.net.CookieHandler.put:(Ljava/net/URI;Ljava/util/Map;)V
end local 10 28: StackMap locals: java.net.CookieHandler
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 31
29: aload 1
ldc "Proxy-Connection"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 7
30: aload 1
ldc "Proxy-Authenticate"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 8
31: StackMap locals:
StackMap stack:
aload 7
ifnonnull 34
32: aload 1
ldc "Connection"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 7
33: aload 1
ldc "WWW-Authenticate"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 8
34: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
ifeq 35
iconst_0
goto 36
StackMap locals:
StackMap stack:
35: iconst_1
StackMap locals:
StackMap stack: int
36: istore 10
start local 10 37: iload 10
ifeq 51
getstatic sun.net.www.http.HttpClient.cacheNTLMProp:Z
ifeq 38
getstatic sun.net.www.http.HttpClient.cacheSPNEGOProp:Z
ifne 51
38: StackMap locals: int
StackMap stack:
aload 8
ifnull 51
39: aload 8
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 8
40: getstatic sun.net.www.http.HttpClient.cacheNTLMProp:Z
ifne 44
41: iload 10
aload 8
ldc "ntlm "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 42
iconst_0
goto 43
StackMap locals:
StackMap stack: int
42: iconst_1
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int
StackMap stack: int int
43: iand
istore 10
44: StackMap locals:
StackMap stack:
getstatic sun.net.www.http.HttpClient.cacheSPNEGOProp:Z
ifne 51
45: iload 10
aload 8
ldc "negotiate "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 46
iconst_0
goto 47
StackMap locals:
StackMap stack: int
46: iconst_1
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int
StackMap stack: int int
47: iand
istore 10
48: iload 10
aload 8
ldc "kerberos "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 49
iconst_0
goto 50
StackMap locals:
StackMap stack: int
49: iconst_1
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int
StackMap stack: int int
50: iand
istore 10
51: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
iload 10
ifeq 52
iconst_0
goto 53
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int
StackMap stack: sun.net.www.http.HttpClient int
52: iconst_1
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int
StackMap stack: sun.net.www.http.HttpClient int int
53: ior
putfield sun.net.www.http.HttpClient.disableKeepAlive:Z
54: aload 7
ifnull 68
aload 7
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "keep-alive"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 68
55: aload 0
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
ifeq 58
56: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
57: goto 97
58: StackMap locals:
StackMap stack:
new sun.net.www.HeaderParser
dup
59: aload 1
ldc "Keep-Alive"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
60: invokespecial sun.net.www.HeaderParser.<init>:(Ljava/lang/String;)V
astore 11
start local 11 61: aload 0
aload 11
ldc "max"
aload 0
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 62
bipush 50
goto 63
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int sun.net.www.HeaderParser
StackMap stack: sun.net.www.http.HttpClient sun.net.www.HeaderParser java.lang.String
62: iconst_5
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int sun.net.www.HeaderParser
StackMap stack: sun.net.www.http.HttpClient sun.net.www.HeaderParser java.lang.String int
63: invokevirtual sun.net.www.HeaderParser.findInt:(Ljava/lang/String;I)I
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
64: aload 0
aload 11
ldc "timeout"
aload 0
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 65
bipush 60
goto 66
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int sun.net.www.HeaderParser
StackMap stack: sun.net.www.http.HttpClient sun.net.www.HeaderParser java.lang.String
65: iconst_5
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int java.lang.String java.lang.String java.net.CookieHandler int sun.net.www.HeaderParser
StackMap stack: sun.net.www.http.HttpClient sun.net.www.HeaderParser java.lang.String int
66: invokevirtual sun.net.www.HeaderParser.findInt:(Ljava/lang/String;I)I
putfield sun.net.www.http.HttpClient.keepAliveTimeout:I
end local 11 67: goto 97
StackMap locals:
StackMap stack:
68: aload 5
bipush 7
baload
bipush 48
if_icmpeq 97
69: aload 7
ifnonnull 70
aload 0
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
ifeq 72
70: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
71: goto 97
72: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
end local 10 end local 9 73: goto 97
StackMap locals:
StackMap stack:
74: iload 6
bipush 8
if_icmpeq 93
75: aload 0
getfield sun.net.www.http.HttpClient.failedOnce:Z
ifne 92
aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
ifnull 92
76: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.failedOnce:Z
77: aload 0
invokevirtual sun.net.www.http.HttpClient.getRequestMethod:()Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 92
78: aload 0
getfield sun.net.www.http.HttpClient.streaming:Z
ifne 92
79: aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.getRequestMethod:()Ljava/lang/String;
ldc "POST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
80: getstatic sun.net.www.http.HttpClient.retryPostProp:Z
ifeq 92
81: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
82: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.cachedHttpClient:Z
83: aload 0
invokevirtual sun.net.www.http.HttpClient.openServer:()V
84: aload 0
invokevirtual sun.net.www.http.HttpClient.needsTunneling:()Z
ifeq 88
85: aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
astore 9
start local 9 86: aload 3
invokevirtual sun.net.www.protocol.http.HttpURLConnection.doTunneling:()V
87: aload 0
aload 9
putfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
end local 9 88: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.http.HttpClient.afterConnect:()V
89: aload 0
aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.http.HttpClient.poster:Lsun/net/www/http/PosterOutputStream;
invokevirtual sun.net.www.http.HttpClient.writeRequests:(Lsun/net/www/MessageHeader;Lsun/net/www/http/PosterOutputStream;)V
90: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.net.www.http.HttpClient.parseHTTP:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
91: ireturn
92: StackMap locals:
StackMap stack:
new java.net.SocketException
dup
ldc "Unexpected end of file from server"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
athrow
93: StackMap locals:
StackMap stack:
aload 1
ldc "Content-type"
ldc "unknown/unknown"
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 8 end local 7 end local 6 94: goto 97
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[]
StackMap stack: java.io.IOException
95: astore 6
start local 6 96: aload 6
athrow
end local 6 97: StackMap locals:
StackMap stack:
iconst_m1
istore 6
start local 6 98: aload 1
iconst_0
invokevirtual sun.net.www.MessageHeader.getValue:(I)Ljava/lang/String;
astore 7
start local 7 99: aload 7
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
istore 8
start local 8 100: goto 102
101: StackMap locals: int java.lang.String int
StackMap stack:
iinc 8 1
102: StackMap locals:
StackMap stack:
aload 7
iload 8
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 101
103: aload 7
iload 8
iload 8
iconst_3
iadd
bipush 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/CharSequence;III)I
istore 6
end local 8 end local 7 104: goto 106
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int
StackMap stack: java.lang.Exception
105: pop
106: StackMap locals:
StackMap stack:
iload 6
bipush 100
if_icmpne 109
aload 0
getfield sun.net.www.http.HttpClient.ignoreContinue:Z
ifeq 109
107: aload 1
invokevirtual sun.net.www.MessageHeader.reset:()V
108: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.net.www.http.HttpClient.parseHTTPHeader:(Lsun/net/www/MessageHeader;Lsun/net/ProgressSource;Lsun/net/www/protocol/http/HttpURLConnection;)Z
ireturn
109: StackMap locals:
StackMap stack:
ldc -1
lstore 7
start local 7 110: aload 1
ldc "Transfer-Encoding"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 111: aload 9
ifnull 122
aload 9
ldc "chunked"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 122
112: aload 0
new sun.net.www.http.ChunkedInputStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
aload 0
aload 1
invokespecial sun.net.www.http.ChunkedInputStream.<init>:(Ljava/io/InputStream;Lsun/net/www/http/HttpClient;Lsun/net/www/MessageHeader;)V
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
113: aload 0
getfield sun.net.www.http.HttpClient.keepAliveConnections:I
iconst_1
if_icmpgt 117
114: aload 0
iconst_1
putfield sun.net.www.http.HttpClient.keepAliveConnections:I
115: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.keepingAlive:Z
116: goto 120
117: StackMap locals: long java.lang.String
StackMap stack:
aload 0
aload 0
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
ifeq 118
iconst_0
goto 119
StackMap locals:
StackMap stack: sun.net.www.http.HttpClient
118: iconst_1
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int long java.lang.String
StackMap stack: sun.net.www.http.HttpClient int
119: putfield sun.net.www.http.HttpClient.keepingAlive:Z
120: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.net.www.http.HttpClient.failedOnce:Z
121: goto 145
122: StackMap locals:
StackMap stack:
aload 1
ldc "content-length"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 123: aload 10
ifnull 128
124: aload 10
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 7
125: goto 128
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int long java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
126: pop
127: ldc -1
lstore 7
128: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
iconst_0
invokevirtual sun.net.www.MessageHeader.getKey:(I)Ljava/lang/String;
astore 11
start local 11 129: aload 11
ifnull 131
130: aload 11
ldc "HEAD"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 133
131: StackMap locals: java.lang.String
StackMap stack:
iload 6
sipush 304
if_icmpeq 133
132: iload 6
sipush 204
if_icmpne 134
133: StackMap locals:
StackMap stack:
lconst_0
lstore 7
134: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.keepAliveConnections:I
iconst_1
if_icmple 143
135: lload 7
lconst_0
lcmp
ifge 138
136: iload 6
sipush 304
if_icmpeq 138
137: iload 6
sipush 204
if_icmpne 143
138: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
ifeq 139
iconst_0
goto 140
StackMap locals:
StackMap stack: sun.net.www.http.HttpClient
139: iconst_1
StackMap locals: sun.net.www.http.HttpClient sun.net.www.MessageHeader sun.net.ProgressSource sun.net.www.protocol.http.HttpURLConnection int byte[] int long java.lang.String java.lang.String java.lang.String
StackMap stack: sun.net.www.http.HttpClient int
140: putfield sun.net.www.http.HttpClient.keepingAlive:Z
141: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.failedOnce:Z
142: goto 145
StackMap locals:
StackMap stack:
143: aload 0
getfield sun.net.www.http.HttpClient.keepingAlive:Z
ifeq 145
144: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.keepingAlive:Z
end local 11 end local 10 145: StackMap locals:
StackMap stack:
lload 7
lconst_0
lcmp
ifle 158
146: aload 2
ifnull 148
147: aload 2
aload 1
ldc "content-type"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.net.ProgressSource.setContentType:(Ljava/lang/String;)V
148: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.http.HttpClient.isKeepingAlive:()Z
ifne 149
aload 0
getfield sun.net.www.http.HttpClient.disableKeepAlive:Z
ifne 149
iconst_0
goto 150
StackMap locals:
StackMap stack:
149: iconst_1
StackMap locals:
StackMap stack: int
150: istore 10
start local 10 151: iload 10
ifeq 156
152: new java.lang.StringBuilder
dup
ldc "KeepAlive stream used: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.www.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.net.www.http.HttpClient.logFinest:(Ljava/lang/String;)V
153: aload 0
new sun.net.www.http.KeepAliveStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
aload 2
lload 7
aload 0
invokespecial sun.net.www.http.KeepAliveStream.<init>:(Ljava/io/InputStream;Lsun/net/ProgressSource;JLsun/net/www/http/HttpClient;)V
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
154: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.failedOnce:Z
155: goto 165
156: StackMap locals: int
StackMap stack:
aload 0
new sun.net.www.MeteredStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
aload 2
lload 7
invokespecial sun.net.www.MeteredStream.<init>:(Ljava/io/InputStream;Lsun/net/ProgressSource;J)V
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
end local 10 157: goto 165
158: StackMap locals:
StackMap stack:
lload 7
ldc -1
lcmp
ifne 163
159: aload 2
ifnull 165
160: aload 2
aload 1
ldc "content-type"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.net.ProgressSource.setContentType:(Ljava/lang/String;)V
161: aload 0
new sun.net.www.MeteredStream
dup
aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
aload 2
lload 7
invokespecial sun.net.www.MeteredStream.<init>:(Ljava/io/InputStream;Lsun/net/ProgressSource;J)V
putfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
162: goto 165
163: StackMap locals:
StackMap stack:
aload 2
ifnull 165
164: aload 2
invokevirtual sun.net.ProgressSource.finishTracking:()V
165: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 9 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 166 0 this Lsun/net/www/http/HttpClient;
0 166 1 responses Lsun/net/www/MessageHeader;
0 166 2 pi Lsun/net/ProgressSource;
0 166 3 httpuc Lsun/net/www/protocol/http/HttpURLConnection;
3 166 4 ret Z
4 166 5 b [B
5 94 6 nread I
8 11 7 r I
13 94 7 keep Ljava/lang/String;
14 94 8 authenticate Ljava/lang/String;
24 73 9 cookieHandler Ljava/net/CookieHandler;
26 28 10 uri Ljava/net/URI;
37 73 10 canKeepAlive Z
61 67 11 p Lsun/net/www/HeaderParser;
86 88 9 origRequests Lsun/net/www/MessageHeader;
96 97 6 e Ljava/io/IOException;
98 166 6 code I
99 104 7 resp Ljava/lang/String;
100 104 8 ind I
110 166 7 cl J
111 166 9 te Ljava/lang/String;
123 145 10 cls Ljava/lang/String;
129 145 11 requestLine Ljava/lang/String;
151 157 10 useKeepAliveStream Z
Exception table:
from to target type
4 91 95 Class java.io.IOException
92 94 95 Class java.io.IOException
98 104 105 Class java.lang.Exception
124 125 126 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
responses
pi
httpuc
public synchronized java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.serverInput:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.serverOutput:Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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.http.HttpClient.url:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
public final boolean isKeepingAlive();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.http.HttpClient.getHttpKeepAliveSet:()Z
ifeq 1
aload 0
getfield sun.net.www.http.HttpClient.keepingAlive:Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/http/HttpClient;
public void setCacheRequest(java.net.CacheRequest);
descriptor: (Ljava/net/CacheRequest;)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.http.HttpClient.cacheRequest:Ljava/net/CacheRequest;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/http/HttpClient;
0 2 1 cacheRequest Ljava/net/CacheRequest;
MethodParameters:
Name Flags
cacheRequest
java.net.CacheRequest getCacheRequest();
descriptor: ()Ljava/net/CacheRequest;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.cacheRequest:Ljava/net/CacheRequest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/HttpClient;
java.lang.String getRequestMethod();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
ifnull 4
1: aload 0
getfield sun.net.www.http.HttpClient.requests:Lsun/net/www/MessageHeader;
iconst_0
invokevirtual sun.net.www.MessageHeader.getKey:(I)Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
ldc "\\s+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
iconst_0
aaload
areturn
end local 1 4: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/http/HttpClient;
2 4 1 requestLine Ljava/lang/String;
public void setDoNotRetry(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.net.www.http.HttpClient.failedOnce:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/http/HttpClient;
0 2 1 value Z
MethodParameters:
Name Flags
value
public void setIgnoreContinue(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.net.www.http.HttpClient.ignoreContinue:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/http/HttpClient;
0 2 1 value Z
MethodParameters:
Name Flags
value
public void closeServer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.net.www.http.HttpClient.keepingAlive:Z
1: aload 0
getfield sun.net.www.http.HttpClient.serverSocket:Ljava/net/Socket;
invokevirtual java.net.Socket.close:()V
2: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
3: pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/http/HttpClient;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
public java.lang.String getProxyHostUsed();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/http/HttpClient;
public int getProxyPortUsed();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.http.HttpClient.usingProxy:Z
ifeq 2
1: aload 0
getfield sun.net.www.http.HttpClient.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getPort:()I
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/http/HttpClient;
}
SourceFile: "HttpClient.java"
NestMembers:
sun.net.www.http.HttpClient$1
InnerClasses:
public final Type = java.net.Proxy$Type of java.net.Proxy
sun.net.www.http.HttpClient$1
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