public class jdk.internal.net.http.RequestPublishers$EmptyPublisher implements java.net.http.HttpRequest$BodyPublisher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.net.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;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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.internal.net.http.PullPublisher
dup
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aconst_null
invokespecial jdk.internal.net.http.PullPublisher.<init>:(Ljava/lang/Iterable;Ljava/lang/Throwable;)V
putfield jdk.internal.net.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/internal/net/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/internal/net/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.internal.net.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/internal/net/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.internal.net.http.RequestPublishers
InnerClasses:
public abstract BodyPublisher = java.net.http.HttpRequest$BodyPublisher of java.net.http.HttpRequest
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 EmptyPublisher = jdk.internal.net.http.RequestPublishers$EmptyPublisher of jdk.internal.net.http.RequestPublishers