public final class jdk.internal.net.http.RequestPublishers$PublisherAdapter implements java.net.http.HttpRequest$BodyPublisher
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.RequestPublishers$PublisherAdapter
super_class: java.lang.Object
{
private final java.util.concurrent.Flow$Publisher<? extends java.nio.ByteBuffer> publisher;
descriptor: Ljava/util/concurrent/Flow$Publisher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;
private final long contentLength;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.concurrent.Flow$Publisher<? extends java.nio.ByteBuffer>, );
descriptor: (Ljava/util/concurrent/Flow$Publisher;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, 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
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.Flow$Publisher
putfield jdk.internal.net.http.RequestPublishers$PublisherAdapter.publisher:Ljava/util/concurrent/Flow$Publisher;
2: aload 0
lload 2
putfield jdk.internal.net.http.RequestPublishers$PublisherAdapter.contentLength:J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/RequestPublishers$PublisherAdapter;
0 4 1 publisher Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;
0 4 2 contentLength J
Signature: (Ljava/util/concurrent/Flow$Publisher<+Ljava/nio/ByteBuffer;>;J)V
MethodParameters:
Name Flags
publisher
contentLength
public final long contentLength();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.RequestPublishers$PublisherAdapter.contentLength:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/RequestPublishers$PublisherAdapter;
public final void subscribe(java.util.concurrent.Flow$Subscriber<? super java.nio.ByteBuffer>);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.RequestPublishers$PublisherAdapter.publisher: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$PublisherAdapter;
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 final PublisherAdapter = jdk.internal.net.http.RequestPublishers$PublisherAdapter of jdk.internal.net.http.RequestPublishers