public abstract class java.net.URLConnection
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.net.URLConnection
super_class: java.lang.Object
{
protected java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
protected boolean doInput;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean doOutput;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private static boolean defaultAllowUserInteraction;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected boolean allowUserInteraction;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private static boolean defaultUseCaches;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected boolean useCaches;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected long ifModifiedSince;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected boolean connected;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private int connectTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int readTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
private static java.net.FileNameMap fileNameMap;
descriptor: Ljava/net/FileNameMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean fileNameMapLoaded;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static java.net.ContentHandlerFactory factory;
descriptor: Ljava/net/ContentHandlerFactory;
flags: (0x0008) ACC_STATIC
private static java.util.Hashtable<java.lang.String, java.net.ContentHandler> handlers;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/net/ContentHandler;>;
private static final java.lang.String contentClassPrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.net.www.content"
private static final java.lang.String contentPathProp;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.content.handler.pkgs"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
putstatic java.net.URLConnection.defaultAllowUserInteraction:Z
1: iconst_1
putstatic java.net.URLConnection.defaultUseCaches:Z
2: iconst_0
putstatic java.net.URLConnection.fileNameMapLoaded:Z
3: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic java.net.URLConnection.handlers:Ljava/util/Hashtable;
4: return
LocalVariableTable:
Start End Slot Name Signature
public static synchronized java.net.FileNameMap getFileNameMap();
descriptor: ()Ljava/net/FileNameMap;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic java.net.URLConnection.fileNameMap:Ljava/net/FileNameMap;
ifnonnull 3
getstatic java.net.URLConnection.fileNameMapLoaded:Z
ifne 3
1: invokestatic sun.net.www.MimeTable.loadTable:()Ljava/net/FileNameMap;
putstatic java.net.URLConnection.fileNameMap:Ljava/net/FileNameMap;
2: iconst_1
putstatic java.net.URLConnection.fileNameMapLoaded:Z
3: StackMap locals:
StackMap stack:
new java.net.URLConnection$1
dup
invokespecial java.net.URLConnection$1.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setFileNameMap(java.net.FileNameMap);
descriptor: (Ljava/net/FileNameMap;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, 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 2
aload 1
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic java.net.URLConnection.fileNameMap:Ljava/net/FileNameMap;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 map Ljava/net/FileNameMap;
1 4 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
map
public abstract void connect();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
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 "timeout can not be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.net.URLConnection.connectTimeout:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
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 java.net.URLConnection.connectTimeout:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
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 "timeout can not be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.net.URLConnection.readTimeout:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
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 java.net.URLConnection.readTimeout:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
protected void <init>(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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield java.net.URLConnection.doInput:Z
2: aload 0
iconst_0
putfield java.net.URLConnection.doOutput:Z
3: aload 0
getstatic java.net.URLConnection.defaultAllowUserInteraction:Z
putfield java.net.URLConnection.allowUserInteraction:Z
4: aload 0
getstatic java.net.URLConnection.defaultUseCaches:Z
putfield java.net.URLConnection.useCaches:Z
5: aload 0
lconst_0
putfield java.net.URLConnection.ifModifiedSince:J
6: aload 0
iconst_0
putfield java.net.URLConnection.connected:Z
7: aload 0
aload 1
putfield java.net.URLConnection.url:Ljava/net/URL;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/net/URLConnection;
0 9 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public java.net.URL getURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.url:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public int getContentLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URLConnection.getContentLengthLong:()J
lstore 1
start local 1 1: lload 1
ldc 2147483647
lcmp
ifle 3
2: iconst_m1
ireturn
3: StackMap locals: long
StackMap stack:
lload 1
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
1 4 1 l J
public long getContentLengthLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "content-length"
ldc -1
invokevirtual java.net.URLConnection.getHeaderFieldLong:(Ljava/lang/String;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "content-type"
invokevirtual java.net.URLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public java.lang.String getContentEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "content-encoding"
invokevirtual java.net.URLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public long getExpiration();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "expires"
lconst_0
invokevirtual java.net.URLConnection.getHeaderFieldDate:(Ljava/lang/String;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public long getDate();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "date"
lconst_0
invokevirtual java.net.URLConnection.getHeaderFieldDate:(Ljava/lang/String;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public long getLastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "last-modified"
lconst_0
invokevirtual java.net.URLConnection.getHeaderFieldDate:(Ljava/lang/String;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
0 1 1 name Ljava/lang/String;
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: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public int (java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.net.URLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
2: ireturn
3: StackMap locals: java.net.URLConnection java.lang.String int java.lang.String
StackMap stack: java.lang.Exception
pop
4: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/URLConnection;
0 5 1 name Ljava/lang/String;
0 5 2 Default I
1 5 3 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
name
Default
public long (java.lang.String, long);
descriptor: (Ljava/lang/String;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.net.URLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
2: lreturn
3: StackMap locals: java.net.URLConnection java.lang.String long java.lang.String
StackMap stack: java.lang.Exception
pop
4: lload 2
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/URLConnection;
0 5 1 name Ljava/lang/String;
0 5 2 Default J
1 5 4 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
name
Default
public long (java.lang.String, long);
descriptor: (Ljava/lang/String;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.net.URLConnection.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokestatic java.util.Date.parse:(Ljava/lang/String;)J
2: lreturn
3: StackMap locals: java.net.URLConnection java.lang.String long java.lang.String
StackMap stack: java.lang.Exception
pop
4: lload 2
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/URLConnection;
0 5 1 name Ljava/lang/String;
0 5 2 Default J
1 5 4 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
name
Default
public java.lang.String (int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
0 1 1 n I
MethodParameters:
Name Flags
n
public java.lang.String (int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
0 1 1 n I
MethodParameters:
Name Flags
n
public java.lang.Object getContent();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
pop
1: aload 0
invokevirtual java.net.URLConnection.getContentHandler:()Ljava/net/ContentHandler;
aload 0
invokevirtual java.net.ContentHandler.getContent:(Ljava/net/URLConnection;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URLConnection;
Exceptions:
throws java.io.IOException
public java.lang.Object getContent(java.lang.Class[]);
descriptor: ([Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
pop
1: aload 0
invokevirtual java.net.URLConnection.getContentHandler:()Ljava/net/ContentHandler;
aload 0
aload 1
invokevirtual java.net.ContentHandler.getContent:(Ljava/net/URLConnection;[Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URLConnection;
0 2 1 classes [Ljava/lang/Class;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
classes
public java.security.Permission getPermission();
descriptor: ()Ljava/security/Permission;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.util.SecurityConstants.ALL_PERMISSION:Ljava/security/AllPermission;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
Exceptions:
throws java.io.IOException
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.net.UnknownServiceException
dup
ldc "protocol doesn't support input"
invokespecial java.net.UnknownServiceException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
Exceptions:
throws java.io.IOException
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.net.UnknownServiceException
dup
ldc "protocol doesn't support output"
invokespecial java.net.UnknownServiceException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
Exceptions:
throws java.io.IOException
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 java.net.URLConnection.url:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 Ljava/net/URLConnection;
public void setDoInput(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URLConnection.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
iload 1
putfield java.net.URLConnection.doInput:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
0 4 1 doinput Z
MethodParameters:
Name Flags
doinput
public boolean getDoInput();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.doInput:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public void setDoOutput(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URLConnection.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
iload 1
putfield java.net.URLConnection.doOutput:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
0 4 1 dooutput Z
MethodParameters:
Name Flags
dooutput
public boolean getDoOutput();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.doOutput:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public void setAllowUserInteraction(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URLConnection.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
iload 1
putfield java.net.URLConnection.allowUserInteraction:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
0 4 1 allowuserinteraction Z
MethodParameters:
Name Flags
allowuserinteraction
public boolean getAllowUserInteraction();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.allowUserInteraction:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public static void setDefaultAllowUserInteraction(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
putstatic java.net.URLConnection.defaultAllowUserInteraction:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 defaultallowuserinteraction Z
MethodParameters:
Name Flags
defaultallowuserinteraction
public static boolean getDefaultAllowUserInteraction();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.net.URLConnection.defaultAllowUserInteraction:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void setUseCaches(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URLConnection.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
iload 1
putfield java.net.URLConnection.useCaches:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
0 4 1 usecaches Z
MethodParameters:
Name Flags
usecaches
public boolean getUseCaches();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.useCaches:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public void setIfModifiedSince(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URLConnection.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
lload 1
putfield java.net.URLConnection.ifModifiedSince:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URLConnection;
0 4 1 ifmodifiedsince J
MethodParameters:
Name Flags
ifmodifiedsince
public long getIfModifiedSince();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.ifModifiedSince:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public boolean getDefaultUseCaches();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.net.URLConnection.defaultUseCaches:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URLConnection;
public void setDefaultUseCaches(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
putstatic java.net.URLConnection.defaultUseCaches:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URLConnection;
0 2 1 defaultusecaches Z
MethodParameters:
Name Flags
defaultusecaches
public void setRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.net.URLConnection.connected:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already connected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "key is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
ifnonnull 6
5: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
6: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/net/URLConnection;
0 8 1 key Ljava/lang/String;
0 8 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public void addRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.net.URLConnection.connected:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already connected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "key is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
ifnonnull 6
5: aload 0
new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
putfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
6: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
aload 1
aload 2
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/net/URLConnection;
0 8 1 key Ljava/lang/String;
0 8 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public java.lang.String getRequestProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URLConnection.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 java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URLConnection.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 5 0 this Ljava/net/URLConnection;
0 5 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> getRequestProperties();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URLConnection.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 java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
ifnonnull 4
3: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URLConnection.requests:Lsun/net/www/MessageHeader;
aconst_null
invokevirtual sun.net.www.MessageHeader.getHeaders:([Ljava/lang/String;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/URLConnection;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public static void setDefaultRequestProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 value Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
key
value
public static java.lang.String getDefaultRequestProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
key
public static synchronized void setContentHandlerFactory(java.net.ContentHandlerFactory);
descriptor: (Ljava/net/ContentHandlerFactory;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic java.net.URLConnection.factory:Ljava/net/ContentHandlerFactory;
ifnull 2
1: new java.lang.Error
dup
ldc "factory already defined"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic java.net.URLConnection.factory:Ljava/net/ContentHandlerFactory;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 fac Ljava/net/ContentHandlerFactory;
3 7 1 security Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
fac
synchronized java.net.ContentHandler getContentHandler();
descriptor: ()Ljava/net/ContentHandler;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.net.URLConnection.getContentType:()Ljava/lang/String;
invokevirtual java.net.URLConnection.stripOffParameters:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
ifnonnull 4
3: new java.net.UnknownServiceException
dup
ldc "no content-type"
invokespecial java.net.UnknownServiceException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String java.net.ContentHandler
StackMap stack:
getstatic java.net.URLConnection.handlers:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.ContentHandler
astore 2
5: aload 2
ifnull 9
6: aload 2
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Exception
pop
9: StackMap locals:
StackMap stack:
getstatic java.net.URLConnection.factory:Ljava/net/ContentHandlerFactory;
ifnull 11
10: getstatic java.net.URLConnection.factory:Ljava/net/ContentHandlerFactory;
aload 1
invokeinterface java.net.ContentHandlerFactory.createContentHandler:(Ljava/lang/String;)Ljava/net/ContentHandler;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 18
12: aload 0
aload 1
invokevirtual java.net.URLConnection.lookupContentHandlerClassFor:(Ljava/lang/String;)Ljava/net/ContentHandler;
astore 2
13: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
14: astore 3
start local 3 15: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
16: getstatic java.net.UnknownContentHandler.INSTANCE:Ljava/net/ContentHandler;
astore 2
end local 3 17: StackMap locals:
StackMap stack:
getstatic java.net.URLConnection.handlers:Ljava/util/Hashtable;
aload 1
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/net/URLConnection;
1 19 1 contentType Ljava/lang/String;
2 19 2 handler Ljava/net/ContentHandler;
15 17 3 e Ljava/lang/Exception;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
12 13 14 Class java.lang.Exception
Exceptions:
throws java.net.UnknownServiceException
private java.lang.String stripOffParameters(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
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:
aload 1
bipush 59
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 3: iload 2
ifle 5
4: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
5: StackMap locals: int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/net/URLConnection;
0 6 1 contentType Ljava/lang/String;
3 6 2 index I
MethodParameters:
Name Flags
contentType
private java.net.ContentHandler lookupContentHandlerClassFor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/ContentHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.net.URLConnection.typeToPackageName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokevirtual java.net.URLConnection.getContentHandlerPkgPrefixes:()Ljava/lang/String;
astore 3
start local 3 2: new java.util.StringTokenizer
dup
aload 3
ldc "|"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: astore 4
start local 4 4: goto 20
5: StackMap locals: java.lang.String java.lang.String java.util.StringTokenizer
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 6: new java.lang.StringBuilder
dup
aload 5
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 7: aconst_null
astore 7
start local 7 8: aload 6
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
9: goto 14
StackMap locals: java.net.URLConnection java.lang.String java.lang.String java.lang.String java.util.StringTokenizer java.lang.String java.lang.String java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
10: pop
11: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 8
start local 8 12: aload 8
ifnull 14
13: aload 8
aload 6
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
end local 8 14: StackMap locals:
StackMap stack:
aload 7
ifnull 20
15: aload 7
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.net.ContentHandler
16: astore 8
start local 8 17: aload 8
18: areturn
end local 8 end local 7 end local 6 19: StackMap locals: java.net.URLConnection java.lang.String java.lang.String java.lang.String java.util.StringTokenizer java.lang.String
StackMap stack: java.lang.Exception
pop
end local 5 20: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 5
21: getstatic java.net.UnknownContentHandler.INSTANCE:Ljava/net/ContentHandler;
areturn
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 Ljava/net/URLConnection;
0 22 1 contentType Ljava/lang/String;
1 22 2 contentHandlerClassName Ljava/lang/String;
2 22 3 contentHandlerPkgPrefixes Ljava/lang/String;
4 22 4 packagePrefixIter Ljava/util/StringTokenizer;
6 20 5 packagePrefix Ljava/lang/String;
7 19 6 clsName Ljava/lang/String;
8 19 7 cls Ljava/lang/Class<*>;
12 14 8 cl Ljava/lang/ClassLoader;
17 19 8 handler Ljava/net/ContentHandler;
Exception table:
from to target type
8 9 10 Class java.lang.ClassNotFoundException
6 18 19 Class java.lang.Exception
Exceptions:
throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
contentType
private java.lang.String typeToPackageName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 1
1: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: iload 2
newarray 5
astore 3
start local 3 3: aload 1
iconst_0
iload 2
aload 3
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
4: iconst_0
istore 4
start local 4 5: goto 15
6: StackMap locals: int char[] int
StackMap stack:
aload 3
iload 4
caload
istore 5
start local 5 7: iload 5
bipush 47
if_icmpne 10
8: aload 3
iload 4
bipush 46
castore
9: goto 14
StackMap locals: int
StackMap stack:
10: bipush 65
iload 5
if_icmpgt 11
iload 5
bipush 90
if_icmple 14
11: StackMap locals:
StackMap stack:
bipush 97
iload 5
if_icmpgt 12
iload 5
bipush 122
if_icmple 14
12: StackMap locals:
StackMap stack:
bipush 48
iload 5
if_icmpgt 13
iload 5
bipush 57
if_icmple 14
13: StackMap locals:
StackMap stack:
aload 3
iload 4
bipush 95
castore
end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 2
if_icmplt 6
end local 4 16: new java.lang.String
dup
aload 3
invokespecial java.lang.String.<init>:([C)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/net/URLConnection;
0 17 1 contentType Ljava/lang/String;
2 17 2 len I
3 17 3 nm [C
5 16 4 i I
7 14 5 c C
MethodParameters:
Name Flags
contentType
private java.lang.String getContentHandlerPkgPrefixes();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: new sun.security.action.GetPropertyAction
dup
ldc "java.content.handler.pkgs"
ldc ""
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 1
ldc ""
if_acmpeq 4
3: 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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: StackMap locals: 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 "sun.net.www.content"
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 5 0 this Ljava/net/URLConnection;
2 5 1 packagePrefixList Ljava/lang/String;
public static java.lang.String guessContentTypeFromName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.net.URLConnection.getFileNameMap:()Ljava/net/FileNameMap;
aload 0
invokeinterface java.net.FileNameMap.getContentTypeFor:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fname Ljava/lang/String;
MethodParameters:
Name Flags
fname
public static java.lang.String guessContentTypeFromStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=17, args_size=1
start local 0 0: aload 0
invokevirtual java.io.InputStream.markSupported:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 16
invokevirtual java.io.InputStream.mark:(I)V
3: aload 0
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 4: aload 0
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 5: aload 0
invokevirtual java.io.InputStream.read:()I
istore 3
start local 3 6: aload 0
invokevirtual java.io.InputStream.read:()I
istore 4
start local 4 7: aload 0
invokevirtual java.io.InputStream.read:()I
istore 5
start local 5 8: aload 0
invokevirtual java.io.InputStream.read:()I
istore 6
start local 6 9: aload 0
invokevirtual java.io.InputStream.read:()I
istore 7
start local 7 10: aload 0
invokevirtual java.io.InputStream.read:()I
istore 8
start local 8 11: aload 0
invokevirtual java.io.InputStream.read:()I
istore 9
start local 9 12: aload 0
invokevirtual java.io.InputStream.read:()I
istore 10
start local 10 13: aload 0
invokevirtual java.io.InputStream.read:()I
istore 11
start local 11 14: aload 0
invokevirtual java.io.InputStream.read:()I
istore 12
start local 12 15: aload 0
invokevirtual java.io.InputStream.read:()I
istore 13
start local 13 16: aload 0
invokevirtual java.io.InputStream.read:()I
istore 14
start local 14 17: aload 0
invokevirtual java.io.InputStream.read:()I
istore 15
start local 15 18: aload 0
invokevirtual java.io.InputStream.read:()I
istore 16
start local 16 19: aload 0
invokevirtual java.io.InputStream.reset:()V
20: iload 1
sipush 202
if_icmpne 22
iload 2
sipush 254
if_icmpne 22
iload 3
sipush 186
if_icmpne 22
iload 4
sipush 190
if_icmpne 22
21: ldc "application/java-vm"
areturn
22: StackMap locals: java.io.InputStream int int int int int int int int int int int int int int int int
StackMap stack:
iload 1
sipush 172
if_icmpne 24
iload 2
sipush 237
if_icmpne 24
23: ldc "application/x-java-serialized-object"
areturn
24: StackMap locals:
StackMap stack:
iload 1
bipush 60
if_icmpne 35
25: iload 2
bipush 33
if_icmpeq 32
26: iload 2
bipush 104
if_icmpne 28
iload 3
bipush 116
if_icmpne 27
iload 4
bipush 109
if_icmpne 27
iload 5
bipush 108
if_icmpeq 32
27: StackMap locals:
StackMap stack:
iload 3
bipush 101
if_icmpne 28
iload 4
bipush 97
if_icmpne 28
iload 5
bipush 100
if_icmpeq 32
28: StackMap locals:
StackMap stack:
iload 2
bipush 98
if_icmpne 29
iload 3
bipush 111
if_icmpne 29
iload 4
bipush 100
if_icmpne 29
iload 5
bipush 121
if_icmpeq 32
29: StackMap locals:
StackMap stack:
iload 2
bipush 72
if_icmpne 31
iload 3
bipush 84
if_icmpne 30
iload 4
bipush 77
if_icmpne 30
iload 5
bipush 76
if_icmpeq 32
30: StackMap locals:
StackMap stack:
iload 3
bipush 69
if_icmpne 31
iload 4
bipush 65
if_icmpne 31
iload 5
bipush 68
if_icmpeq 32
31: StackMap locals:
StackMap stack:
iload 2
bipush 66
if_icmpne 33
iload 3
bipush 79
if_icmpne 33
iload 4
bipush 68
if_icmpne 33
iload 5
bipush 89
if_icmpne 33
32: StackMap locals:
StackMap stack:
ldc "text/html"
areturn
33: StackMap locals:
StackMap stack:
iload 2
bipush 63
if_icmpne 35
iload 3
bipush 120
if_icmpne 35
iload 4
bipush 109
if_icmpne 35
iload 5
bipush 108
if_icmpne 35
iload 6
bipush 32
if_icmpne 35
34: ldc "application/xml"
areturn
35: StackMap locals:
StackMap stack:
iload 1
sipush 239
if_icmpne 38
iload 2
sipush 187
if_icmpne 38
iload 3
sipush 191
if_icmpne 38
36: iload 4
bipush 60
if_icmpne 38
iload 5
bipush 63
if_icmpne 38
iload 6
bipush 120
if_icmpne 38
37: ldc "application/xml"
areturn
38: StackMap locals:
StackMap stack:
iload 1
sipush 254
if_icmpne 42
iload 2
sipush 255
if_icmpne 42
39: iload 3
ifne 42
iload 4
bipush 60
if_icmpne 42
iload 5
ifne 42
iload 6
bipush 63
if_icmpne 42
40: iload 7
ifne 42
iload 8
bipush 120
if_icmpne 42
41: ldc "application/xml"
areturn
42: StackMap locals:
StackMap stack:
iload 1
sipush 255
if_icmpne 46
iload 2
sipush 254
if_icmpne 46
43: iload 3
bipush 60
if_icmpne 46
iload 4
ifne 46
iload 5
bipush 63
if_icmpne 46
iload 6
ifne 46
44: iload 7
bipush 120
if_icmpne 46
iload 8
ifne 46
45: ldc "application/xml"
areturn
46: StackMap locals:
StackMap stack:
iload 1
ifne 51
iload 2
ifne 51
iload 3
sipush 254
if_icmpne 51
iload 4
sipush 255
if_icmpne 51
47: iload 5
ifne 51
iload 6
ifne 51
iload 7
ifne 51
iload 8
bipush 60
if_icmpne 51
48: iload 9
ifne 51
iload 10
ifne 51
iload 11
ifne 51
iload 12
bipush 63
if_icmpne 51
49: iload 13
ifne 51
iload 14
ifne 51
iload 15
ifne 51
iload 16
bipush 120
if_icmpne 51
50: ldc "application/xml"
areturn
51: StackMap locals:
StackMap stack:
iload 1
sipush 255
if_icmpne 56
iload 2
sipush 254
if_icmpne 56
iload 3
ifne 56
iload 4
ifne 56
52: iload 5
bipush 60
if_icmpne 56
iload 6
ifne 56
iload 7
ifne 56
iload 8
ifne 56
53: iload 9
bipush 63
if_icmpne 56
iload 10
ifne 56
iload 11
ifne 56
iload 12
ifne 56
54: iload 13
bipush 120
if_icmpne 56
iload 14
ifne 56
iload 15
ifne 56
iload 16
ifne 56
55: ldc "application/xml"
areturn
56: StackMap locals:
StackMap stack:
iload 1
bipush 71
if_icmpne 58
iload 2
bipush 73
if_icmpne 58
iload 3
bipush 70
if_icmpne 58
iload 4
bipush 56
if_icmpne 58
57: ldc "image/gif"
areturn
58: StackMap locals:
StackMap stack:
iload 1
bipush 35
if_icmpne 60
iload 2
bipush 100
if_icmpne 60
iload 3
bipush 101
if_icmpne 60
iload 4
bipush 102
if_icmpne 60
59: ldc "image/x-bitmap"
areturn
60: StackMap locals:
StackMap stack:
iload 1
bipush 33
if_icmpne 63
iload 2
bipush 32
if_icmpne 63
iload 3
bipush 88
if_icmpne 63
iload 4
bipush 80
if_icmpne 63
61: iload 5
bipush 77
if_icmpne 63
iload 6
bipush 50
if_icmpne 63
62: ldc "image/x-pixmap"
areturn
63: StackMap locals:
StackMap stack:
iload 1
sipush 137
if_icmpne 67
iload 2
bipush 80
if_icmpne 67
iload 3
bipush 78
if_icmpne 67
64: iload 4
bipush 71
if_icmpne 67
iload 5
bipush 13
if_icmpne 67
iload 6
bipush 10
if_icmpne 67
65: iload 7
bipush 26
if_icmpne 67
iload 8
bipush 10
if_icmpne 67
66: ldc "image/png"
areturn
67: StackMap locals:
StackMap stack:
iload 1
sipush 255
if_icmpne 74
iload 2
sipush 216
if_icmpne 74
iload 3
sipush 255
if_icmpne 74
68: iload 4
sipush 224
if_icmpeq 69
iload 4
sipush 238
if_icmpne 70
69: StackMap locals:
StackMap stack:
ldc "image/jpeg"
areturn
70: StackMap locals:
StackMap stack:
iload 4
sipush 225
if_icmpne 74
71: iload 7
bipush 69
if_icmpne 74
iload 8
bipush 120
if_icmpne 74
iload 9
bipush 105
if_icmpne 74
iload 10
bipush 102
if_icmpne 74
72: iload 11
ifne 74
73: ldc "image/jpeg"
areturn
74: StackMap locals:
StackMap stack:
iload 1
sipush 208
if_icmpne 78
iload 2
sipush 207
if_icmpne 78
iload 3
bipush 17
if_icmpne 78
iload 4
sipush 224
if_icmpne 78
75: iload 5
sipush 161
if_icmpne 78
iload 6
sipush 177
if_icmpne 78
iload 7
bipush 26
if_icmpne 78
iload 8
sipush 225
if_icmpne 78
76: aload 0
invokestatic java.net.URLConnection.checkfpx:(Ljava/io/InputStream;)Z
ifeq 78
77: ldc "image/vnd.fpx"
areturn
78: StackMap locals:
StackMap stack:
iload 1
bipush 46
if_icmpne 80
iload 2
bipush 115
if_icmpne 80
iload 3
bipush 110
if_icmpne 80
iload 4
bipush 100
if_icmpne 80
79: ldc "audio/basic"
areturn
80: StackMap locals:
StackMap stack:
iload 1
bipush 100
if_icmpne 82
iload 2
bipush 110
if_icmpne 82
iload 3
bipush 115
if_icmpne 82
iload 4
bipush 46
if_icmpne 82
81: ldc "audio/basic"
areturn
82: StackMap locals:
StackMap stack:
iload 1
bipush 82
if_icmpne 84
iload 2
bipush 73
if_icmpne 84
iload 3
bipush 70
if_icmpne 84
iload 4
bipush 70
if_icmpne 84
83: ldc "audio/x-wav"
areturn
84: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 85 0 is Ljava/io/InputStream;
4 85 1 c1 I
5 85 2 c2 I
6 85 3 c3 I
7 85 4 c4 I
8 85 5 c5 I
9 85 6 c6 I
10 85 7 c7 I
11 85 8 c8 I
12 85 9 c9 I
13 85 10 c10 I
14 85 11 c11 I
15 85 12 c12 I
16 85 13 c13 I
17 85 14 c14 I
18 85 15 c15 I
19 85 16 c16 I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
private static boolean checkfpx(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: aload 0
sipush 256
invokevirtual java.io.InputStream.mark:(I)V
1: ldc 28
lstore 1
start local 1 2: aload 0
lload 1
invokestatic java.net.URLConnection.skipForward:(Ljava/io/InputStream;J)J
dup2
lstore 3
start local 3 3: lload 1
lcmp
ifge 6
4: aload 0
invokevirtual java.io.InputStream.reset:()V
5: iconst_0
ireturn
6: StackMap locals: long long
StackMap stack:
bipush 16
newarray 10
astore 5
start local 5 7: aload 5
iconst_2
aload 0
invokestatic java.net.URLConnection.readBytes:([IILjava/io/InputStream;)I
ifge 10
8: aload 0
invokevirtual java.io.InputStream.reset:()V
9: iconst_0
ireturn
10: StackMap locals: int[]
StackMap stack:
aload 5
iconst_0
iaload
istore 6
start local 6 11: lload 3
ldc 2
ladd
lstore 3
12: aload 5
iconst_2
aload 0
invokestatic java.net.URLConnection.readBytes:([IILjava/io/InputStream;)I
ifge 15
13: aload 0
invokevirtual java.io.InputStream.reset:()V
14: iconst_0
ireturn
15: StackMap locals: int
StackMap stack:
iload 6
sipush 254
if_icmpne 19
16: aload 5
iconst_0
iaload
istore 7
start local 7 17: iload 7
aload 5
iconst_1
iaload
bipush 8
ishl
iadd
istore 7
18: goto 21
end local 7 19: StackMap locals:
StackMap stack:
aload 5
iconst_0
iaload
bipush 8
ishl
istore 7
start local 7 20: iload 7
aload 5
iconst_1
iaload
iadd
istore 7
21: StackMap locals: int
StackMap stack:
lload 3
ldc 2
ladd
lstore 3
22: ldc 48
lload 3
lsub
lstore 1
23: lconst_0
lstore 8
start local 8 24: aload 0
lload 1
invokestatic java.net.URLConnection.skipForward:(Ljava/io/InputStream;J)J
dup2
lstore 8
lload 1
lcmp
ifge 27
25: aload 0
invokevirtual java.io.InputStream.reset:()V
26: iconst_0
ireturn
27: StackMap locals: long
StackMap stack:
lload 3
lload 8
ladd
lstore 3
28: aload 5
iconst_4
aload 0
invokestatic java.net.URLConnection.readBytes:([IILjava/io/InputStream;)I
ifge 31
29: aload 0
invokevirtual java.io.InputStream.reset:()V
30: iconst_0
ireturn
31: StackMap locals:
StackMap stack:
iload 6
sipush 254
if_icmpne 37
32: aload 5
iconst_0
iaload
istore 10
start local 10 33: iload 10
aload 5
iconst_1
iaload
bipush 8
ishl
iadd
istore 10
34: iload 10
aload 5
iconst_2
iaload
bipush 16
ishl
iadd
istore 10
35: iload 10
aload 5
iconst_3
iaload
bipush 24
ishl
iadd
istore 10
36: goto 41
end local 10 37: StackMap locals:
StackMap stack:
aload 5
iconst_0
iaload
bipush 24
ishl
istore 10
start local 10 38: iload 10
aload 5
iconst_1
iaload
bipush 16
ishl
iadd
istore 10
39: iload 10
aload 5
iconst_2
iaload
bipush 8
ishl
iadd
istore 10
40: iload 10
aload 5
iconst_3
iaload
iadd
istore 10
41: StackMap locals: int
StackMap stack:
lload 3
ldc 4
ladd
lstore 3
42: aload 0
invokevirtual java.io.InputStream.reset:()V
43: ldc 512
iconst_1
iload 7
ishl
i2l
iload 10
i2l
lmul
ladd
ldc 80
ladd
lstore 1
44: lload 1
lconst_0
lcmp
ifge 46
45: iconst_0
ireturn
46: StackMap locals:
StackMap stack:
aload 0
lload 1
l2i
bipush 48
iadd
invokevirtual java.io.InputStream.mark:(I)V
47: aload 0
lload 1
invokestatic java.net.URLConnection.skipForward:(Ljava/io/InputStream;J)J
lload 1
lcmp
ifge 50
48: aload 0
invokevirtual java.io.InputStream.reset:()V
49: iconst_0
ireturn
50: StackMap locals:
StackMap stack:
aload 5
bipush 16
aload 0
invokestatic java.net.URLConnection.readBytes:([IILjava/io/InputStream;)I
ifge 53
51: aload 0
invokevirtual java.io.InputStream.reset:()V
52: iconst_0
ireturn
53: StackMap locals:
StackMap stack:
iload 6
sipush 254
if_icmpne 61
54: aload 5
iconst_0
iaload
ifne 61
aload 5
iconst_2
iaload
bipush 97
if_icmpne 61
aload 5
iconst_3
iaload
bipush 86
if_icmpne 61
55: aload 5
iconst_4
iaload
bipush 84
if_icmpne 61
aload 5
iconst_5
iaload
sipush 193
if_icmpne 61
aload 5
bipush 6
iaload
sipush 206
if_icmpne 61
56: aload 5
bipush 7
iaload
bipush 17
if_icmpne 61
aload 5
bipush 8
iaload
sipush 133
if_icmpne 61
aload 5
bipush 9
iaload
bipush 83
if_icmpne 61
57: aload 5
bipush 10
iaload
ifne 61
aload 5
bipush 11
iaload
sipush 170
if_icmpne 61
aload 5
bipush 12
iaload
ifne 61
58: aload 5
bipush 13
iaload
sipush 161
if_icmpne 61
aload 5
bipush 14
iaload
sipush 249
if_icmpne 61
aload 5
bipush 15
iaload
bipush 91
if_icmpne 61
59: aload 0
invokevirtual java.io.InputStream.reset:()V
60: iconst_1
ireturn
61: StackMap locals:
StackMap stack:
aload 5
iconst_3
iaload
ifne 68
aload 5
iconst_1
iaload
bipush 97
if_icmpne 68
aload 5
iconst_0
iaload
bipush 86
if_icmpne 68
62: aload 5
iconst_5
iaload
bipush 84
if_icmpne 68
aload 5
iconst_4
iaload
sipush 193
if_icmpne 68
aload 5
bipush 7
iaload
sipush 206
if_icmpne 68
63: aload 5
bipush 6
iaload
bipush 17
if_icmpne 68
aload 5
bipush 8
iaload
sipush 133
if_icmpne 68
aload 5
bipush 9
iaload
bipush 83
if_icmpne 68
64: aload 5
bipush 10
iaload
ifne 68
aload 5
bipush 11
iaload
sipush 170
if_icmpne 68
aload 5
bipush 12
iaload
ifne 68
65: aload 5
bipush 13
iaload
sipush 161
if_icmpne 68
aload 5
bipush 14
iaload
sipush 249
if_icmpne 68
aload 5
bipush 15
iaload
bipush 91
if_icmpne 68
66: aload 0
invokevirtual java.io.InputStream.reset:()V
67: iconst_1
ireturn
68: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.InputStream.reset:()V
69: iconst_0
ireturn
end local 10 end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 70 0 is Ljava/io/InputStream;
2 70 1 toSkip J
3 70 3 posn J
7 70 5 c [I
11 70 6 byteOrder I
17 19 7 uSectorShift I
20 70 7 uSectorShift I
24 70 8 skipped J
33 37 10 sectDirStart I
38 70 10 sectDirStart I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
private static int readBytes(int[], int, java.io.InputStream);
descriptor: ([IILjava/io/InputStream;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
newarray 8
astore 3
start local 3 1: aload 2
aload 3
iconst_0
iload 1
invokevirtual java.io.InputStream.read:([BII)I
iload 1
if_icmpge 3
2: iconst_m1
ireturn
3: StackMap locals: byte[]
StackMap stack:
iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
iload 4
aload 3
iload 4
baload
sipush 255
iand
iastore
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 1
if_icmplt 5
end local 4 8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 c [I
0 9 1 len I
0 9 2 is Ljava/io/InputStream;
1 9 3 buf [B
4 8 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
len
is
private static long skipForward(java.io.InputStream, long);
descriptor: (Ljava/io/InputStream;J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: lconst_0
lstore 3
start local 3 1: lconst_0
lstore 5
start local 5 2: goto 9
3: StackMap locals: long long
StackMap stack:
aload 0
lload 1
lload 5
lsub
invokevirtual java.io.InputStream.skip:(J)J
lstore 3
4: lload 3
lconst_0
lcmp
ifgt 8
5: aload 0
invokevirtual java.io.InputStream.read:()I
iconst_m1
if_icmpne 7
6: lload 5
lreturn
7: StackMap locals:
StackMap stack:
lload 5
lconst_1
ladd
lstore 5
8: StackMap locals:
StackMap stack:
lload 5
lload 3
ladd
lstore 5
9: StackMap locals:
StackMap stack:
lload 5
lload 1
lcmp
ifne 3
10: lload 5
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 is Ljava/io/InputStream;
0 11 1 toSkip J
1 11 3 eachSkip J
2 11 5 skipped J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
toSkip
}
SourceFile: "URLConnection.java"
NestMembers:
java.net.URLConnection$1
InnerClasses:
java.net.URLConnection$1