public class jdk.incubator.http.internal.websocket.Receiver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.http.internal.websocket.Receiver
super_class: java.lang.Object
{
private final jdk.incubator.http.internal.websocket.MessageStreamConsumer messageConsumer;
descriptor: Ljdk/incubator/http/internal/websocket/MessageStreamConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.websocket.RawChannel channel;
descriptor: Ljdk/incubator/http/internal/websocket/RawChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.websocket.FrameConsumer frameConsumer;
descriptor: Ljdk/incubator/http/internal/websocket/FrameConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.websocket.Frame$Reader reader;
descriptor: Ljdk/incubator/http/internal/websocket/Frame$Reader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.websocket.RawChannel$RawEvent event;
descriptor: Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final jdk.incubator.http.internal.common.Demand demand;
descriptor: Ljdk/incubator/http/internal/common/Demand;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final jdk.incubator.http.internal.common.SequentialScheduler pushScheduler;
descriptor: Ljdk/incubator/http/internal/common/SequentialScheduler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer data;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private volatile int state;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final int UNREGISTERED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int AVAILABLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int WAITING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public void <init>(jdk.incubator.http.internal.websocket.MessageStreamConsumer, jdk.incubator.http.internal.websocket.RawChannel);
descriptor: (Ljdk/incubator/http/internal/websocket/MessageStreamConsumer;Ljdk/incubator/http/internal/websocket/RawChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.incubator.http.internal.websocket.Frame$Reader
dup
invokespecial jdk.incubator.http.internal.websocket.Frame$Reader.<init>:()V
putfield jdk.incubator.http.internal.websocket.Receiver.reader:Ljdk/incubator/http/internal/websocket/Frame$Reader;
2: aload 0
aload 0
invokevirtual jdk.incubator.http.internal.websocket.Receiver.createHandler:()Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
putfield jdk.incubator.http.internal.websocket.Receiver.event:Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
3: aload 0
new jdk.incubator.http.internal.common.Demand
dup
invokespecial jdk.incubator.http.internal.common.Demand.<init>:()V
putfield jdk.incubator.http.internal.websocket.Receiver.demand:Ljdk/incubator/http/internal/common/Demand;
4: aload 0
aload 1
putfield jdk.incubator.http.internal.websocket.Receiver.messageConsumer:Ljdk/incubator/http/internal/websocket/MessageStreamConsumer;
5: aload 0
aload 2
putfield jdk.incubator.http.internal.websocket.Receiver.channel:Ljdk/incubator/http/internal/websocket/RawChannel;
6: aload 0
new jdk.incubator.http.internal.websocket.FrameConsumer
dup
aload 0
getfield jdk.incubator.http.internal.websocket.Receiver.messageConsumer:Ljdk/incubator/http/internal/websocket/MessageStreamConsumer;
invokespecial jdk.incubator.http.internal.websocket.FrameConsumer.<init>:(Ljdk/incubator/http/internal/websocket/MessageStreamConsumer;)V
putfield jdk.incubator.http.internal.websocket.Receiver.frameConsumer:Ljdk/incubator/http/internal/websocket/FrameConsumer;
7: aload 0
aload 2
invokeinterface jdk.incubator.http.internal.websocket.RawChannel.initialByteBuffer:()Ljava/nio/ByteBuffer;
putfield jdk.incubator.http.internal.websocket.Receiver.data:Ljava/nio/ByteBuffer;
8: aload 0
aload 0
invokevirtual jdk.incubator.http.internal.websocket.Receiver.createScheduler:()Ljdk/incubator/http/internal/common/SequentialScheduler;
putfield jdk.incubator.http.internal.websocket.Receiver.pushScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/internal/websocket/Receiver;
0 10 1 messageConsumer Ljdk/incubator/http/internal/websocket/MessageStreamConsumer;
0 10 2 channel Ljdk/incubator/http/internal/websocket/RawChannel;
MethodParameters:
Name Flags
messageConsumer
channel
protected jdk.incubator.http.internal.common.SequentialScheduler createScheduler();
descriptor: ()Ljdk/incubator/http/internal/common/SequentialScheduler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.internal.common.SequentialScheduler
dup
new jdk.incubator.http.internal.websocket.Receiver$PushContinuouslyTask
dup
aload 0
invokespecial jdk.incubator.http.internal.websocket.Receiver$PushContinuouslyTask.<init>:(Ljdk/incubator/http/internal/websocket/Receiver;)V
invokespecial jdk.incubator.http.internal.common.SequentialScheduler.<init>:(Ljdk/incubator/http/internal/common/SequentialScheduler$RestartableTask;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/websocket/Receiver;
private jdk.incubator.http.internal.websocket.RawChannel$RawEvent createHandler();
descriptor: ()Ljdk/incubator/http/internal/websocket/RawChannel$RawEvent;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.internal.websocket.Receiver$1
dup
aload 0
invokespecial jdk.incubator.http.internal.websocket.Receiver$1.<init>:(Ljdk/incubator/http/internal/websocket/Receiver;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/websocket/Receiver;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.websocket.Receiver.demand:Ljdk/incubator/http/internal/common/Demand;
lload 1
invokevirtual jdk.incubator.http.internal.common.Demand.increase:(J)Z
ifeq 2
1: aload 0
getfield jdk.incubator.http.internal.websocket.Receiver.pushScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/websocket/Receiver;
0 3 1 n J
MethodParameters:
Name Flags
n
void acknowledge();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.websocket.Receiver.demand:Ljdk/incubator/http/internal/common/Demand;
lconst_1
invokevirtual jdk.incubator.http.internal.common.Demand.decreaseAndGet:(J)J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifge 3
2: new java.lang.InternalError
dup
lload 1
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: long
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/websocket/Receiver;
1 4 1 x J
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.internal.websocket.Receiver.pushScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.stop:()V
1: aload 0
getfield jdk.incubator.http.internal.websocket.Receiver.channel:Ljdk/incubator/http/internal/websocket/RawChannel;
invokeinterface jdk.incubator.http.internal.websocket.RawChannel.shutdownInput:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/websocket/Receiver;
Exceptions:
throws java.io.IOException
}
SourceFile: "Receiver.java"
NestMembers:
jdk.incubator.http.internal.websocket.Receiver$1 jdk.incubator.http.internal.websocket.Receiver$PushContinuouslyTask
InnerClasses:
public abstract RestartableTask = jdk.incubator.http.internal.common.SequentialScheduler$RestartableTask of jdk.incubator.http.internal.common.SequentialScheduler
final Reader = jdk.incubator.http.internal.websocket.Frame$Reader of jdk.incubator.http.internal.websocket.Frame
public abstract RawEvent = jdk.incubator.http.internal.websocket.RawChannel$RawEvent of jdk.incubator.http.internal.websocket.RawChannel
jdk.incubator.http.internal.websocket.Receiver$1
private PushContinuouslyTask = jdk.incubator.http.internal.websocket.Receiver$PushContinuouslyTask of jdk.incubator.http.internal.websocket.Receiver