class jdk.internal.net.http.Stream$RequestSubscriber implements java.util.concurrent.Flow$Subscriber<java.nio.ByteBuffer>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.net.http.Stream$RequestSubscriber
  super_class: java.lang.Object
{
  private final long contentLength;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile long remainingContentLength;
    descriptor: J
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

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

  final java.util.concurrent.ConcurrentLinkedDeque<java.nio.ByteBuffer> outgoing;
    descriptor: Ljava/util/concurrent/ConcurrentLinkedDeque;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentLinkedDeque<Ljava/nio/ByteBuffer;>;

  private final java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> errorRef;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;

  final jdk.internal.net.http.common.SequentialScheduler sendScheduler;
    descriptor: Ljdk/internal/net/http/common/SequentialScheduler;
    flags: (0x0010) ACC_FINAL

  final jdk.internal.net.http.Stream this$0;
    descriptor: Ljdk/internal/net/http/Stream;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  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: .line 752
            ldc Ljdk/internal/net/http/Stream;
            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.Stream$RequestSubscriber.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(jdk.internal.net.http.Stream, long);
    descriptor: (Ljdk/internal/net/http/Stream;J)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
        start local 2 // long contentLen
         0: .line 771
            aload 0 /* this */
            aload 1
            putfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 761
            aload 0 /* this */
            new java.util.concurrent.ConcurrentLinkedDeque
            dup
            invokespecial java.util.concurrent.ConcurrentLinkedDeque.<init>:()V
            putfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
         2: .line 763
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield jdk.internal.net.http.Stream$RequestSubscriber.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
         3: .line 772
            aload 0 /* this */
            lload 2 /* contentLen */
            putfield jdk.internal.net.http.Stream$RequestSubscriber.contentLength:J
         4: .line 773
            aload 0 /* this */
            lload 2 /* contentLen */
            putfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
         5: .line 774
            aload 0 /* this */
         6: .line 775
            aload 0 /* this */
            invokedynamic run(Ljdk/internal/net/http/Stream$RequestSubscriber;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  jdk/internal/net/http/Stream$RequestSubscriber.trySend()V (5)
                  ()V
            invokestatic jdk.internal.net.http.common.SequentialScheduler.synchronizedScheduler:(Ljava/lang/Runnable;)Ljdk/internal/net/http/common/SequentialScheduler;
         7: .line 774
            putfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
         8: .line 776
            return
        end local 2 // long contentLen
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            0    9     2  contentLen  J
    MethodParameters:
            Name  Flags
      this$0      final
      contentLen  

  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.Stream$RequestSubscriber this
        start local 1 // java.util.concurrent.Flow$Subscription subscription
         0: .line 780
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            ifnull 2
         1: .line 781
            new java.lang.IllegalStateException
            dup
            ldc "already subscribed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 783
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* subscription */
            putfield jdk.internal.net.http.Stream$RequestSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
         3: .line 784
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 5
         4: .line 785
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "RequestSubscriber: onSubscribe, request 1"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         5: .line 786
      StackMap locals:
      StackMap stack:
            aload 1 /* subscription */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         6: .line 787
            return
        end local 1 // java.util.concurrent.Flow$Subscription subscription
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            0    7     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=6, locals=3, args_size=2
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
        start local 1 // java.nio.ByteBuffer item
         0: .line 791
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 792
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "RequestSubscriber: onNext(%d)"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* item */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         2: .line 793
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
            invokevirtual java.util.concurrent.ConcurrentLinkedDeque.size:()I
            istore 2 /* size */
        start local 2 // int size
         3: .line 794
            getstatic jdk.internal.net.http.Stream$RequestSubscriber.$assertionsDisabled:Z
            ifne 4
            iload 2 /* size */
            ifeq 4
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "non-zero size: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         4: .line 795
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* item */
            invokevirtual jdk.internal.net.http.Stream$RequestSubscriber.onNextImpl:(Ljava/nio/ByteBuffer;)V
         5: .line 796
            return
        end local 2 // int size
        end local 1 // java.nio.ByteBuffer item
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            0    6     1  item  Ljava/nio/ByteBuffer;
            3    6     2  size  I
    MethodParameters:
      Name  Flags
      item  

  private void onNextImpl(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
        start local 1 // java.nio.ByteBuffer item
         0: .line 800
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.requestBodyCF:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
            ifeq 4
         1: .line 802
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
         2: .line 803
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         3: .line 804
            return
         4: .line 806
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
            aload 1 /* item */
            invokevirtual java.util.concurrent.ConcurrentLinkedDeque.add:(Ljava/lang/Object;)Z
            pop
         5: .line 807
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
         6: .line 808
            return
        end local 1 // java.nio.ByteBuffer item
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            0    7     1  item  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      item  

  public void onError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
        start local 1 // java.lang.Throwable throwable
         0: .line 812
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 813
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            aload 1 /* throwable */
            invokedynamic get(Ljava/lang/Throwable;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/net/http/Stream$RequestSubscriber.lambda$1(Ljava/lang/Throwable;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/util/function/Supplier;)V
         2: .line 815
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
            aconst_null
            aload 1 /* throwable */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 4
         3: .line 816
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
         4: .line 818
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable throwable
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            0    5     1  throwable  Ljava/lang/Throwable;
    MethodParameters:
           Name  Flags
      throwable  

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
         0: .line 822
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "RequestSubscriber: onComplete"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         1: .line 823
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
            invokevirtual java.util.concurrent.ConcurrentLinkedDeque.size:()I
            istore 1 /* size */
        start local 1 // int size
         2: .line 824
            getstatic jdk.internal.net.http.Stream$RequestSubscriber.$assertionsDisabled:Z
            ifne 3
            iload 1 /* size */
            ifeq 3
            iload 1 /* size */
            iconst_1
            if_icmpeq 3
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "non-zero or one size: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         3: .line 827
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getstatic jdk.internal.net.http.Stream.COMPLETED:Ljava/nio/ByteBuffer;
            invokevirtual jdk.internal.net.http.Stream$RequestSubscriber.onNextImpl:(Ljava/nio/ByteBuffer;)V
         4: .line 828
            return
        end local 1 // int size
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            2    5     1  size  I

  void trySend();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
         0: .line 837
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.lang.Throwable
            astore 1 /* t */
        start local 1 // java.lang.Throwable t
         1: .line 838
            aload 1 /* t */
            ifnull 9
         2: .line 839
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
         3: .line 840
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.requestBodyCF:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
            ifeq 5
         4: return
         5: .line 841
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         6: .line 842
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.requestBodyCF:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* t */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
         7: .line 843
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            aload 1 /* t */
            invokevirtual jdk.internal.net.http.Stream.cancelImpl:(Ljava/lang/Throwable;)V
         8: .line 844
            return
         9: .line 849
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
            invokevirtual java.util.concurrent.ConcurrentLinkedDeque.peekFirst:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            astore 2 /* item */
        start local 2 // java.nio.ByteBuffer item
        10: .line 850
            aload 2 /* item */
            ifnonnull 12
        11: return
        12: .line 851
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 2 /* item */
            getstatic jdk.internal.net.http.Stream.COMPLETED:Ljava/nio/ByteBuffer;
            if_acmpne 41
        13: .line 852
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
        14: .line 853
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.Stream$RequestSubscriber.complete:()V
        15: .line 854
            return
        16: .line 859
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 17
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "trySend: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* item */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        17: .line 860
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.Stream$RequestSubscriber.$assertionsDisabled:Z
            ifne 18
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.endStreamSent:Z
            ifeq 18
            new java.lang.AssertionError
            dup
            ldc "internal error, send data after END_STREAM flag"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        18: .line 861
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            aload 2 /* item */
            invokevirtual jdk.internal.net.http.Stream.getDataFrame:(Ljava/nio/ByteBuffer;)Ljdk/internal/net/http/frame/DataFrame;
            astore 3 /* df */
        start local 3 // jdk.internal.net.http.frame.DataFrame df
        19: .line 862
            aload 3 /* df */
            ifnonnull 23
        20: .line 863
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 22
        21: .line 864
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "trySend: can't send yet: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* item */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        22: .line 865
      StackMap locals: jdk.internal.net.http.frame.DataFrame
      StackMap stack:
            return
        23: .line 868
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.contentLength:J
            lconst_0
            lcmp
            ifle 38
        24: .line 869
            aload 0 /* this */
            dup
            getfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
            aload 3 /* df */
            invokevirtual jdk.internal.net.http.frame.DataFrame.getDataLength:()I
            i2l
            lsub
            putfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
        25: .line 870
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
            lconst_0
            lcmp
            ifge 35
        26: .line 871
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            invokevirtual jdk.internal.net.http.Stream.connection:()Ljdk/internal/net/http/HttpConnection;
            invokevirtual jdk.internal.net.http.HttpConnection.getConnectionFlow:()Ljdk/internal/net/http/common/FlowTube;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        27: .line 872
            ldc " stream="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.streamid:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        28: .line 873
            ldc "["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "] "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        29: .line 874
            ldc "Too many bytes in request body. Expected: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        30: .line 875
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.contentLength:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", got: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        31: .line 876
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.contentLength:J
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
            lsub
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
        32: .line 871
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 4 /* msg */
        start local 4 // java.lang.String msg
        33: .line 877
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.connection:Ljdk/internal/net/http/Http2Connection;
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.streamid:I
            iconst_1
            invokevirtual jdk.internal.net.http.Http2Connection.resetStream:(II)V
        34: .line 878
            new java.io.IOException
            dup
            aload 4 /* msg */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // java.lang.String msg
        35: .line 879
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
            lconst_0
            lcmp
            ifne 38
        36: .line 880
            aload 3 /* df */
            iconst_1
            invokevirtual jdk.internal.net.http.frame.DataFrame.setFlag:(I)V
        37: .line 881
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            iconst_1
            putfield jdk.internal.net.http.Stream.endStreamSent:Z
        38: .line 884
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 40
        39: .line 885
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "trySend: sending: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* df */
            invokevirtual jdk.internal.net.http.frame.DataFrame.getDataLength:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        40: .line 886
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.connection:Ljdk/internal/net/http/Http2Connection;
            aload 3 /* df */
            invokevirtual jdk.internal.net.http.Http2Connection.sendDataFrame:(Ljdk/internal/net/http/frame/DataFrame;)V
        end local 3 // jdk.internal.net.http.frame.DataFrame df
        41: .line 858
      StackMap locals:
      StackMap stack:
            aload 2 /* item */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 16
        42: .line 888
            getstatic jdk.internal.net.http.Stream$RequestSubscriber.$assertionsDisabled:Z
            ifne 43
            aload 2 /* item */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 43
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        43: .line 889
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
            invokevirtual java.util.concurrent.ConcurrentLinkedDeque.removeFirst:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            astore 3 /* b */
        start local 3 // java.nio.ByteBuffer b
        44: .line 890
            getstatic jdk.internal.net.http.Stream$RequestSubscriber.$assertionsDisabled:Z
            ifne 45
            aload 3 /* b */
            aload 2 /* item */
            if_acmpeq 45
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 3 // java.nio.ByteBuffer b
        end local 2 // java.nio.ByteBuffer item
        45: .line 891
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
            invokevirtual java.util.concurrent.ConcurrentLinkedDeque.peekFirst:()Ljava/lang/Object;
            ifnonnull 9
        46: .line 893
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 47
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "trySend: request 1"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        47: .line 894
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        end local 1 // java.lang.Throwable t
        48: .line 895
            goto 55
      StackMap locals: jdk.internal.net.http.Stream$RequestSubscriber
      StackMap stack: java.lang.Throwable
        49: astore 1 /* ex */
        start local 1 // java.lang.Throwable ex
        50: .line 896
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 51
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "trySend: "
            aload 1 /* ex */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        51: .line 897
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.sendScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
        52: .line 898
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        53: .line 899
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.requestBodyCF:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* ex */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
        54: .line 904
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            aload 1 /* ex */
            invokevirtual jdk.internal.net.http.Stream.cancelImpl:(Ljava/lang/Throwable;)V
        end local 1 // java.lang.Throwable ex
        55: .line 906
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   56     0  this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            1   48     1     t  Ljava/lang/Throwable;
           10   45     2  item  Ljava/nio/ByteBuffer;
           19   41     3    df  Ljdk/internal/net/http/frame/DataFrame;
           33   35     4   msg  Ljava/lang/String;
           44   45     3     b  Ljava/nio/ByteBuffer;
           50   55     1    ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     4      49  Class java.lang.Throwable
           5     8      49  Class java.lang.Throwable
           9    11      49  Class java.lang.Throwable
          12    15      49  Class java.lang.Throwable
          16    22      49  Class java.lang.Throwable
          23    48      49  Class java.lang.Throwable

  private void complete();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
         0: .line 909
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.remainingContentLength:J
            lstore 1 /* remaining */
        start local 1 // long remaining
         1: .line 910
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.contentLength:J
            lload 1 /* remaining */
            lsub
            lstore 3 /* written */
        start local 3 // long written
         2: .line 911
            lload 1 /* remaining */
            lconst_0
            lcmp
            ifle 11
         3: .line 912
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.connection:Ljdk/internal/net/http/Http2Connection;
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.streamid:I
            iconst_1
            invokevirtual jdk.internal.net.http.Http2Connection.resetStream:(II)V
         4: .line 914
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            invokevirtual jdk.internal.net.http.Stream.connection:()Ljdk/internal/net/http/HttpConnection;
            invokevirtual jdk.internal.net.http.HttpConnection.getConnectionFlow:()Ljdk/internal/net/http/common/FlowTube;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
         5: .line 915
            ldc " stream="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.streamid:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         6: .line 916
            ldc "["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "] "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 917
            ldc "Too few bytes returned by the publisher ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 918
            lload 3 /* written */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc "/"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 919
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.contentLength:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 914
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 921
      StackMap locals: long long
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.endStreamSent:Z
            ifne 14
        12: .line 922
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            iconst_1
            putfield jdk.internal.net.http.Stream.endStreamSent:Z
        13: .line 923
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.connection:Ljdk/internal/net/http/Http2Connection;
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            invokevirtual jdk.internal.net.http.Stream.getEmptyEndStreamDataFrame:()Ljdk/internal/net/http/frame/DataFrame;
            invokevirtual jdk.internal.net.http.Http2Connection.sendDataFrame:(Ljdk/internal/net/http/frame/DataFrame;)V
        14: .line 925
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.Stream$RequestSubscriber.this$0:Ljdk/internal/net/http/Stream;
            getfield jdk.internal.net.http.Stream.requestBodyCF:Ljava/util/concurrent/CompletableFuture;
            aconst_null
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
        15: .line 926
            return
        end local 3 // long written
        end local 1 // long remaining
        end local 0 // jdk.internal.net.http.Stream$RequestSubscriber this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   16     0       this  Ljdk/internal/net/http/Stream$RequestSubscriber;
            1   16     1  remaining  J
            2   16     3    written  J
    Exceptions:
      throws java.io.IOException

  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.internal.net.http.Stream$RequestSubscriber.onNext:(Ljava/nio/ByteBuffer;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$1(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 813
            new java.lang.StringBuilder
            dup
            ldc "RequestSubscriber: onError: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Flow$Subscriber<Ljava/nio/ByteBuffer;>;
SourceFile: "Stream.java"
NestHost: jdk.internal.net.http.Stream
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  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
  RequestSubscriber = jdk.internal.net.http.Stream$RequestSubscriber of jdk.internal.net.http.Stream