final class jdk.internal.net.http.Http1Response$Http1BodySubscriber<U> implements java.net.http.HttpResponse$BodySubscriber<U>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.Http1Response$Http1BodySubscriber
super_class: java.lang.Object
{
final java.net.http.HttpResponse$BodySubscriber<U> userSubscriber;
descriptor: Ljava/net/http/HttpResponse$BodySubscriber;
flags: (0x0010) ACC_FINAL
Signature: Ljava/net/http/HttpResponse$BodySubscriber<TU;>;
final java.util.concurrent.atomic.AtomicBoolean completed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
volatile java.lang.Throwable withError;
descriptor: Ljava/lang/Throwable;
flags: (0x0040) ACC_VOLATILE
volatile boolean subscribed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
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/internal/net/http/Http1Response;
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.internal.net.http.Http1Response$Http1BodySubscriber.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.net.http.HttpResponse$BodySubscriber<U>);
descriptor: (Ljava/net/http/HttpResponse$BodySubscriber;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.completed:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
aload 1
putfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
0 4 1 userSubscriber Ljava/net/http/HttpResponse$BodySubscriber<TU;>;
Signature: (Ljava/net/http/HttpResponse$BodySubscriber<TU;>;)V
MethodParameters:
Name Flags
userSubscriber
private void propagateError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.Http1Response$Http1BodySubscriber.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.subscribed:Z
ifne 8
2: aload 0
iconst_1
putfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.subscribed:Z
3: aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
getstatic jdk.internal.net.http.Http1Response.NOP:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.net.http.HttpResponse$BodySubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
aload 1
invokeinterface java.net.http.HttpResponse$BodySubscriber.onError:(Ljava/lang/Throwable;)V
7: aload 2
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
aload 1
invokeinterface java.net.http.HttpResponse$BodySubscriber.onError:(Ljava/lang/Throwable;)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
0 10 1 t Ljava/lang/Throwable;
Exception table:
from to target type
1 5 5 any
MethodParameters:
Name Flags
t
private void complete(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.completed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 10
1: aload 0
aload 1
invokestatic jdk.internal.net.http.common.Utils.getCompletionCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
dup_x1
putfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.withError:Ljava/lang/Throwable;
astore 1
2: aload 1
ifnonnull 9
3: getstatic jdk.internal.net.http.Http1Response$Http1BodySubscriber.$assertionsDisabled:Z
ifne 4
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.subscribed:Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
invokeinterface java.net.http.HttpResponse$BodySubscriber.onComplete:()V
5: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
start local 2 7: aload 0
aload 0
aload 2
invokestatic jdk.internal.net.http.common.Utils.getCompletionCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
dup_x1
putfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.withError:Ljava/lang/Throwable;
dup
astore 1
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.propagateError:(Ljava/lang/Throwable;)V
end local 2 8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.propagateError:(Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
0 11 1 t Ljava/lang/Throwable;
7 8 2 x Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
MethodParameters:
Name Flags
t
public java.util.concurrent.CompletionStage<U> getBody();
descriptor: ()Ljava/util/concurrent/CompletionStage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
invokeinterface java.net.http.HttpResponse$BodySubscriber.getBody:()Ljava/util/concurrent/CompletionStage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
Signature: ()Ljava/util/concurrent/CompletionStage<TU;>;
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: aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.subscribed:Z
ifne 4
1: aload 0
iconst_1
putfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.subscribed:Z
2: aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
aload 1
invokeinterface java.net.http.HttpResponse$BodySubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
3: goto 5
4: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http1Response$Http1BodySubscriber.$assertionsDisabled:Z
ifne 5
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.completed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
0 6 1 subscription Ljava/util/concurrent/Flow$Subscription;
MethodParameters:
Name Flags
subscription
public void onNext(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.Http1Response$Http1BodySubscriber.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.completed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response$Http1BodySubscriber.userSubscriber:Ljava/net/http/HttpResponse$BodySubscriber;
aload 1
invokeinterface java.net.http.HttpResponse$BodySubscriber.onNext:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
0 3 1 item Ljava/util/List<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
aload 1
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.complete:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
0 2 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.complete:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
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.internal.net.http.Http1Response$Http1BodySubscriber.onNext:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <U:Ljava/lang/Object;>Ljava/lang/Object;Ljava/net/http/HttpResponse$BodySubscriber<TU;>;
SourceFile: "Http1Response.java"
NestHost: jdk.internal.net.http.Http1Response
InnerClasses:
public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
final Http1BodySubscriber = jdk.internal.net.http.Http1Response$Http1BodySubscriber of jdk.internal.net.http.Http1Response