public interface jdk.incubator.http.HttpRequest$BodyProcessor 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$BodyProcessor
super_class: java.lang.Object
{
public static jdk.incubator.http.HttpRequest$BodyProcessor fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic jdk.incubator.http.HttpRequest$BodyProcessor.fromString:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 body Ljava/lang/String;
MethodParameters:
Name Flags
body
public static jdk.incubator.http.HttpRequest$BodyProcessor fromString(java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.incubator.http.RequestProcessors$StringProcessor
dup
aload 0
aload 1
invokespecial jdk.incubator.http.RequestProcessors$StringProcessor.<init>:(Ljava/lang/String;Ljava/nio/charset/Charset;)V
areturn
end local 1 end local 0 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$BodyProcessor fromInputStream(java.util.function.Supplier<? extends java.io.InputStream>);
descriptor: (Ljava/util/function/Supplier;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.RequestProcessors$InputStreamProcessor
dup
aload 0
invokespecial jdk.incubator.http.RequestProcessors$InputStreamProcessor.<init>:(Ljava/util/function/Supplier;)V
areturn
end local 0 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$BodyProcessor;
MethodParameters:
Name Flags
streamSupplier
public static jdk.incubator.http.HttpRequest$BodyProcessor fromByteArray(byte[]);
descriptor: ([B)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.RequestProcessors$ByteArrayProcessor
dup
aload 0
invokespecial jdk.incubator.http.RequestProcessors$ByteArrayProcessor.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buf [B
MethodParameters:
Name Flags
buf
public static jdk.incubator.http.HttpRequest$BodyProcessor fromByteArray(byte[], int, int);
descriptor: ([BII)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.incubator.http.RequestProcessors$ByteArrayProcessor
dup
aload 0
iload 1
iload 2
invokespecial jdk.incubator.http.RequestProcessors$ByteArrayProcessor.<init>:([BII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buf [B
0 1 1 offset I
0 1 2 length I
MethodParameters:
Name Flags
buf
offset
length
public static jdk.incubator.http.HttpRequest$BodyProcessor fromFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.RequestProcessors$FileProcessor
dup
aload 0
invokespecial jdk.incubator.http.RequestProcessors$FileProcessor.<init>:(Ljava/nio/file/Path;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
path
public static jdk.incubator.http.HttpRequest$BodyProcessor fromByteArrays(java.lang.Iterable<byte[]>);
descriptor: (Ljava/lang/Iterable;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.RequestProcessors$IterableProcessor
dup
aload 0
invokespecial jdk.incubator.http.RequestProcessors$IterableProcessor.<init>:(Ljava/lang/Iterable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iter Ljava/lang/Iterable<[B>;
Signature: (Ljava/lang/Iterable<[B>;)Ljdk/incubator/http/HttpRequest$BodyProcessor;
MethodParameters:
Name Flags
iter
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 BodyProcessor = jdk.incubator.http.HttpRequest$BodyProcessor of jdk.incubator.http.HttpRequest
ByteArrayProcessor = jdk.incubator.http.RequestProcessors$ByteArrayProcessor of jdk.incubator.http.RequestProcessors
FileProcessor = jdk.incubator.http.RequestProcessors$FileProcessor of jdk.incubator.http.RequestProcessors
InputStreamProcessor = jdk.incubator.http.RequestProcessors$InputStreamProcessor of jdk.incubator.http.RequestProcessors
IterableProcessor = jdk.incubator.http.RequestProcessors$IterableProcessor of jdk.incubator.http.RequestProcessors
StringProcessor = jdk.incubator.http.RequestProcessors$StringProcessor of jdk.incubator.http.RequestProcessors