final class jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription extends jdk.internal.net.http.AbstractSubscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription
super_class: jdk.internal.net.http.AbstractSubscription
{
private final java.lang.Runnable onCancel;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.Consumer<java.lang.Throwable> onError;
descriptor: Ljava/util/function/Consumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
private final jdk.internal.net.http.common.SequentialScheduler scheduler;
descriptor: Ljdk/internal/net/http/common/SequentialScheduler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean cancelled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(jdk.internal.net.http.common.SequentialScheduler, java.lang.Runnable, java.util.function.Consumer<java.lang.Throwable>);
descriptor: (Ljdk/internal/net/http/common/SequentialScheduler;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial jdk.internal.net.http.AbstractSubscription.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.scheduler:Ljdk/internal/net/http/common/SequentialScheduler;
2: aload 0
aload 2
putfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.onCancel:Ljava/lang/Runnable;
3: aload 0
aload 3
putfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.onError:Ljava/util/function/Consumer;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegateSubscription;
0 5 1 scheduler Ljdk/internal/net/http/common/SequentialScheduler;
0 5 2 onCancel Ljava/lang/Runnable;
0 5 3 onError Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
Signature: (Ljdk/internal/net/http/common/SequentialScheduler;Ljava/lang/Runnable;Ljava/util/function/Consumer<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
scheduler
onCancel
onError
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.cancelled:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.demand:()Ljdk/internal/net/http/common/Demand;
astore 3
start local 3 2: aload 3
lload 1
invokevirtual jdk.internal.net.http.common.Demand.increase:(J)Z
ifeq 8
3: aload 0
getfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.scheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
end local 3 4: goto 8
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
5: astore 3
start local 3 6: aload 0
iconst_1
putfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.cancelled:Z
7: aload 0
getfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.onError:Ljava/util/function/Consumer;
aload 3
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegateSubscription;
0 9 1 n J
2 4 3 demand Ljdk/internal/net/http/common/Demand;
6 8 3 x Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
1 4 5 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
n
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.cancelled:Z
1: aload 0
getfield jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription.onCancel:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegateSubscription;
}
SourceFile: "Http1AsyncReceiver.java"
NestHost: jdk.internal.net.http.Http1AsyncReceiver
InnerClasses:
private final Http1AsyncDelegateSubscription = jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegateSubscription of jdk.internal.net.http.Http1AsyncReceiver