class jdk.incubator.http.RequestPublishers$InputStreamPublisher implements jdk.incubator.http.HttpRequest$BodyPublisher
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.RequestPublishers$InputStreamPublisher
  super_class: java.lang.Object
{
  private final java.util.function.Supplier<? extends java.io.InputStream> streamSupplier;
    descriptor: Ljava/util/function/Supplier;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Supplier<+Ljava/io/InputStream;>;

  void <init>(java.util.function.Supplier<? extends java.io.InputStream>);
    descriptor: (Ljava/util/function/Supplier;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
        start local 1 // java.util.function.Supplier streamSupplier
         0: .line 327
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 328
            aload 0 /* this */
            aload 1 /* streamSupplier */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.function.Supplier
            putfield jdk.incubator.http.RequestPublishers$InputStreamPublisher.streamSupplier:Ljava/util/function/Supplier;
         2: .line 329
            return
        end local 1 // java.util.function.Supplier streamSupplier
        end local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Ljdk/incubator/http/RequestPublishers$InputStreamPublisher;
            0    3     1  streamSupplier  Ljava/util/function/Supplier<+Ljava/io/InputStream;>;
    Signature: (Ljava/util/function/Supplier<+Ljava/io/InputStream;>;)V
    MethodParameters:
                Name  Flags
      streamSupplier  

  public void subscribe(java.util.concurrent.Flow$Subscriber<? super java.nio.ByteBuffer>);
    descriptor: (Ljava/util/concurrent/Flow$Subscriber;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
        start local 1 // java.util.concurrent.Flow$Subscriber subscriber
         0: .line 334
            aload 0 /* this */
            getfield jdk.incubator.http.RequestPublishers$InputStreamPublisher.streamSupplier:Ljava/util/function/Supplier;
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.io.InputStream
            astore 3 /* is */
        start local 3 // java.io.InputStream is
         1: .line 335
            aload 3 /* is */
            ifnonnull 5
         2: .line 336
            new java.io.IOException
            dup
            ldc "streamSupplier returned null"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            astore 4 /* t */
        start local 4 // java.lang.Throwable t
         3: .line 337
            new jdk.incubator.http.PullPublisher
            dup
            aconst_null
            aload 4 /* t */
            invokespecial jdk.incubator.http.PullPublisher.<init>:(Ljava/lang/Iterable;Ljava/lang/Throwable;)V
            astore 2 /* publisher */
        end local 4 // java.lang.Throwable t
        start local 2 // jdk.incubator.http.PullPublisher publisher
         4: .line 338
            goto 6
        end local 2 // jdk.incubator.http.PullPublisher publisher
         5: .line 339
      StackMap locals: jdk.incubator.http.RequestPublishers$InputStreamPublisher java.util.concurrent.Flow$Subscriber top java.io.InputStream
      StackMap stack:
            new jdk.incubator.http.PullPublisher
            dup
            aload 0 /* this */
            aload 3 /* is */
            invokevirtual jdk.incubator.http.RequestPublishers$InputStreamPublisher.iterableOf:(Ljava/io/InputStream;)Ljava/lang/Iterable;
            aconst_null
            invokespecial jdk.incubator.http.PullPublisher.<init>:(Ljava/lang/Iterable;Ljava/lang/Throwable;)V
            astore 2 /* publisher */
        start local 2 // jdk.incubator.http.PullPublisher publisher
         6: .line 341
      StackMap locals: jdk.incubator.http.RequestPublishers$InputStreamPublisher java.util.concurrent.Flow$Subscriber jdk.incubator.http.PullPublisher java.io.InputStream
      StackMap stack:
            aload 2 /* publisher */
            aload 1 /* subscriber */
            invokevirtual jdk.incubator.http.PullPublisher.subscribe:(Ljava/util/concurrent/Flow$Subscriber;)V
         7: .line 342
            return
        end local 3 // java.io.InputStream is
        end local 2 // jdk.incubator.http.PullPublisher publisher
        end local 1 // java.util.concurrent.Flow$Subscriber subscriber
        end local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Ljdk/incubator/http/RequestPublishers$InputStreamPublisher;
            0    8     1  subscriber  Ljava/util/concurrent/Flow$Subscriber<-Ljava/nio/ByteBuffer;>;
            4    5     2   publisher  Ljdk/incubator/http/PullPublisher<Ljava/nio/ByteBuffer;>;
            6    8     2   publisher  Ljdk/incubator/http/PullPublisher<Ljava/nio/ByteBuffer;>;
            1    8     3          is  Ljava/io/InputStream;
            3    4     4           t  Ljava/lang/Throwable;
    Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
            Name  Flags
      subscriber  

  protected java.lang.Iterable<java.nio.ByteBuffer> iterableOf(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Ljava/lang/Iterable;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
        start local 1 // java.io.InputStream is
         0: .line 345
            aload 1 /* is */
            invokedynamic iterator(Ljava/io/InputStream;)Ljava/lang/Iterable;
              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/util/Iterator;
                  jdk/incubator/http/RequestPublishers$InputStreamPublisher.lambda$0(Ljava/io/InputStream;)Ljava/util/Iterator; (6)
                  ()Ljava/util/Iterator;
            areturn
        end local 1 // java.io.InputStream is
        end local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/RequestPublishers$InputStreamPublisher;
            0    1     1    is  Ljava/io/InputStream;
    Signature: (Ljava/io/InputStream;)Ljava/lang/Iterable<Ljava/nio/ByteBuffer;>;
    MethodParameters:
      Name  Flags
      is    

  public long contentLength();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
         0: .line 350
            ldc -1
            lreturn
        end local 0 // jdk.incubator.http.RequestPublishers$InputStreamPublisher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/RequestPublishers$InputStreamPublisher;

  private static java.util.Iterator lambda$0(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Ljava/util/Iterator;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 345
            new jdk.incubator.http.RequestPublishers$StreamIterator
            dup
            aload 0
            invokespecial jdk.incubator.http.RequestPublishers$StreamIterator.<init>:(Ljava/io/InputStream;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "RequestPublishers.java"
NestHost: jdk.incubator.http.RequestPublishers
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 BodyPublisher = jdk.incubator.http.HttpRequest$BodyPublisher of jdk.incubator.http.HttpRequest
  InputStreamPublisher = jdk.incubator.http.RequestPublishers$InputStreamPublisher of jdk.incubator.http.RequestPublishers
  StreamIterator = jdk.incubator.http.RequestPublishers$StreamIterator of jdk.incubator.http.RequestPublishers