public interface jdk.incubator.http.HttpResponse$MultiSubscriber<U, T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.incubator.http.HttpResponse$MultiSubscriber
super_class: java.lang.Object
{
public abstract jdk.incubator.http.HttpResponse$BodyHandler<T> onRequest(jdk.incubator.http.HttpRequest);
descriptor: (Ljdk/incubator/http/HttpRequest;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljdk/incubator/http/HttpRequest;)Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
MethodParameters:
Name Flags
request
public abstract java.util.Optional<jdk.incubator.http.HttpResponse$BodyHandler<T>> onPushPromise(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
pushPromise
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$MultiSubscriber<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$MultiSubscriber;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new jdk.incubator.http.ResponseSubscribers$MultiSubscriberImpl
dup
aload 0
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$MultiSubscriber.lambda$0(Ljava/util/Optional;)Ljdk/incubator/http/HttpResponse$BodyHandler; (6 itf)
(Ljava/util/Optional;)Ljdk/incubator/http/HttpResponse$BodyHandler;
invokeinterface java.util.function.Function.andThen:(Ljava/util/function/Function;)Ljava/util/function/Function;
1: aload 0
2: iload 1
3: invokespecial jdk.incubator.http.ResponseSubscribers$MultiSubscriberImpl.<init>:(Ljava/util/function/Function;Ljava/util/function/Function;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 reqHandler Ljava/util/function/Function<Ljdk/incubator/http/HttpRequest;Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TV;>;>;>;
0 4 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$MultiSubscriber<Ljdk/incubator/http/MultiMapResult<TV;>;TV;>;
MethodParameters:
Name Flags
reqHandler
completion
public static <V> jdk.incubator.http.HttpResponse$MultiSubscriber<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$MultiSubscriber;
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$MultiSubscriber.asMap:(Ljava/util/function/Function;Z)Ljdk/incubator/http/HttpResponse$MultiSubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 reqHandler 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$MultiSubscriber<Ljdk/incubator/http/MultiMapResult<TV;>;TV;>;
MethodParameters:
Name Flags
reqHandler
private static jdk.incubator.http.HttpResponse$BodyHandler lambda$0(java.util.Optional);
descriptor: (Ljava/util/Optional;)Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast jdk.incubator.http.HttpResponse$BodyHandler
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 optv Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<TV;>;>;
}
Signature: <U:Ljava/lang/Object;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 BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
public abstract MultiSubscriber = jdk.incubator.http.HttpResponse$MultiSubscriber of jdk.incubator.http.HttpResponse
MultiSubscriberImpl = jdk.incubator.http.ResponseSubscribers$MultiSubscriberImpl of jdk.incubator.http.ResponseSubscribers