final class jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel extends jdk.incubator.http.HttpConnection$DetachedConnectionChannel
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel
super_class: jdk.incubator.http.HttpConnection$DetachedConnectionChannel
{
final jdk.incubator.http.PlainHttpConnection plainConnection;
descriptor: Ljdk/incubator/http/PlainHttpConnection;
flags: (0x0010) ACC_FINAL
boolean closed;
descriptor: Z
flags: (0x0000)
void <init>(jdk.incubator.http.PlainHttpConnection);
descriptor: (Ljdk/incubator/http/PlainHttpConnection;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.incubator.http.HttpConnection$DetachedConnectionChannel.<init>:()V
1: aload 1
invokevirtual jdk.incubator.http.PlainHttpConnection.client:()Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.webSocketOpen:()J
pop2
2: aload 0
aload 1
putfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.plainConnection:Ljdk/incubator/http/PlainHttpConnection;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
0 4 1 conn Ljdk/incubator/http/PlainHttpConnection;
MethodParameters:
Name Flags
conn
java.nio.channels.SocketChannel channel();
descriptor: ()Ljava/nio/channels/SocketChannel;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.plainConnection:Ljdk/incubator/http/PlainHttpConnection;
invokevirtual jdk.incubator.http.PlainHttpConnection.channel:()Ljava/nio/channels/SocketChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
java.nio.ByteBuffer read();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: sipush 8192
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.readImpl:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 2: iload 2
ifle 4
3: aload 1
areturn
4: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
iload 2
ifne 6
5: getstatic jdk.incubator.http.internal.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
1 7 1 dst Ljava/nio/ByteBuffer;
2 7 2 n I
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.plainConnection:Ljdk/incubator/http/PlainHttpConnection;
invokevirtual jdk.incubator.http.PlainHttpConnection.client:()Ljdk/incubator/http/HttpClientImpl;
astore 1
start local 1 1: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.plainConnection:Ljdk/incubator/http/PlainHttpConnection;
invokevirtual jdk.incubator.http.PlainHttpConnection.close:()V
2: goto 14
StackMap locals: jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel jdk.incubator.http.HttpClientImpl
StackMap stack: java.lang.Throwable
3: astore 2
4: aload 0
dup
astore 3
monitorenter
5: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.closed:Z
ifeq 7
aload 3
monitorexit
6: return
7: StackMap locals: java.lang.Throwable jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel
StackMap stack:
aload 0
iconst_1
putfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.closed:Z
8: aload 3
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.webSocketClose:()J
pop2
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
aload 0
dup
astore 3
monitorenter
15: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.closed:Z
ifeq 17
aload 3
monitorexit
16: return
17: StackMap locals: jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel jdk.incubator.http.HttpClientImpl top jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel
StackMap stack:
aload 0
iconst_1
putfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.closed:Z
18: aload 3
monitorexit
19: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
20: aload 3
monitorexit
21: athrow
22: StackMap locals: jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel jdk.incubator.http.HttpClientImpl
StackMap stack:
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.webSocketClose:()J
pop2
23: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
1 24 1 client Ljdk/incubator/http/HttpClientImpl;
Exception table:
from to target type
1 3 3 any
5 6 10 any
7 9 10 any
10 11 10 any
15 16 20 any
17 19 20 any
20 21 20 any
public long write(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.channel:()Ljava/nio/channels/SocketChannel;
aload 1
iload 2
iload 3
invokevirtual java.nio.channels.SocketChannel.write:([Ljava/nio/ByteBuffer;II)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
0 1 1 buffers [Ljava/nio/ByteBuffer;
0 1 2 start I
0 1 3 number I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffers
start
number
public void shutdownInput();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.plainConnection:Ljdk/incubator/http/PlainHttpConnection;
invokevirtual jdk.incubator.http.PlainHttpConnection.shutdownInput:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
Exceptions:
throws java.io.IOException
public void shutdownOutput();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.plainConnection:Ljdk/incubator/http/PlainHttpConnection;
invokevirtual jdk.incubator.http.PlainHttpConnection.shutdownOutput:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
Exceptions:
throws java.io.IOException
private int readImpl(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 1: aload 0
invokevirtual jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel.channel:()Ljava/nio/channels/SocketChannel;
aload 1
invokevirtual java.nio.channels.SocketChannel.read:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpne 4
3: iconst_m1
ireturn
4: StackMap locals: int int
StackMap stack:
aload 1
iload 2
invokestatic jdk.incubator.http.internal.common.Utils.flipToMark:(Ljava/nio/ByteBuffer;I)V
5: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/PlainHttpConnection$PlainDetachedChannel;
0 6 1 buf Ljava/nio/ByteBuffer;
1 6 2 mark I
2 6 3 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
}
SourceFile: "PlainHttpConnection.java"
NestHost: jdk.incubator.http.PlainHttpConnection
InnerClasses:
abstract DetachedConnectionChannel = jdk.incubator.http.HttpConnection$DetachedConnectionChannel of jdk.incubator.http.HttpConnection
private final PlainDetachedChannel = jdk.incubator.http.PlainHttpConnection$PlainDetachedChannel of jdk.incubator.http.PlainHttpConnection