public interface jdk.incubator.http.HttpResponse$MultiProcessor<U, T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.incubator.http.HttpResponse$MultiProcessor
super_class: java.lang.Object
{
public abstract java.util.Optional<jdk.incubator.http.HttpResponse$BodyHandler<T>> onRequest(jdk.incubator.http.HttpRequest);
descriptor: (Ljdk/incubator/http/HttpRequest;)Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljdk/incubator/http/HttpRequest;)Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;>;
MethodParameters:
Name Flags
request
public abstract void onResponse(jdk.incubator.http.HttpResponse<T>);
descriptor: (Ljdk/incubator/http/HttpResponse;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljdk/incubator/http/HttpResponse<TT;>;)V
MethodParameters:
Name Flags
response
public abstract void onError(jdk.incubator.http.HttpRequest, java.lang.Throwable);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljava/lang/Throwable;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
request
t
public abstract java.util.concurrent.CompletableFuture<U> completion(java.util.concurrent.CompletableFuture<java.lang.Void>, java.util.concurrent.CompletableFuture<java.lang.Void>);
descriptor: (Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;)Ljava/util/concurrent/CompletableFuture<TU;>;
MethodParameters:
Name Flags
onComplete
onFinalPushPromise
public static <V> jdk.incubator.http.HttpResponse$MultiProcessor<jdk.incubator.http.MultiMapResult<V>, V> asMap(java.util.function.Function<jdk.incubator.http.HttpRequest, java.util.Optional<jdk.incubator.http.HttpResponse$BodyHandler<V>>>, boolean);
descriptor: (Ljava/util/function/Function;Z)Ljdk/incubator/http/HttpResponse$MultiProcessor;
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.ResponseProcessors$MultiProcessorImpl
dup
aload 0
iload 1
invokespecial jdk.incubator.http.ResponseProcessors$MultiProcessorImpl.<init>:(Ljava/util/function/Function;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pushHandler Ljava/util/function/Function<Ljdk/incubator/http/HttpRequest;Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TV;>;>;>;
0 1 1 completion Z
Signature: <V:Ljava/lang/Object;>(Ljava/util/function/Function<Ljdk/incubator/http/HttpRequest;Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TV;>;>;>;Z)Ljdk/incubator/http/HttpResponse$MultiProcessor<Ljdk/incubator/http/MultiMapResult<TV;>;TV;>;
MethodParameters:
Name Flags
pushHandler
completion
public static <V> jdk.incubator.http.HttpResponse$MultiProcessor<jdk.incubator.http.MultiMapResult<V>, V> asMap(java.util.function.Function<jdk.incubator.http.HttpRequest, java.util.Optional<jdk.incubator.http.HttpResponse$BodyHandler<V>>>);
descriptor: (Ljava/util/function/Function;)Ljdk/incubator/http/HttpResponse$MultiProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic jdk.incubator.http.HttpResponse$MultiProcessor.asMap:(Ljava/util/function/Function;Z)Ljdk/incubator/http/HttpResponse$MultiProcessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pushHandler Ljava/util/function/Function<Ljdk/incubator/http/HttpRequest;Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TV;>;>;>;
Signature: <V:Ljava/lang/Object;>(Ljava/util/function/Function<Ljdk/incubator/http/HttpRequest;Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TV;>;>;>;)Ljdk/incubator/http/HttpResponse$MultiProcessor<Ljdk/incubator/http/MultiMapResult<TV;>;TV;>;
MethodParameters:
Name Flags
pushHandler
}
Signature: <U:Ljava/lang/Object;T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HttpResponse.java"
NestHost: jdk.incubator.http.HttpResponse
InnerClasses:
public abstract BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
public abstract MultiProcessor = jdk.incubator.http.HttpResponse$MultiProcessor of jdk.incubator.http.HttpResponse
MultiProcessorImpl = jdk.incubator.http.ResponseProcessors$MultiProcessorImpl of jdk.incubator.http.ResponseProcessors