final class jdk.incubator.http.RawChannelImpl implements jdk.incubator.http.internal.websocket.RawChannel
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.RawChannelImpl
super_class: java.lang.Object
{
private final jdk.incubator.http.HttpClientImpl client;
descriptor: Ljdk/incubator/http/HttpClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.HttpConnection connection;
descriptor: Ljdk/incubator/http/HttpConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object initialLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer initial;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/incubator/http/RawChannelImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.incubator.http.RawChannelImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.incubator.http.HttpClientImpl, jdk.incubator.http.HttpConnection, java.nio.ByteBuffer);
descriptor: (Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpConnection;Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield jdk.incubator.http.RawChannelImpl.initialLock:Ljava/lang/Object;
2: aload 0
aload 1
putfield jdk.incubator.http.RawChannelImpl.client:Ljdk/incubator/http/HttpClientImpl;
3: aload 0
aload 2
putfield jdk.incubator.http.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
4: aload 2
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
astore 4
start local 4 5: aload 1
aload 4
invokevirtual jdk.incubator.http.HttpClientImpl.cancelRegistration:(Ljava/nio/channels/SocketChannel;)V
6: aload 4
iconst_0
invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
pop
7: goto 14
StackMap locals: jdk.incubator.http.RawChannelImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpConnection java.nio.ByteBuffer java.nio.channels.SocketChannel
StackMap stack: java.io.IOException
8: astore 5
start local 5 9: aload 4
invokevirtual java.nio.channels.SocketChannel.close:()V
10: goto 13
StackMap locals: jdk.incubator.http.RawChannelImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpConnection java.nio.ByteBuffer java.nio.channels.SocketChannel java.io.IOException
StackMap stack: java.io.IOException
11: astore 6
start local 6 12: aload 5
aload 6
invokevirtual java.io.IOException.addSuppressed:(Ljava/lang/Throwable;)V
end local 6 13: StackMap locals:
StackMap stack:
aload 5
athrow
end local 5 14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.RawChannelImpl.initialLock:Ljava/lang/Object;
dup
astore 5
monitorenter
15: aload 0
aload 3
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 17
16: aload 3
invokestatic jdk.incubator.http.internal.common.Utils.copy:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
goto 18
17: StackMap locals: jdk.incubator.http.RawChannelImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpConnection java.nio.ByteBuffer java.nio.channels.SocketChannel java.lang.Object
StackMap stack: jdk.incubator.http.RawChannelImpl
getstatic jdk.incubator.http.internal.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
18: StackMap locals: jdk.incubator.http.RawChannelImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpConnection java.nio.ByteBuffer java.nio.channels.SocketChannel java.lang.Object
StackMap stack: jdk.incubator.http.RawChannelImpl java.nio.ByteBuffer
putfield jdk.incubator.http.RawChannelImpl.initial:Ljava/nio/ByteBuffer;
19: aload 5
monitorexit
20: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 5
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/incubator/http/RawChannelImpl;
0 24 1 client Ljdk/incubator/http/HttpClientImpl;
0 24 2 connection Ljdk/incubator/http/HttpConnection;
0 24 3 initial Ljava/nio/ByteBuffer;
5 24 4 chan Ljava/nio/channels/SocketChannel;
9 14 5 e Ljava/io/IOException;
12 13 6 e1 Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
9 10 11 Class java.io.IOException
15 20 21 any
21 22 21 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
client
connection
initial
public void registerEvent(jdk.incubator.http.internal.websocket.RawChannel$RawEvent);
descriptor: (Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.RawChannelImpl.client:Ljdk/incubator/http/HttpClientImpl;
new jdk.incubator.http.RawChannelImpl$NonBlockingRawAsyncEvent
dup
aload 0
aload 1
invokespecial jdk.incubator.http.RawChannelImpl$NonBlockingRawAsyncEvent.<init>:(Ljdk/incubator/http/RawChannelImpl;Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;)V
invokevirtual jdk.incubator.http.HttpClientImpl.registerEvent:(Ljdk/incubator/http/AsyncEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/RawChannelImpl;
0 2 1 event Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
event
public java.nio.ByteBuffer read();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.http.RawChannelImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
invokevirtual java.nio.channels.SocketChannel.isBlocking:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.read:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/RawChannelImpl;
Exceptions:
throws java.io.IOException
public java.nio.ByteBuffer initialByteBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.RawChannelImpl.initialLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.incubator.http.RawChannelImpl.initial:Ljava/nio/ByteBuffer;
ifnonnull 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.incubator.http.RawChannelImpl.initial:Ljava/nio/ByteBuffer;
astore 2
start local 2 4: aload 0
aconst_null
putfield jdk.incubator.http.RawChannelImpl.initial:Ljava/nio/ByteBuffer;
5: aload 2
aload 1
monitorexit
6: areturn
end local 2 7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
8: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/RawChannelImpl;
4 7 2 ref Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 6 7 any
7 8 7 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
getfield jdk.incubator.http.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
aload 1
iload 2
iload 3
invokevirtual jdk.incubator.http.HttpConnection.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/RawChannelImpl;
0 1 1 src [Ljava/nio/ByteBuffer;
0 1 2 offset I
0 1 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
offset
len
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.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.shutdownInput:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/RawChannelImpl;
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.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.shutdownOutput:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/RawChannelImpl;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.RawChannelImpl.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/RawChannelImpl;
Exceptions:
throws java.io.IOException
}
SourceFile: "RawChannelImpl.java"
NestMembers:
jdk.incubator.http.RawChannelImpl$NonBlockingRawAsyncEvent
InnerClasses:
private NonBlockingRawAsyncEvent = jdk.incubator.http.RawChannelImpl$NonBlockingRawAsyncEvent of jdk.incubator.http.RawChannelImpl
public abstract RawEvent = jdk.incubator.http.internal.websocket.RawChannel$RawEvent of jdk.incubator.http.internal.websocket.RawChannel