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$DetachedConnectionChannel detachedChannel;
descriptor: Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object initialLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.function.Supplier<java.nio.ByteBuffer> initial;
descriptor: Ljava/util/function/Supplier;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;
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.util.function.Supplier<java.nio.ByteBuffer>);
descriptor: (Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpConnection;Ljava/util/function/Supplier;)V
flags: (0x0000)
Code:
stack=3, locals=8, 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
invokevirtual jdk.incubator.http.HttpConnection.detachChannel:()Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
putfield jdk.incubator.http.RawChannelImpl.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
4: aload 0
aload 3
putfield jdk.incubator.http.RawChannelImpl.initial:Ljava/util/function/Supplier;
5: aload 2
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
astore 4
start local 4 6: aload 1
aload 4
invokevirtual jdk.incubator.http.HttpClientImpl.cancelRegistration:(Ljava/nio/channels/SocketChannel;)V
7: aload 4
iconst_0
invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
pop
8: goto 20
StackMap locals: jdk.incubator.http.RawChannelImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpConnection java.util.function.Supplier java.nio.channels.SocketChannel
StackMap stack: java.io.IOException
9: astore 5
start local 5 10: aload 4
invokevirtual java.nio.channels.SocketChannel.close:()V
11: goto 18
StackMap locals: jdk.incubator.http.RawChannelImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpConnection java.util.function.Supplier java.nio.channels.SocketChannel java.io.IOException
StackMap stack: java.io.IOException
12: astore 6
start local 6 13: aload 5
aload 6
invokevirtual java.io.IOException.addSuppressed:(Ljava/lang/Throwable;)V
end local 6 14: aload 0
getfield jdk.incubator.http.RawChannelImpl.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.close:()V
goto 19
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
16: aload 0
getfield jdk.incubator.http.RawChannelImpl.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.close:()V
17: aload 7
athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.RawChannelImpl.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.close:()V
19: StackMap locals:
StackMap stack:
aload 5
athrow
end local 5 20: 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 21 0 this Ljdk/incubator/http/RawChannelImpl;
0 21 1 client Ljdk/incubator/http/HttpClientImpl;
0 21 2 connection Ljdk/incubator/http/HttpConnection;
0 21 3 initial Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;
6 21 4 chan Ljava/nio/channels/SocketChannel;
10 20 5 e Ljava/io/IOException;
13 14 6 e1 Ljava/io/IOException;
Exception table:
from to target type
7 8 9 Class java.io.IOException
10 11 12 Class java.io.IOException
10 14 15 any
Exceptions:
throws java.io.IOException
Signature: (Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpConnection;Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;)V
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.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.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.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.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/util/function/Supplier;
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/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 2
start local 2 4: aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 5
aload 2
invokestatic jdk.incubator.http.internal.common.Utils.copy:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
goto 6
5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
getstatic jdk.incubator.http.internal.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
6: StackMap locals:
StackMap stack: java.nio.ByteBuffer
astore 2
7: aload 0
aconst_null
putfield jdk.incubator.http.RawChannelImpl.initial:Ljava/util/function/Supplier;
8: aload 2
aload 1
monitorexit
9: areturn
end local 2 10: StackMap locals: jdk.incubator.http.RawChannelImpl java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
11: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/incubator/http/RawChannelImpl;
4 10 2 ref Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 9 10 any
10 11 10 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.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
aload 1
iload 2
iload 3
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.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.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.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.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.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.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.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
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
aload 0
invokespecial java.lang.Object.toString:()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
getfield jdk.incubator.http.RawChannelImpl.detachedChannel:Ljdk/incubator/http/HttpConnection$DetachedConnectionChannel;
invokevirtual jdk.incubator.http.HttpConnection$DetachedConnectionChannel.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
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 Ljdk/incubator/http/RawChannelImpl;
}
SourceFile: "RawChannelImpl.java"
NestMembers:
jdk.incubator.http.RawChannelImpl$NonBlockingRawAsyncEvent
InnerClasses:
abstract DetachedConnectionChannel = jdk.incubator.http.HttpConnection$DetachedConnectionChannel of jdk.incubator.http.HttpConnection
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