public interface jdk.incubator.http.HttpResponse$BodyHandler<T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.incubator.http.HttpResponse$BodyHandler
super_class: java.lang.Object
{
public abstract jdk.incubator.http.HttpResponse$BodySubscriber<T> apply(int, jdk.incubator.http.HttpHeaders);
descriptor: (ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber<TT;>;
MethodParameters:
Name Flags
statusCode
responseHeaders
public static jdk.incubator.http.HttpResponse$BodyHandler<java.lang.Void> fromSubscriber(java.util.concurrent.Flow$Subscriber<? super java.util.List<java.nio.ByteBuffer>>);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokedynamic apply(Ljava/util/concurrent/Flow$Subscriber;)Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$0(Ljava/util/concurrent/Flow$Subscriber;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 subscriber Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;)Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/lang/Void;>;
MethodParameters:
Name Flags
subscriber
public static <S extends java.util.concurrent.Flow$Subscriber<? super java.util.List<java.nio.ByteBuffer>>, T> jdk.incubator.http.HttpResponse$BodyHandler<T> fromSubscriber(S, java.util.function.Function<S, T>);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokedynamic apply(Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;)Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$2(Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 subscriber TS;
0 3 1 finisher Ljava/util/function/Function<TS;TT;>;
Signature: <S::Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;T:Ljava/lang/Object;>(TS;Ljava/util/function/Function<TS;TT;>;)Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
MethodParameters:
Name Flags
subscriber
finisher
public static <U> jdk.incubator.http.HttpResponse$BodyHandler<U> discard(U);
descriptor: (Ljava/lang/Object;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic apply(Ljava/lang/Object;)Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$3(Ljava/lang/Object;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value TU;
Signature: <U:Ljava/lang/Object;>(TU;)Ljdk/incubator/http/HttpResponse$BodyHandler<TU;>;
MethodParameters:
Name Flags
value
public static jdk.incubator.http.HttpResponse$BodyHandler<java.lang.String> asString(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokedynamic apply(Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$4(Ljava/nio/charset/Charset;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 charset Ljava/nio/charset/Charset;
Signature: (Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/lang/String;>;
MethodParameters:
Name Flags
charset
public static jdk.incubator.http.HttpResponse$BodyHandler<java.nio.file.Path> asFile(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.List.of:([Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 3: aload 3
ifnull 10
4: aload 0
invokestatic jdk.incubator.http.HttpResponse.pathForSecurityCheck:(Ljava/nio/file/Path;)Ljava/lang/String;
astore 4
start local 4 5: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
6: aload 2
getstatic java.nio.file.StandardOpenOption.DELETE_ON_CLOSE:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkDelete:(Ljava/lang/String;)V
8: StackMap locals: java.util.List java.lang.SecurityManager java.lang.String
StackMap stack:
aload 2
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 10
9: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
end local 4 10: StackMap locals:
StackMap stack:
new jdk.incubator.http.HttpResponse$PathBodyHandler
dup
aload 0
aload 1
invokespecial jdk.incubator.http.HttpResponse$PathBodyHandler.<init>:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 file Ljava/nio/file/Path;
0 11 1 openOptions [Ljava/nio/file/OpenOption;
2 11 2 opts Ljava/util/List<Ljava/nio/file/OpenOption;>;
3 11 3 sm Ljava/lang/SecurityManager;
5 10 4 fn Ljava/lang/String;
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
file
openOptions
public static jdk.incubator.http.HttpResponse$BodyHandler<java.nio.file.Path> asFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.CREATE:Ljava/nio/file/StandardOpenOption;
aastore
dup
iconst_1
1: getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
aastore
2: invokestatic jdk.incubator.http.HttpResponse$BodyHandler.asFile:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljdk/incubator/http/HttpResponse$BodyHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/nio/file/Path;
Signature: (Ljava/nio/file/Path;)Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
file
public static jdk.incubator.http.HttpResponse$BodyHandler<java.nio.file.Path> asFileDownload(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.List.of:([Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 3: aload 3
ifnull 10
4: aload 0
invokestatic jdk.incubator.http.HttpResponse.pathForSecurityCheck:(Ljava/nio/file/Path;)Ljava/lang/String;
astore 4
start local 4 5: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
6: aload 2
getstatic java.nio.file.StandardOpenOption.DELETE_ON_CLOSE:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkDelete:(Ljava/lang/String;)V
8: StackMap locals: java.util.List java.lang.SecurityManager java.lang.String
StackMap stack:
aload 2
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 10
9: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
end local 4 10: StackMap locals:
StackMap stack:
new jdk.incubator.http.HttpResponse$FileDownloadBodyHandler
dup
aload 0
aload 1
invokespecial jdk.incubator.http.HttpResponse$FileDownloadBodyHandler.<init>:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 directory Ljava/nio/file/Path;
0 11 1 openOptions [Ljava/nio/file/OpenOption;
2 11 2 opts Ljava/util/List<Ljava/nio/file/OpenOption;>;
3 11 3 sm Ljava/lang/SecurityManager;
5 10 4 fn Ljava/lang/String;
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
directory
openOptions
public static jdk.incubator.http.HttpResponse$BodyHandler<java.io.InputStream> asInputStream();
descriptor: ()Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic apply()Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$5(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/io/InputStream;>;
public static jdk.incubator.http.HttpResponse$BodyHandler<java.lang.Void> asByteArrayConsumer(java.util.function.Consumer<java.util.Optional<byte[]>>);
descriptor: (Ljava/util/function/Consumer;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokedynamic apply(Ljava/util/function/Consumer;)Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$6(Ljava/util/function/Consumer;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 consumer Ljava/util/function/Consumer<Ljava/util/Optional<[B>;>;
Signature: (Ljava/util/function/Consumer<Ljava/util/Optional<[B>;>;)Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/lang/Void;>;
MethodParameters:
Name Flags
consumer
public static jdk.incubator.http.HttpResponse$BodyHandler<byte[]> asByteArray();
descriptor: ()Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic apply()Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$7(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljdk/incubator/http/HttpResponse$BodyHandler<[B>;
public static jdk.incubator.http.HttpResponse$BodyHandler<java.lang.String> asString();
descriptor: ()Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic apply()Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$8(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/lang/String;>;
public static <T> jdk.incubator.http.HttpResponse$BodyHandler<T> buffering(jdk.incubator.http.HttpResponse$BodyHandler<T>, int);
descriptor: (Ljdk/incubator/http/HttpResponse$BodyHandler;I)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
ifgt 3
2: new java.lang.IllegalArgumentException
dup
ldc "must be greater than 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
invokedynamic apply(Ljdk/incubator/http/HttpResponse$BodyHandler;I)Ljdk/incubator/http/HttpResponse$BodyHandler;
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:
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$9(Ljdk/incubator/http/HttpResponse$BodyHandler;IILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber; (6 itf)
(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 downstreamHandler Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
0 4 1 bufferSize I
Signature: <T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;I)Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
MethodParameters:
Name Flags
downstreamHandler
bufferSize
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$0(java.util.concurrent.Flow$Subscriber, int, jdk.incubator.http.HttpHeaders);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 1 start local 2 0: aload 0
1: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/http/HttpResponse$BodyHandler.lambda$1(Ljava/util/concurrent/Flow$Subscriber;)Ljava/lang/Void; (6 itf)
(Ljava/util/concurrent/Flow$Subscriber;)Ljava/lang/Void;
2: invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.fromSubscriber:(Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
3: areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 status I
0 4 2 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$2(java.util.concurrent.Flow$Subscriber, java.util.function.Function, int, jdk.incubator.http.HttpHeaders);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 2 start local 3 0: aload 0
1: aload 1
2: invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.fromSubscriber:(Ljava/util/concurrent/Flow$Subscriber;Ljava/util/function/Function;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
3: areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 status I
0 4 3 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$3(java.lang.Object, int, jdk.incubator.http.HttpHeaders);
descriptor: (Ljava/lang/Object;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=3
start local 1 start local 2 0: aload 0
invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.discard:(Ljava/lang/Object;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 status I
0 1 2 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$4(java.nio.charset.Charset, int, jdk.incubator.http.HttpHeaders);
descriptor: (Ljava/nio/charset/Charset;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=3
start local 1 start local 2 0: aload 0
invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.asString:(Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 status I
0 1 2 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$5(int, jdk.incubator.http.HttpHeaders);
descriptor: (ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.asInputStream:()Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 status I
0 1 1 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$6(java.util.function.Consumer, int, jdk.incubator.http.HttpHeaders);
descriptor: (Ljava/util/function/Consumer;ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=3
start local 1 start local 2 0: aload 0
invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.asByteArrayConsumer:(Ljava/util/function/Consumer;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 status I
0 1 2 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$7(int, jdk.incubator.http.HttpHeaders);
descriptor: (ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.asByteArray:()Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 status I
0 1 1 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$8(int, jdk.incubator.http.HttpHeaders);
descriptor: (ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.incubator.http.internal.common.Utils.charsetFrom:(Ljdk/incubator/http/HttpHeaders;)Ljava/nio/charset/Charset;
invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.asString:(Ljava/nio/charset/Charset;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 status I
0 1 1 headers Ljdk/incubator/http/HttpHeaders;
private static jdk.incubator.http.HttpResponse$BodySubscriber lambda$9(jdk.incubator.http.HttpResponse$BodyHandler, int, int, jdk.incubator.http.HttpHeaders);
descriptor: (Ljdk/incubator/http/HttpResponse$BodyHandler;IILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 2 start local 3 0: aload 0
iload 2
aload 3
invokeinterface jdk.incubator.http.HttpResponse$BodyHandler.apply:(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
1: iload 1
2: invokestatic jdk.incubator.http.HttpResponse$BodySubscriber.buffering:(Ljdk/incubator/http/HttpResponse$BodySubscriber;I)Ljdk/incubator/http/HttpResponse$BodySubscriber;
3: areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 status I
0 4 3 headers Ljdk/incubator/http/HttpHeaders;
private static java.lang.Void lambda$1(java.util.concurrent.Flow$Subscriber);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/util/concurrent/Flow$Subscriber<Ljava/lang/Object;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HttpResponse.java"
NestHost: jdk.incubator.http.HttpResponse
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 BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
public abstract BodySubscriber = jdk.incubator.http.HttpResponse$BodySubscriber of jdk.incubator.http.HttpResponse
FileDownloadBodyHandler = jdk.incubator.http.HttpResponse$FileDownloadBodyHandler of jdk.incubator.http.HttpResponse
PathBodyHandler = jdk.incubator.http.HttpResponse$PathBodyHandler of jdk.incubator.http.HttpResponse
RuntimeVisibleAnnotations:
java.lang.FunctionalInterface()