class jdk.incubator.http.DefaultPublisher<T> implements java.util.concurrent.Flow$Publisher<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.DefaultPublisher
super_class: java.lang.Object
{
private final java.util.function.Supplier<java.util.Optional<T>> supplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Supplier<Ljava/util/Optional<TT;>;>;
private final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.util.function.Supplier<java.util.Optional<T>>, java.util.concurrent.Executor);
descriptor: (Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.incubator.http.DefaultPublisher.supplier:Ljava/util/function/Supplier;
2: aload 0
aload 2
putfield jdk.incubator.http.DefaultPublisher.executor:Ljava/util/concurrent/Executor;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/DefaultPublisher<TT;>;
0 4 1 supplier Ljava/util/function/Supplier<Ljava/util/Optional<TT;>;>;
0 4 2 executor Ljava/util/concurrent/Executor;
Signature: (Ljava/util/function/Supplier<Ljava/util/Optional<TT;>;>;Ljava/util/concurrent/Executor;)V
MethodParameters:
Name Flags
supplier
executor
public void subscribe(java.util.concurrent.Flow$Subscriber<? super T>);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
new jdk.incubator.http.DefaultPublisher$Subscription
dup
aload 0
aload 1
invokespecial jdk.incubator.http.DefaultPublisher$Subscription.<init>:(Ljdk/incubator/http/DefaultPublisher;Ljava/util/concurrent/Flow$Subscriber;)V
invokeinterface java.util.concurrent.Flow$Subscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
1: goto 4
StackMap locals:
StackMap stack: java.util.concurrent.RejectedExecutionException
2: astore 2
start local 2 3: aload 1
new java.lang.IllegalStateException
dup
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.Flow$Subscriber.onError:(Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/DefaultPublisher<TT;>;
0 5 1 subscriber Ljava/util/concurrent/Flow$Subscriber<-TT;>;
3 4 2 e Ljava/util/concurrent/RejectedExecutionException;
Exception table:
from to target type
0 1 2 Class java.util.concurrent.RejectedExecutionException
Signature: (Ljava/util/concurrent/Flow$Subscriber<-TT;>;)V
MethodParameters:
Name Flags
subscriber
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/concurrent/Flow$Publisher<TT;>;
SourceFile: "DefaultPublisher.java"
NestMembers:
jdk.incubator.http.DefaultPublisher$Subscription
InnerClasses:
public abstract Publisher = java.util.concurrent.Flow$Publisher of java.util.concurrent.Flow
public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
private Subscription = jdk.incubator.http.DefaultPublisher$Subscription of jdk.incubator.http.DefaultPublisher