final class jdk.internal.net.http.Http1Request$StreamSubscriber extends jdk.internal.net.http.Http1Exchange$Http1BodySubscriber
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.Http1Request$StreamSubscriber
super_class: jdk.internal.net.http.Http1Exchange$Http1BodySubscriber
{
final jdk.internal.net.http.Http1Request this$0;
descriptor: Ljdk/internal/net/http/Http1Request;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.net.http.Http1Request);
descriptor: (Ljdk/internal/net/http/Http1Request;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
aload 0
aload 1
getfield jdk.internal.net.http.Http1Request.debug:Ljdk/internal/net/http/common/Logger;
invokespecial jdk.internal.net.http.Http1Exchange$Http1BodySubscriber.<init>:(Ljdk/internal/net/http/common/Logger;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Request$StreamSubscriber;
MethodParameters:
Name Flags
this$0 final
public void onSubscribe(java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.net.http.Http1Request$StreamSubscriber.isSubscribed:()Z
ifeq 4
1: new java.lang.IllegalStateException
dup
ldc "already subscribed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
aload 2
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/lang/Throwable;)V
end local 2 3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.net.http.Http1Request$StreamSubscriber.setSubscription:(Ljava/util/concurrent/Flow$Subscription;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/Http1Request$StreamSubscriber;
0 6 1 subscription Ljava/util/concurrent/Flow$Subscription;
2 3 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
subscription
public void onNext(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.complete:Z
ifeq 5
2: new java.lang.IllegalStateException
dup
ldc "subscription already completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
aload 2
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/lang/Throwable;)V
end local 2 4: goto 11
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 6: new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 7: aload 3
iload 2
invokestatic jdk.internal.net.http.Http1Request.getHeader:(I)Ljava/nio/ByteBuffer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
8: aload 3
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: aload 3
getstatic jdk.internal.net.http.Http1Request.CRLF:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
10: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
aload 3
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
end local 3 end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/Http1Request$StreamSubscriber;
0 12 1 item Ljava/nio/ByteBuffer;
3 4 2 t Ljava/lang/Throwable;
6 11 2 chunklen I
7 11 3 l Ljava/util/ArrayList<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
item
public java.lang.String currentStateMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "streaming request body "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.complete:Z
ifeq 1
ldc "complete"
goto 2
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: ldc "incomplete"
StackMap locals: jdk.internal.net.http.Http1Request$StreamSubscriber
StackMap stack: java.lang.StringBuilder java.lang.String
2: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http1Request$StreamSubscriber;
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)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.Http1Request$StreamSubscriber.complete:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.Http1Request$StreamSubscriber.cancelSubscription:()V
3: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
aload 1
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/lang/Throwable;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/Http1Request$StreamSubscriber;
0 5 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.complete:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
ldc "subscription already completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
aload 1
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/lang/Throwable;)V
end local 1 3: goto 11
4: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 5: aload 1
getstatic jdk.internal.net.http.Http1Request.EMPTY_CHUNK_BYTES:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: aload 1
getstatic jdk.internal.net.http.Http1Request.CRLF:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
7: aload 0
iconst_1
putfield jdk.internal.net.http.Http1Request$StreamSubscriber.complete:Z
8: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
aload 1
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
9: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
getfield jdk.internal.net.http.Http1Request.http1Exchange:Ljdk/internal/net/http/Http1Exchange;
getstatic jdk.internal.net.http.Http1Request$StreamSubscriber.COMPLETED:Ljava/util/List;
invokevirtual jdk.internal.net.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
10: aload 0
getfield jdk.internal.net.http.Http1Request$StreamSubscriber.this$0:Ljdk/internal/net/http/Http1Request;
invokevirtual jdk.internal.net.http.Http1Request.setFinished:()V
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/Http1Request$StreamSubscriber;
2 3 1 t Ljava/lang/Throwable;
5 11 1 l Ljava/util/ArrayList<Ljava/nio/ByteBuffer;>;
public void onNext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.ByteBuffer
invokevirtual jdk.internal.net.http.Http1Request$StreamSubscriber.onNext:(Ljava/nio/ByteBuffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Http1Request.java"
NestHost: jdk.internal.net.http.Http1Request
InnerClasses:
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
abstract Http1BodySubscriber = jdk.internal.net.http.Http1Exchange$Http1BodySubscriber of jdk.internal.net.http.Http1Exchange
final StreamSubscriber = jdk.internal.net.http.Http1Request$StreamSubscriber of jdk.internal.net.http.Http1Request