public class jdk.internal.net.http.RequestPublishers$StreamIterator implements java.util.Iterator<java.nio.ByteBuffer>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.net.http.RequestPublishers$StreamIterator
  super_class: java.lang.Object
{
  final java.io.InputStream is;
    descriptor: Ljava/io/InputStream;
    flags: (0x0010) ACC_FINAL

  final java.util.function.Supplier<? extends java.nio.ByteBuffer> bufSupplier;
    descriptor: Ljava/util/function/Supplier;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/function/Supplier<+Ljava/nio/ByteBuffer;>;

  volatile java.nio.ByteBuffer nextBuffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0040) ACC_VOLATILE

  volatile boolean need2Read;
    descriptor: Z
    flags: (0x0040) ACC_VOLATILE

  volatile boolean haveNext;
    descriptor: Z
    flags: (0x0040) ACC_VOLATILE

  void <init>(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
        start local 1 // java.io.InputStream is
         0: .line 315
            aload 0 /* this */
            aload 1 /* is */
            invokedynamic get()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/common/Utils.getBuffer()Ljava/nio/ByteBuffer; (6)
                  ()Ljava/nio/ByteBuffer;
            invokespecial jdk.internal.net.http.RequestPublishers$StreamIterator.<init>:(Ljava/io/InputStream;Ljava/util/function/Supplier;)V
         1: .line 316
            return
        end local 1 // java.io.InputStream is
        end local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/RequestPublishers$StreamIterator;
            0    2     1    is  Ljava/io/InputStream;
    MethodParameters:
      Name  Flags
      is    

  void <init>(java.io.InputStream, java.util.function.Supplier<? extends java.nio.ByteBuffer>);
    descriptor: (Ljava/io/InputStream;Ljava/util/function/Supplier;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
        start local 1 // java.io.InputStream is
        start local 2 // java.util.function.Supplier bufSupplier
         0: .line 318
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 311
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.RequestPublishers$StreamIterator.need2Read:Z
         2: .line 319
            aload 0 /* this */
            aload 1 /* is */
            putfield jdk.internal.net.http.RequestPublishers$StreamIterator.is:Ljava/io/InputStream;
         3: .line 320
            aload 0 /* this */
            aload 2 /* bufSupplier */
            putfield jdk.internal.net.http.RequestPublishers$StreamIterator.bufSupplier:Ljava/util/function/Supplier;
         4: .line 321
            return
        end local 2 // java.util.function.Supplier bufSupplier
        end local 1 // java.io.InputStream is
        end local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Ljdk/internal/net/http/RequestPublishers$StreamIterator;
            0    5     1           is  Ljava/io/InputStream;
            0    5     2  bufSupplier  Ljava/util/function/Supplier<+Ljava/nio/ByteBuffer;>;
    Signature: (Ljava/io/InputStream;Ljava/util/function/Supplier<+Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
             Name  Flags
      is           
      bufSupplier  

  private int read();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
         0: .line 328
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.bufSupplier:Ljava/util/function/Supplier;
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            putfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
         1: .line 329
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
         2: .line 330
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.array:()[B
            astore 1 /* buf */
        start local 1 // byte[] buf
         3: .line 331
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.arrayOffset:()I
            istore 2 /* offset */
        start local 2 // int offset
         4: .line 332
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            istore 3 /* cap */
        start local 3 // int cap
         5: .line 334
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.is:Ljava/io/InputStream;
            aload 1 /* buf */
            iload 2 /* offset */
            iload 3 /* cap */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* n */
        start local 4 // int n
         6: .line 335
            iload 4 /* n */
            iconst_m1
            if_icmpne 9
         7: .line 336
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.is:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.close:()V
         8: .line 337
            iconst_m1
            ireturn
         9: .line 340
      StackMap locals: jdk.internal.net.http.RequestPublishers$StreamIterator byte[] int int int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            iload 4 /* n */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
            pop
        10: .line 341
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            iconst_0
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
        11: .line 342
            iload 4 /* n */
        12: ireturn
        end local 4 // int n
        13: .line 343
      StackMap locals: jdk.internal.net.http.RequestPublishers$StreamIterator byte[] int int
      StackMap stack: java.io.IOException
            pop
        14: .line 344
            iconst_m1
            ireturn
        end local 3 // int cap
        end local 2 // int offset
        end local 1 // byte[] buf
        end local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Ljdk/internal/net/http/RequestPublishers$StreamIterator;
            3   15     1     buf  [B
            4   15     2  offset  I
            5   15     3     cap  I
            6   13     4       n  I
      Exception table:
        from    to  target  type
           5     8      13  Class java.io.IOException
           9    12      13  Class java.io.IOException

  public synchronized boolean hasNext();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
         0: .line 350
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.need2Read:Z
            ifeq 7
         1: .line 351
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.RequestPublishers$StreamIterator.read:()I
            iconst_m1
            if_icmpeq 2
            iconst_1
            goto 3
      StackMap locals:
      StackMap stack: jdk.internal.net.http.RequestPublishers$StreamIterator
         2: iconst_0
      StackMap locals: jdk.internal.net.http.RequestPublishers$StreamIterator
      StackMap stack: jdk.internal.net.http.RequestPublishers$StreamIterator int
         3: putfield jdk.internal.net.http.RequestPublishers$StreamIterator.haveNext:Z
         4: .line 352
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.haveNext:Z
            ifeq 6
         5: .line 353
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.RequestPublishers$StreamIterator.need2Read:Z
         6: .line 355
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.haveNext:Z
            ireturn
         7: .line 357
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.haveNext:Z
            ireturn
        end local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/internal/net/http/RequestPublishers$StreamIterator;

  public synchronized java.nio.ByteBuffer next();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
         0: .line 362
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.RequestPublishers$StreamIterator.hasNext:()Z
            ifne 2
         1: .line 363
            new java.util.NoSuchElementException
            dup
            invokespecial java.util.NoSuchElementException.<init>:()V
            athrow
         2: .line 365
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.RequestPublishers$StreamIterator.need2Read:Z
         3: .line 366
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$StreamIterator.nextBuffer:Ljava/nio/ByteBuffer;
            areturn
        end local 0 // jdk.internal.net.http.RequestPublishers$StreamIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/net/http/RequestPublishers$StreamIterator;

  public java.lang.Object next();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual jdk.internal.net.http.RequestPublishers$StreamIterator.next:()Ljava/nio/ByteBuffer;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/nio/ByteBuffer;>;
SourceFile: "RequestPublishers.java"
NestHost: jdk.internal.net.http.RequestPublishers
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public StreamIterator = jdk.internal.net.http.RequestPublishers$StreamIterator of jdk.internal.net.http.RequestPublishers