class jdk.incubator.http.RequestPublishers$EmptyPublisher implements jdk.incubator.http.HttpRequest$BodyPublisher
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.RequestPublishers$EmptyPublisher
super_class: java.lang.Object
{
private final java.util.concurrent.Flow$Publisher<java.nio.ByteBuffer> delegate;
descriptor: Ljava/util/concurrent/Flow$Publisher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Flow$Publisher<Ljava/nio/ByteBuffer;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new jdk.incubator.http.PullPublisher
dup
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aconst_null
invokespecial jdk.incubator.http.PullPublisher.<init>:(Ljava/lang/Iterable;Ljava/lang/Throwable;)V
putfield jdk.incubator.http.RequestPublishers$EmptyPublisher.delegate:Ljava/util/concurrent/Flow$Publisher;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/RequestPublishers$EmptyPublisher;
public long contentLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/RequestPublishers$EmptyPublisher;
public void subscribe(java.util.concurrent.Flow$Subscriber<? super java.nio.ByteBuffer>);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.RequestPublishers$EmptyPublisher.delegate:Ljava/util/concurrent/Flow$Publisher;
aload 1
invokeinterface java.util.concurrent.Flow$Publisher.subscribe:(Ljava/util/concurrent/Flow$Subscriber;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/RequestPublishers$EmptyPublisher;
0 2 1 subscriber Ljava/util/concurrent/Flow$Subscriber<-Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
subscriber
}
SourceFile: "RequestPublishers.java"
NestHost: jdk.incubator.http.RequestPublishers
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 BodyPublisher = jdk.incubator.http.HttpRequest$BodyPublisher of jdk.incubator.http.HttpRequest
EmptyPublisher = jdk.incubator.http.RequestPublishers$EmptyPublisher of jdk.incubator.http.RequestPublishers