public final class jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter<S extends java.util.concurrent.Flow$Subscriber<? super java.util.List<java.nio.ByteBuffer>>, R> implements java.net.http.HttpResponse$BodySubscriber<R>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter
  super_class: java.lang.Object
{
  private final java.util.concurrent.CompletableFuture<R> cf;
    descriptor: Ljava/util/concurrent/CompletableFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/CompletableFuture<TR;>;

  private final S subscriber;
    descriptor: Ljava/util/concurrent/Flow$Subscriber;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: TS;

  private final java.util.function.Function<? super S, ? extends R> finisher;
    descriptor: Ljava/util/function/Function;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Function<-TS;+TR;>;

  private volatile java.util.concurrent.Flow$Subscription subscription;
    descriptor: Ljava/util/concurrent/Flow$Subscription;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  public void <init>(S, java.util.function.Function<? super S, ? extends R>);
    descriptor: (Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
        start local 1 // java.util.concurrent.Flow$Subscriber subscriber
        start local 2 // java.util.function.Function finisher
         0: .line 583
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 578
            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$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
         2: .line 584
            aload 0 /* this */
            aload 1 /* subscriber */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.Flow$Subscriber
            putfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
         3: .line 585
            aload 0 /* this */
            aload 2 /* finisher */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.function.Function
            putfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.finisher:Ljava/util/function/Function;
         4: .line 586
            return
        end local 2 // java.util.function.Function finisher
        end local 1 // java.util.concurrent.Flow$Subscriber subscriber
        end local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Ljdk/internal/net/http/ResponseSubscribers$SubscriberAdapter<TS;TR;>;
            0    5     1  subscriber  TS;
            0    5     2    finisher  Ljava/util/function/Function<-TS;+TR;>;
    Signature: (TS;Ljava/util/function/Function<-TS;+TR;>;)V
    MethodParameters:
            Name  Flags
      subscriber  
      finisher    

  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 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
        start local 1 // java.util.concurrent.Flow$Subscription subscription
         0: .line 590
            aload 1 /* subscription */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 591
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscription:Ljava/util/concurrent/Flow$Subscription;
            ifnull 4
         2: .line 592
            aload 1 /* subscription */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         3: .line 593
            goto 6
         4: .line 594
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* subscription */
            putfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscription:Ljava/util/concurrent/Flow$Subscription;
         5: .line 595
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
            aload 1 /* subscription */
            invokeinterface java.util.concurrent.Flow$Subscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
         6: .line 597
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.concurrent.Flow$Subscription subscription
        end local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Ljdk/internal/net/http/ResponseSubscribers$SubscriberAdapter<TS;TR;>;
            0    7     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=3, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
        start local 1 // java.util.List item
         0: .line 601
            aload 1 /* item */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 603
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
            aload 1 /* item */
            invokeinterface java.util.concurrent.Flow$Subscriber.onNext:(Ljava/lang/Object;)V
         2: .line 604
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Throwable
         3: astore 2 /* throwable */
        start local 2 // java.lang.Throwable throwable
         4: .line 605
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         5: .line 606
            aload 0 /* this */
            aload 2 /* throwable */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.onError:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable throwable
         6: .line 608
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.List item
        end local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Ljdk/internal/net/http/ResponseSubscribers$SubscriberAdapter<TS;TR;>;
            0    7     1       item  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            4    6     2  throwable  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Throwable
    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=3, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
        start local 1 // java.lang.Throwable throwable
         0: .line 612
            aload 1 /* throwable */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 614
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
            aload 1 /* throwable */
            invokeinterface java.util.concurrent.Flow$Subscriber.onError:(Ljava/lang/Throwable;)V
         2: .line 615
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Throwable
         3: astore 2
         4: .line 616
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* throwable */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
         5: .line 617
            aload 2
            athrow
         6: .line 616
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* throwable */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
         7: .line 618
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0       this  Ljdk/internal/net/http/ResponseSubscribers$SubscriberAdapter<TS;TR;>;
            0    8     1  throwable  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     3       3  any
    MethodParameters:
           Name  Flags
      throwable  

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
         0: .line 623
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
            invokeinterface java.util.concurrent.Flow$Subscriber.onComplete:()V
         1: .line 624
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         2: astore 1
         3: .line 626
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.finisher:Ljava/util/function/Function;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
         4: .line 627
            goto 7
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter java.lang.Throwable
      StackMap stack: java.lang.Throwable
         5: astore 2 /* throwable */
        start local 2 // java.lang.Throwable throwable
         6: .line 628
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            aload 2 /* throwable */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
        end local 2 // java.lang.Throwable throwable
         7: .line 630
      StackMap locals:
      StackMap stack:
            aload 1
            athrow
         8: .line 626
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.finisher:Ljava/util/function/Function;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.subscriber:Ljava/util/concurrent/Flow$Subscriber;
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
         9: .line 627
            goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 2 /* throwable */
        start local 2 // java.lang.Throwable throwable
        11: .line 628
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            aload 2 /* throwable */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
        end local 2 // java.lang.Throwable throwable
        12: .line 631
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   13     0       this  Ljdk/internal/net/http/ResponseSubscribers$SubscriberAdapter<TS;TR;>;
            6    7     2  throwable  Ljava/lang/Throwable;
           11   12     2  throwable  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     2       2  any
           3     4       5  Class java.lang.Throwable
           8     9      10  Class java.lang.Throwable

  public java.util.concurrent.CompletionStage<R> 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$SubscriberAdapter this
         0: .line 635
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter.cf:Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 0 // jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseSubscribers$SubscriberAdapter<TS;TR;>;
    Signature: ()Ljava/util/concurrent/CompletionStage<TR;>;

  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$SubscriberAdapter.onNext:(Ljava/util/List;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <S::Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;R:Ljava/lang/Object;>Ljava/lang/Object;Ljava/net/http/HttpResponse$BodySubscriber<TR;>;
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 Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  public final SubscriberAdapter = jdk.internal.net.http.ResponseSubscribers$SubscriberAdapter of jdk.internal.net.http.ResponseSubscribers