class jdk.incubator.http.Http1Request$StreamSubscriber extends jdk.incubator.http.Http1Exchange$Http1BodySubscriber
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.Http1Request$StreamSubscriber
super_class: jdk.incubator.http.Http1Exchange$Http1BodySubscriber
{
final jdk.incubator.http.Http1Request this$0;
descriptor: Ljdk/incubator/http/Http1Request;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.incubator.http.Http1Request);
descriptor: (Ljdk/incubator/http/Http1Request;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
aload 0
invokespecial jdk.incubator.http.Http1Exchange$Http1BodySubscriber.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/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
getfield jdk.incubator.http.Http1Request$StreamSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
ifnull 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.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
aload 2
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljava/lang/Throwable;)V
end local 2 3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.incubator.http.Http1Request$StreamSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/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.incubator.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.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
aload 2
invokevirtual jdk.incubator.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.incubator.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.incubator.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.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
aload 3
invokevirtual jdk.incubator.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/incubator/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 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.incubator.http.Http1Request$StreamSubscriber.complete:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
3: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
aload 1
invokevirtual jdk.incubator.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/incubator/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.incubator.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.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
aload 1
invokevirtual jdk.incubator.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.incubator.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.incubator.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.incubator.http.Http1Request$StreamSubscriber.complete:Z
8: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
aload 1
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
9: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.http1Exchange:Ljdk/incubator/http/Http1Exchange;
getstatic jdk.incubator.http.Http1Request$StreamSubscriber.COMPLETED:Ljava/util/List;
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
10: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.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/incubator/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.incubator.http.Http1Request$StreamSubscriber.onNext:(Ljava/nio/ByteBuffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Http1Request.java"
NestHost: jdk.incubator.http.Http1Request
InnerClasses:
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
abstract Http1BodySubscriber = jdk.incubator.http.Http1Exchange$Http1BodySubscriber of jdk.incubator.http.Http1Exchange
StreamSubscriber = jdk.incubator.http.Http1Request$StreamSubscriber of jdk.incubator.http.Http1Request