class jdk.incubator.http.ResponseProcessors$ConsumerProcessor extends jdk.incubator.http.ResponseProcessors$AbstractProcessor<java.lang.Void>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.ResponseProcessors$ConsumerProcessor
  super_class: jdk.incubator.http.ResponseProcessors$AbstractProcessor
{
  private final java.util.function.Consumer<java.util.Optional<byte[]>> consumer;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljava/util/Optional<[B>;>;

  private java.util.concurrent.Flow$Subscription subscription;
    descriptor: Ljava/util/concurrent/Flow$Subscription;
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.CompletableFuture<java.lang.Void> result;
    descriptor: Ljava/util/concurrent/CompletableFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;

  void <init>(java.util.function.Consumer<java.util.Optional<byte[]>>);
    descriptor: (Ljava/util/function/Consumer;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
        start local 1 // java.util.function.Consumer consumer
         0: .line 73
            aload 0 /* this */
            invokespecial jdk.incubator.http.ResponseProcessors$AbstractProcessor.<init>:()V
         1: .line 71
            aload 0 /* this */
            new jdk.incubator.http.internal.common.MinimalFuture
            dup
            invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
            putfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.result:Ljava/util/concurrent/CompletableFuture;
         2: .line 74
            aload 0 /* this */
            aload 1 /* consumer */
            putfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.consumer:Ljava/util/function/Consumer;
         3: .line 75
            return
        end local 1 // java.util.function.Consumer consumer
        end local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljdk/incubator/http/ResponseProcessors$ConsumerProcessor;
            0    4     1  consumer  Ljava/util/function/Consumer<Ljava/util/Optional<[B>;>;
    Signature: (Ljava/util/function/Consumer<Ljava/util/Optional<[B>;>;)V
    MethodParameters:
          Name  Flags
      consumer  

  public java.util.concurrent.CompletionStage<java.lang.Void> getBody();
    descriptor: ()Ljava/util/concurrent/CompletionStage;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
         0: .line 79
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.result:Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/ResponseProcessors$ConsumerProcessor;
    Signature: ()Ljava/util/concurrent/CompletionStage<Ljava/lang/Void;>;

  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.incubator.http.ResponseProcessors$ConsumerProcessor this
        start local 1 // java.util.concurrent.Flow$Subscription subscription
         0: .line 84
            aload 0 /* this */
            aload 1 /* subscription */
            putfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.subscription:Ljava/util/concurrent/Flow$Subscription;
         1: .line 85
            aload 1 /* subscription */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         2: .line 86
            return
        end local 1 // java.util.concurrent.Flow$Subscription subscription
        end local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Ljdk/incubator/http/ResponseProcessors$ConsumerProcessor;
            0    3     1  subscription  Ljava/util/concurrent/Flow$Subscription;
    MethodParameters:
              Name  Flags
      subscription  

  public void onNext(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
        start local 1 // java.nio.ByteBuffer item
         0: .line 90
            aload 1 /* item */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            newarray 8
            astore 2 /* buf */
        start local 2 // byte[] buf
         1: .line 91
            aload 1 /* item */
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
            pop
         2: .line 92
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.consumer:Ljava/util/function/Consumer;
            aload 2 /* buf */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         3: .line 93
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.subscription:Ljava/util/concurrent/Flow$Subscription;
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         4: .line 94
            return
        end local 2 // byte[] buf
        end local 1 // java.nio.ByteBuffer item
        end local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/incubator/http/ResponseProcessors$ConsumerProcessor;
            0    5     1  item  Ljava/nio/ByteBuffer;
            1    5     2   buf  [B
    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 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
        start local 1 // java.lang.Throwable throwable
         0: .line 98
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.result:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* throwable */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
         1: .line 99
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Ljdk/incubator/http/ResponseProcessors$ConsumerProcessor;
            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.incubator.http.ResponseProcessors$ConsumerProcessor this
         0: .line 103
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.consumer:Ljava/util/function/Consumer;
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         1: .line 104
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$ConsumerProcessor.result:Ljava/util/concurrent/CompletableFuture;
            aconst_null
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
         2: .line 105
            return
        end local 0 // jdk.incubator.http.ResponseProcessors$ConsumerProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/ResponseProcessors$ConsumerProcessor;

  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.nio.ByteBuffer
            invokevirtual jdk.incubator.http.ResponseProcessors$ConsumerProcessor.onNext:(Ljava/nio/ByteBuffer;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljdk/incubator/http/ResponseProcessors$AbstractProcessor<Ljava/lang/Void;>;
SourceFile: "ResponseProcessors.java"
NestHost: jdk.incubator.http.ResponseProcessors
InnerClasses:
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  abstract AbstractProcessor = jdk.incubator.http.ResponseProcessors$AbstractProcessor of jdk.incubator.http.ResponseProcessors
  ConsumerProcessor = jdk.incubator.http.ResponseProcessors$ConsumerProcessor of jdk.incubator.http.ResponseProcessors