public class jdk.internal.net.http.ResponseSubscribers$NullSubscriber<T> implements java.net.http.HttpResponse$BodySubscriber<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.net.http.ResponseSubscribers$NullSubscriber
  super_class: java.lang.Object
{
  private final java.util.concurrent.CompletableFuture<T> cf;
    descriptor: Ljava/util/concurrent/CompletableFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/CompletableFuture<TT;>;

  private final java.util.Optional<T> result;
    descriptor: Ljava/util/Optional;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Optional<TT;>;

  private final java.util.concurrent.atomic.AtomicBoolean subscribed;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.util.Optional<T>);
    descriptor: (Ljava/util/Optional;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
        start local 1 // java.util.Optional result
         0: .line 536
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 532
            aload 0 /* this */
            new jdk.internal.net.http.common.MinimalFuture
            dup
            invokespecial jdk.internal.net.http.common.MinimalFuture.<init>:()V
            putfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.cf:Ljava/util/concurrent/CompletableFuture;
         2: .line 534
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.subscribed:Ljava/util/concurrent/atomic/AtomicBoolean;
         3: .line 537
            aload 0 /* this */
            aload 1 /* result */
            putfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.result:Ljava/util/Optional;
         4: .line 538
            return
        end local 1 // java.util.Optional result
        end local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Ljdk/internal/net/http/ResponseSubscribers$NullSubscriber<TT;>;
            0    5     1  result  Ljava/util/Optional<TT;>;
    Signature: (Ljava/util/Optional<TT;>;)V
    MethodParameters:
        Name  Flags
      result  

  public void onSubscribe(java.util.concurrent.Flow$Subscription);
    descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
        start local 1 // java.util.concurrent.Flow$Subscription subscription
         0: .line 542
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.subscribed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifne 3
         1: .line 543
            aload 1 /* subscription */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         2: .line 544
            goto 4
         3: .line 545
      StackMap locals:
      StackMap stack:
            aload 1 /* subscription */
            ldc 9223372036854775807
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         4: .line 547
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.concurrent.Flow$Subscription subscription
        end local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Ljdk/internal/net/http/ResponseSubscribers$NullSubscriber<TT;>;
            0    5     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=1, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
        start local 1 // java.util.List items
         0: .line 551
            aload 1 /* items */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 552
            return
        end local 1 // java.util.List items
        end local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/internal/net/http/ResponseSubscribers$NullSubscriber<TT;>;
            0    2     1  items  Ljava/util/List<Ljava/nio/ByteBuffer;>;
    Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
       Name  Flags
      items  

  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 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
        start local 1 // java.lang.Throwable throwable
         0: .line 556
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.cf:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* throwable */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
         1: .line 557
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Ljdk/internal/net/http/ResponseSubscribers$NullSubscriber<TT;>;
            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 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
         0: .line 561
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.result:Ljava/util/Optional;
            invokevirtual java.util.Optional.isPresent:()Z
            ifeq 3
         1: .line 562
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.cf:Ljava/util/concurrent/CompletableFuture;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.result:Ljava/util/Optional;
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
         2: .line 563
            goto 4
         3: .line 564
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.cf:Ljava/util/concurrent/CompletableFuture;
            aconst_null
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
         4: .line 566
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/net/http/ResponseSubscribers$NullSubscriber<TT;>;

  public java.util.concurrent.CompletionStage<T> getBody();
    descriptor: ()Ljava/util/concurrent/CompletionStage;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
         0: .line 570
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$NullSubscriber.cf:Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 0 // jdk.internal.net.http.ResponseSubscribers$NullSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseSubscribers$NullSubscriber<TT;>;
    Signature: ()Ljava/util/concurrent/CompletionStage<TT;>;

  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: .line 1
            aload 0
            aload 1
            checkcast java.util.List
            invokevirtual jdk.internal.net.http.ResponseSubscribers$NullSubscriber.onNext:(Ljava/util/List;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/net/http/HttpResponse$BodySubscriber<TT;>;
SourceFile: "ResponseSubscribers.java"
NestHost: jdk.internal.net.http.ResponseSubscribers
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
  public NullSubscriber = jdk.internal.net.http.ResponseSubscribers$NullSubscriber of jdk.internal.net.http.ResponseSubscribers