class sun.net.httpserver.HttpConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.HttpConnection
super_class: java.lang.Object
{
sun.net.httpserver.HttpContextImpl context;
descriptor: Lsun/net/httpserver/HttpContextImpl;
flags: (0x0000)
javax.net.ssl.SSLEngine engine;
descriptor: Ljavax/net/ssl/SSLEngine;
flags: (0x0000)
javax.net.ssl.SSLContext sslContext;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0000)
sun.net.httpserver.SSLStreams sslStreams;
descriptor: Lsun/net/httpserver/SSLStreams;
flags: (0x0000)
java.io.InputStream i;
descriptor: Ljava/io/InputStream;
flags: (0x0000)
java.io.InputStream raw;
descriptor: Ljava/io/InputStream;
flags: (0x0000)
java.io.OutputStream rawout;
descriptor: Ljava/io/OutputStream;
flags: (0x0000)
java.nio.channels.SocketChannel chan;
descriptor: Ljava/nio/channels/SocketChannel;
flags: (0x0000)
java.nio.channels.SelectionKey selectionKey;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0000)
java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0000)
long time;
descriptor: J
flags: (0x0000)
volatile long creationTime;
descriptor: J
flags: (0x0040) ACC_VOLATILE
volatile long rspStartedTime;
descriptor: J
flags: (0x0040) ACC_VOLATILE
int remaining;
descriptor: I
flags: (0x0000)
boolean closed;
descriptor: Z
flags: (0x0000)
java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x0000)
volatile sun.net.httpserver.HttpConnection$State state;
descriptor: Lsun/net/httpserver/HttpConnection$State;
flags: (0x0040) ACC_VOLATILE
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
ifnull 3
2: aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/httpserver/HttpConnection;
1 4 1 s Ljava/lang/String;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.net.httpserver.HttpConnection.closed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/HttpConnection;
void setChannel(java.nio.channels.SocketChannel);
descriptor: (Ljava/nio/channels/SocketChannel;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/HttpConnection;
0 2 1 c Ljava/nio/channels/SocketChannel;
MethodParameters:
Name Flags
c
void setContext(sun.net.httpserver.HttpContextImpl);
descriptor: (Lsun/net/httpserver/HttpContextImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.net.httpserver.HttpConnection.context:Lsun/net/httpserver/HttpContextImpl;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/HttpConnection;
0 2 1 ctx Lsun/net/httpserver/HttpContextImpl;
MethodParameters:
Name Flags
ctx
sun.net.httpserver.HttpConnection$State getState();
descriptor: ()Lsun/net/httpserver/HttpConnection$State;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.state:Lsun/net/httpserver/HttpConnection$State;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
void setState(sun.net.httpserver.HttpConnection$State);
descriptor: (Lsun/net/httpserver/HttpConnection$State;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.net.httpserver.HttpConnection.state:Lsun/net/httpserver/HttpConnection$State;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/HttpConnection;
0 2 1 s Lsun/net/httpserver/HttpConnection$State;
MethodParameters:
Name Flags
s
void setParameters(java.io.InputStream, java.io.OutputStream, java.nio.channels.SocketChannel, javax.net.ssl.SSLEngine, sun.net.httpserver.SSLStreams, javax.net.ssl.SSLContext, java.lang.String, sun.net.httpserver.HttpContextImpl, java.io.InputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/nio/channels/SocketChannel;Ljavax/net/ssl/SSLEngine;Lsun/net/httpserver/SSLStreams;Ljavax/net/ssl/SSLContext;Ljava/lang/String;Lsun/net/httpserver/HttpContextImpl;Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=2, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 8
putfield sun.net.httpserver.HttpConnection.context:Lsun/net/httpserver/HttpContextImpl;
1: aload 0
aload 1
putfield sun.net.httpserver.HttpConnection.i:Ljava/io/InputStream;
2: aload 0
aload 2
putfield sun.net.httpserver.HttpConnection.rawout:Ljava/io/OutputStream;
3: aload 0
aload 9
putfield sun.net.httpserver.HttpConnection.raw:Ljava/io/InputStream;
4: aload 0
aload 7
putfield sun.net.httpserver.HttpConnection.protocol:Ljava/lang/String;
5: aload 0
aload 4
putfield sun.net.httpserver.HttpConnection.engine:Ljavax/net/ssl/SSLEngine;
6: aload 0
aload 3
putfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
7: aload 0
aload 6
putfield sun.net.httpserver.HttpConnection.sslContext:Ljavax/net/ssl/SSLContext;
8: aload 0
aload 5
putfield sun.net.httpserver.HttpConnection.sslStreams:Lsun/net/httpserver/SSLStreams;
9: aload 0
aload 8
invokevirtual sun.net.httpserver.HttpContextImpl.getLogger:()Ljava/util/logging/Logger;
putfield sun.net.httpserver.HttpConnection.logger:Ljava/util/logging/Logger;
10: return
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 11 0 this Lsun/net/httpserver/HttpConnection;
0 11 1 in Ljava/io/InputStream;
0 11 2 rawout Ljava/io/OutputStream;
0 11 3 chan Ljava/nio/channels/SocketChannel;
0 11 4 engine Ljavax/net/ssl/SSLEngine;
0 11 5 sslStreams Lsun/net/httpserver/SSLStreams;
0 11 6 sslContext Ljavax/net/ssl/SSLContext;
0 11 7 protocol Ljava/lang/String;
0 11 8 context Lsun/net/httpserver/HttpContextImpl;
0 11 9 raw Ljava/io/InputStream;
MethodParameters:
Name Flags
in
rawout
chan
engine
sslStreams
sslContext
protocol
context
raw
java.nio.channels.SocketChannel getChannel();
descriptor: ()Ljava/nio/channels/SocketChannel;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
synchronized void close();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.httpserver.HttpConnection.closed:Z
3: aload 0
getfield sun.net.httpserver.HttpConnection.logger:Ljava/util/logging/Logger;
ifnull 5
aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
ifnull 5
4: aload 0
getfield sun.net.httpserver.HttpConnection.logger:Ljava/util/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Closing connection: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
invokevirtual java.nio.channels.SocketChannel.isOpen:()Z
ifne 8
6: ldc "Channel already closed"
invokestatic sun.net.httpserver.ServerImpl.dprint:(Ljava/lang/String;)V
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.HttpConnection.raw:Ljava/io/InputStream;
ifnull 13
9: aload 0
getfield sun.net.httpserver.HttpConnection.raw:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
10: goto 13
StackMap locals:
StackMap stack: java.io.IOException
11: astore 1
start local 1 12: aload 1
invokestatic sun.net.httpserver.ServerImpl.dprint:(Ljava/lang/Exception;)V
end local 1 13: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.HttpConnection.rawout:Ljava/io/OutputStream;
ifnull 18
14: aload 0
getfield sun.net.httpserver.HttpConnection.rawout:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
15: goto 18
StackMap locals:
StackMap stack: java.io.IOException
16: astore 1
start local 1 17: aload 1
invokestatic sun.net.httpserver.ServerImpl.dprint:(Ljava/lang/Exception;)V
end local 1 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.HttpConnection.sslStreams:Lsun/net/httpserver/SSLStreams;
ifnull 23
19: aload 0
getfield sun.net.httpserver.HttpConnection.sslStreams:Lsun/net/httpserver/SSLStreams;
invokevirtual sun.net.httpserver.SSLStreams.close:()V
20: goto 23
StackMap locals:
StackMap stack: java.io.IOException
21: astore 1
start local 1 22: aload 1
invokestatic sun.net.httpserver.ServerImpl.dprint:(Ljava/lang/Exception;)V
end local 1 23: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.HttpConnection.chan:Ljava/nio/channels/SocketChannel;
invokevirtual java.nio.channels.SocketChannel.close:()V
24: goto 27
StackMap locals:
StackMap stack: java.io.IOException
25: astore 1
start local 1 26: aload 1
invokestatic sun.net.httpserver.ServerImpl.dprint:(Ljava/lang/Exception;)V
end local 1 27: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/net/httpserver/HttpConnection;
12 13 1 e Ljava/io/IOException;
17 18 1 e Ljava/io/IOException;
22 23 1 e Ljava/io/IOException;
26 27 1 e Ljava/io/IOException;
Exception table:
from to target type
8 10 11 Class java.io.IOException
13 15 16 Class java.io.IOException
18 20 21 Class java.io.IOException
23 24 25 Class java.io.IOException
void setRemaining(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.net.httpserver.HttpConnection.remaining:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/HttpConnection;
0 2 1 r I
MethodParameters:
Name Flags
r
int getRemaining();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.remaining:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
java.nio.channels.SelectionKey getSelectionKey();
descriptor: ()Ljava/nio/channels/SelectionKey;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.selectionKey:Ljava/nio/channels/SelectionKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.i:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
java.io.OutputStream getRawOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.rawout:Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
java.lang.String getProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
javax.net.ssl.SSLEngine getSSLEngine();
descriptor: ()Ljavax/net/ssl/SSLEngine;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.engine:Ljavax/net/ssl/SSLEngine;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
javax.net.ssl.SSLContext getSSLContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.sslContext:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
sun.net.httpserver.HttpContextImpl getHttpContext();
descriptor: ()Lsun/net/httpserver/HttpContextImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpConnection.context:Lsun/net/httpserver/HttpContextImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpConnection;
}
SourceFile: "HttpConnection.java"
NestMembers:
sun.net.httpserver.HttpConnection$State
InnerClasses:
public final State = sun.net.httpserver.HttpConnection$State of sun.net.httpserver.HttpConnection