public interface jdk.incubator.http.HttpRequest$BodyPublisher extends java.util.concurrent.Flow$Publisher<java.nio.ByteBuffer>
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: jdk.incubator.http.HttpRequest$BodyPublisher
  super_class: java.lang.Object
{
  public static jdk.incubator.http.HttpRequest$BodyPublisher fromPublisher(java.util.concurrent.Flow$Publisher<? extends java.nio.ByteBuffer>);
    descriptor: (Ljava/util/concurrent/Flow$Publisher;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.util.concurrent.Flow$Publisher publisher
         0: .line 637
            new jdk.incubator.http.RequestPublishers$PublisherAdapter
            dup
            aload 0 /* publisher */
            ldc -1
            invokespecial jdk.incubator.http.RequestPublishers$PublisherAdapter.<init>:(Ljava/util/concurrent/Flow$Publisher;J)V
            areturn
        end local 0 // java.util.concurrent.Flow$Publisher publisher
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  publisher  Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;
    Signature: (Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    MethodParameters:
           Name  Flags
      publisher  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromPublisher(java.util.concurrent.Flow$Publisher<? extends java.nio.ByteBuffer>, long);
    descriptor: (Ljava/util/concurrent/Flow$Publisher;J)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.util.concurrent.Flow$Publisher publisher
        start local 1 // long contentLength
         0: .line 662
            lload 1 /* contentLength */
            lconst_1
            lcmp
            ifge 2
         1: .line 663
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "non-positive contentLength: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 1 /* contentLength */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 664
      StackMap locals:
      StackMap stack:
            new jdk.incubator.http.RequestPublishers$PublisherAdapter
            dup
            aload 0 /* publisher */
            lload 1 /* contentLength */
            invokespecial jdk.incubator.http.RequestPublishers$PublisherAdapter.<init>:(Ljava/util/concurrent/Flow$Publisher;J)V
            areturn
        end local 1 // long contentLength
        end local 0 // java.util.concurrent.Flow$Publisher publisher
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    3     0      publisher  Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;
            0    3     1  contentLength  J
    Signature: (Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;J)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    MethodParameters:
               Name  Flags
      publisher      
      contentLength  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromString(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String body
         0: .line 676
            aload 0 /* body */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokestatic jdk.incubator.http.HttpRequest$BodyPublisher.fromString:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
            areturn
        end local 0 // java.lang.String body
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  body  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      body  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromString(java.lang.String, java.nio.charset.Charset);
    descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.lang.String s
        start local 1 // java.nio.charset.Charset charset
         0: .line 688
            new jdk.incubator.http.RequestPublishers$StringPublisher
            dup
            aload 0 /* s */
            aload 1 /* charset */
            invokespecial jdk.incubator.http.RequestPublishers$StringPublisher.<init>:(Ljava/lang/String;Ljava/nio/charset/Charset;)V
            areturn
        end local 1 // java.nio.charset.Charset charset
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0        s  Ljava/lang/String;
            0    1     1  charset  Ljava/nio/charset/Charset;
    MethodParameters:
         Name  Flags
      s        
      charset  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromInputStream(java.util.function.Supplier<? extends java.io.InputStream>);
    descriptor: (Ljava/util/function/Supplier;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.util.function.Supplier streamSupplier
         0: .line 703
            new jdk.incubator.http.RequestPublishers$InputStreamPublisher
            dup
            aload 0 /* streamSupplier */
            invokespecial jdk.incubator.http.RequestPublishers$InputStreamPublisher.<init>:(Ljava/util/function/Supplier;)V
            areturn
        end local 0 // java.util.function.Supplier streamSupplier
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  streamSupplier  Ljava/util/function/Supplier<+Ljava/io/InputStream;>;
    Signature: (Ljava/util/function/Supplier<+Ljava/io/InputStream;>;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    MethodParameters:
                Name  Flags
      streamSupplier  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromByteArray(byte[]);
    descriptor: ([B)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // byte[] buf
         0: .line 713
            new jdk.incubator.http.RequestPublishers$ByteArrayPublisher
            dup
            aload 0 /* buf */
            invokespecial jdk.incubator.http.RequestPublishers$ByteArrayPublisher.<init>:([B)V
            areturn
        end local 0 // byte[] buf
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   buf  [B
    MethodParameters:
      Name  Flags
      buf   

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromByteArray(byte[], int, int);
    descriptor: ([BII)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // byte[] buf
        start local 1 // int offset
        start local 2 // int length
         0: .line 729
            iload 1 /* offset */
            iload 2 /* length */
            aload 0 /* buf */
            arraylength
            invokestatic java.util.Objects.checkFromIndexSize:(III)I
            pop
         1: .line 730
            new jdk.incubator.http.RequestPublishers$ByteArrayPublisher
            dup
            aload 0 /* buf */
            iload 1 /* offset */
            iload 2 /* length */
            invokespecial jdk.incubator.http.RequestPublishers$ByteArrayPublisher.<init>:([BII)V
            areturn
        end local 2 // int length
        end local 1 // int offset
        end local 0 // byte[] buf
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0     buf  [B
            0    2     1  offset  I
            0    2     2  length  I
    MethodParameters:
        Name  Flags
      buf     
      offset  
      length  

  private static java.lang.String pathForSecurityCheck(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 734
            aload 0 /* path */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.getPath:()Ljava/lang/String;
            areturn
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromFile(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 748
            aload 0 /* path */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 749
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* sm */
        start local 1 // java.lang.SecurityManager sm
         2: .line 750
            aload 1 /* sm */
            ifnull 4
         3: .line 751
            aload 1 /* sm */
            aload 0 /* path */
            invokestatic jdk.incubator.http.HttpRequest$BodyPublisher.pathForSecurityCheck:(Ljava/nio/file/Path;)Ljava/lang/String;
            invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
         4: .line 752
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aload 0 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.notExists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 6
         5: .line 753
            new java.io.FileNotFoundException
            dup
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 0 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 754
      StackMap locals:
      StackMap stack:
            new jdk.incubator.http.RequestPublishers$FilePublisher
            dup
            aload 0 /* path */
            invokespecial jdk.incubator.http.RequestPublishers$FilePublisher.<init>:(Ljava/nio/file/Path;)V
            areturn
        end local 1 // java.lang.SecurityManager sm
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  path  Ljava/nio/file/Path;
            2    7     1    sm  Ljava/lang/SecurityManager;
    Exceptions:
      throws java.io.FileNotFoundException
    MethodParameters:
      Name  Flags
      path  

  public static jdk.incubator.http.HttpRequest$BodyPublisher fromByteArrays(java.lang.Iterable<byte[]>);
    descriptor: (Ljava/lang/Iterable;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Iterable iter
         0: .line 767
            new jdk.incubator.http.RequestPublishers$IterablePublisher
            dup
            aload 0 /* iter */
            invokespecial jdk.incubator.http.RequestPublishers$IterablePublisher.<init>:(Ljava/lang/Iterable;)V
            areturn
        end local 0 // java.lang.Iterable iter
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  iter  Ljava/lang/Iterable<[B>;
    Signature: (Ljava/lang/Iterable<[B>;)Ljdk/incubator/http/HttpRequest$BodyPublisher;
    MethodParameters:
      Name  Flags
      iter  

  public static jdk.incubator.http.HttpRequest$BodyPublisher noBody();
    descriptor: ()Ljdk/incubator/http/HttpRequest$BodyPublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 777
            new jdk.incubator.http.RequestPublishers$EmptyPublisher
            dup
            invokespecial jdk.incubator.http.RequestPublishers$EmptyPublisher.<init>:()V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public abstract long contentLength();
    descriptor: ()J
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Flow$Publisher<Ljava/nio/ByteBuffer;>;
SourceFile: "HttpRequest.java"
NestHost: jdk.incubator.http.HttpRequest
InnerClasses:
  public abstract Publisher = java.util.concurrent.Flow$Publisher of java.util.concurrent.Flow
  public abstract BodyPublisher = jdk.incubator.http.HttpRequest$BodyPublisher of jdk.incubator.http.HttpRequest
  ByteArrayPublisher = jdk.incubator.http.RequestPublishers$ByteArrayPublisher of jdk.incubator.http.RequestPublishers
  EmptyPublisher = jdk.incubator.http.RequestPublishers$EmptyPublisher of jdk.incubator.http.RequestPublishers
  FilePublisher = jdk.incubator.http.RequestPublishers$FilePublisher of jdk.incubator.http.RequestPublishers
  InputStreamPublisher = jdk.incubator.http.RequestPublishers$InputStreamPublisher of jdk.incubator.http.RequestPublishers
  IterablePublisher = jdk.incubator.http.RequestPublishers$IterablePublisher of jdk.incubator.http.RequestPublishers
  final PublisherAdapter = jdk.incubator.http.RequestPublishers$PublisherAdapter of jdk.incubator.http.RequestPublishers
  StringPublisher = jdk.incubator.http.RequestPublishers$StringPublisher of jdk.incubator.http.RequestPublishers