final class jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber implements jdk.incubator.http.internal.common.FlowTube$TubeSubscriber
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber
super_class: java.lang.Object
{
volatile java.util.concurrent.Flow$Subscription subscription;
descriptor: Ljava/util/concurrent/Flow$Subscription;
flags: (0x0040) ACC_VOLATILE
volatile boolean completed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean dropped;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final jdk.incubator.http.Http1AsyncReceiver this$0;
descriptor: Ljdk/incubator/http/Http1AsyncReceiver;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/Http1AsyncReceiver;
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.Http1AsyncReceiver$Http1TubeSubscriber.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.incubator.http.Http1AsyncReceiver);
descriptor: (Ljdk/incubator/http/Http1AsyncReceiver;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
MethodParameters:
Name Flags
this$0 final
public void onSubscribe(java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
ifnull 1
aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.dropped:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
2: aload 0
iconst_0
putfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.dropped:Z
3: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.canRequestMore:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
4: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.delegate:Ljdk/incubator/http/Http1AsyncReceiver$Http1AsyncDelegate;
ifnull 6
5: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.scheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.executor:Ljava/util/concurrent/Executor;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.deferOrSchedule:(Ljava/util/concurrent/Executor;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
0 7 1 subscription Ljava/util/concurrent/Flow$Subscription;
MethodParameters:
Name Flags
subscription
void requestMore();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: java.util.concurrent.Flow$Subscription
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.canRequestMore:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 9
3: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.completed:Z
ifne 9
aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.dropped:Z
ifne 9
4: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
5: ldc "Http1TubeSubscriber: requesting one more from upstream"
6: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
7: aload 1
lconst_1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
8: return
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "Http1TubeSubscriber: no need to request more"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
1 11 1 s Ljava/util/concurrent/Flow$Subscription;
public void onNext(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.canRequestMore:Ljava/util/concurrent/atomic/AtomicBoolean;
aload 1
invokeinterface java.util.List.isEmpty:()Z
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 2
start local 2 3: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
aload 2
invokevirtual jdk.incubator.http.Http1AsyncReceiver.asyncReceive:(Ljava/nio/ByteBuffer;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
0 6 1 item Ljava/util/List<Ljava/nio/ByteBuffer;>;
3 4 2 buffer Ljava/nio/ByteBuffer;
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
item
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
aload 1
invokevirtual jdk.incubator.http.Http1AsyncReceiver.onReadError:(Ljava/lang/Throwable;)V
1: aload 0
iconst_1
putfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.completed:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
0 3 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
new java.io.EOFException
dup
ldc "EOF reached while reading"
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
invokevirtual jdk.incubator.http.Http1AsyncReceiver.onReadError:(Ljava/lang/Throwable;)V
1: aload 0
iconst_1
putfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.completed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
public void dropSubscription();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.this$0:Ljdk/incubator/http/Http1AsyncReceiver;
getfield jdk.incubator.http.Http1AsyncReceiver.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "Http1TubeSubscriber: dropSubscription"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
1: aload 0
iconst_1
putfield jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.dropped:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1AsyncReceiver$Http1TubeSubscriber;
public void onNext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.List
invokevirtual jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber.onNext:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Http1AsyncReceiver.java"
NestHost: jdk.incubator.http.Http1AsyncReceiver
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
final Http1TubeSubscriber = jdk.incubator.http.Http1AsyncReceiver$Http1TubeSubscriber of jdk.incubator.http.Http1AsyncReceiver
public abstract TubeSubscriber = jdk.incubator.http.internal.common.FlowTube$TubeSubscriber of jdk.incubator.http.internal.common.FlowTube