class sun.rmi.transport.proxy.HttpAwareServerSocket extends java.net.ServerSocket
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.transport.proxy.HttpAwareServerSocket
super_class: java.net.ServerSocket
{
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.net.ServerSocket.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/proxy/HttpAwareServerSocket;
0 2 1 port I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
port
public void <init>(int, int);
descriptor: (II)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
iload 1
iload 2
invokespecial java.net.ServerSocket.<init>:(II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/proxy/HttpAwareServerSocket;
0 2 1 port I
0 2 2 backlog I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
port
backlog
public java.net.Socket accept();
descriptor: ()Ljava/net/Socket;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokespecial java.net.ServerSocket.accept:()Ljava/net/Socket;
astore 1
start local 1 1: new java.io.BufferedInputStream
dup
aload 1
invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
2: astore 2
start local 2 3: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
4: ldc "socket accepted (checking for POST)"
5: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: aload 2
iconst_4
invokevirtual java.io.BufferedInputStream.mark:(I)V
7: aload 2
invokevirtual java.io.BufferedInputStream.read:()I
bipush 80
if_icmpne 12
8: aload 2
invokevirtual java.io.BufferedInputStream.read:()I
bipush 79
if_icmpne 12
9: aload 2
invokevirtual java.io.BufferedInputStream.read:()I
bipush 83
if_icmpne 12
10: aload 2
invokevirtual java.io.BufferedInputStream.read:()I
bipush 84
if_icmpne 12
11: iconst_1
goto 13
StackMap locals: java.net.Socket java.io.BufferedInputStream
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 3
start local 3 14: aload 2
invokevirtual java.io.BufferedInputStream.reset:()V
15: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 20
16: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
17: iload 3
ifeq 18
ldc "POST found, HTTP socket returned"
goto 19
18: StackMap locals: sun.rmi.transport.proxy.HttpAwareServerSocket java.net.Socket java.io.BufferedInputStream int
StackMap stack: sun.rmi.runtime.Log java.util.logging.Level
ldc "POST not found, direct socket returned"
19: StackMap locals: sun.rmi.transport.proxy.HttpAwareServerSocket java.net.Socket java.io.BufferedInputStream int
StackMap stack: sun.rmi.runtime.Log java.util.logging.Level java.lang.String
invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
iload 3
ifeq 22
21: new sun.rmi.transport.proxy.HttpReceiveSocket
dup
aload 1
aload 2
aconst_null
invokespecial sun.rmi.transport.proxy.HttpReceiveSocket.<init>:(Ljava/net/Socket;Ljava/io/InputStream;Ljava/io/OutputStream;)V
areturn
22: StackMap locals:
StackMap stack:
new sun.rmi.transport.proxy.WrappedSocket
dup
aload 1
aload 2
aconst_null
invokespecial sun.rmi.transport.proxy.WrappedSocket.<init>:(Ljava/net/Socket;Ljava/io/InputStream;Ljava/io/OutputStream;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/rmi/transport/proxy/HttpAwareServerSocket;
1 23 1 socket Ljava/net/Socket;
3 23 2 in Ljava/io/BufferedInputStream;
14 23 3 isHttp Z
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
ldc "HttpAware"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokespecial java.net.ServerSocket.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/proxy/HttpAwareServerSocket;
}
SourceFile: "HttpAwareServerSocket.java"