class sun.net.www.protocol.gopher.GopherURLConnection extends sun.net.www.URLConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.www.protocol.gopher.GopherURLConnection
super_class: sun.net.www.URLConnection
{
java.security.Permission permission;
descriptor: Ljava/security/Permission;
flags: (0x0000)
void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
start local 1 // java.net.URL u
0: .line 81
aload 0 /* this */
aload 1 /* u */
invokespecial sun.net.www.URLConnection.<init>:(Ljava/net/URL;)V
1: .line 82
return
end local 1 // java.net.URL u
end local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/gopher/GopherURLConnection;
0 2 1 u Ljava/net/URL;
MethodParameters:
Name Flags
u
public void connect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
0: .line 85
return
end local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/gopher/GopherURLConnection;
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 // sun.net.www.protocol.gopher.GopherURLConnection this
0: .line 88
new sun.net.www.protocol.gopher.GopherClient
dup
aload 0 /* this */
invokespecial sun.net.www.protocol.gopher.GopherClient.<init>:(Lsun/net/www/URLConnection;)V
aload 0 /* this */
getfield sun.net.www.protocol.gopher.GopherURLConnection.url:Ljava/net/URL;
invokevirtual sun.net.www.protocol.gopher.GopherClient.openStream:(Ljava/net/URL;)Ljava/io/InputStream;
areturn
end local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/gopher/GopherURLConnection;
Exceptions:
throws java.io.IOException
public java.security.Permission getPermission();
descriptor: ()Ljava/security/Permission;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
0: .line 92
aload 0 /* this */
getfield sun.net.www.protocol.gopher.GopherURLConnection.permission:Ljava/security/Permission;
ifnonnull 7
1: .line 93
aload 0 /* this */
getfield sun.net.www.protocol.gopher.GopherURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 1 /* port */
start local 1 // int port
2: .line 94
iload 1 /* port */
ifge 3
bipush 70
goto 4
StackMap locals: int
StackMap stack:
3: iload 1 /* port */
StackMap locals:
StackMap stack: int
4: istore 1 /* port */
5: .line 95
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield sun.net.www.protocol.gopher.GopherURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()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 /* this */
getfield sun.net.www.protocol.gopher.GopherURLConnection.url:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2 /* host */
start local 2 // java.lang.String host
6: .line 96
aload 0 /* this */
new java.net.SocketPermission
dup
aload 2 /* host */
ldc "connect"
invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
putfield sun.net.www.protocol.gopher.GopherURLConnection.permission:Ljava/security/Permission;
end local 2 // java.lang.String host
end local 1 // int port
7: .line 98
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.net.www.protocol.gopher.GopherURLConnection.permission:Ljava/security/Permission;
areturn
end local 0 // sun.net.www.protocol.gopher.GopherURLConnection this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/net/www/protocol/gopher/GopherURLConnection;
2 7 1 port I
6 7 2 host Ljava/lang/String;
}
SourceFile: "Handler.java"