class jdk.incubator.http.Http1Request$StreamSubscriber extends jdk.incubator.http.RequestProcessors$ProcessorBase implements java.util.concurrent.Flow$Subscriber<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.Http1Request$StreamSubscriber
super_class: jdk.incubator.http.RequestProcessors$ProcessorBase
{
volatile java.util.concurrent.Flow$Subscription subscription;
descriptor: Ljava/util/concurrent/Flow$Subscription;
flags: (0x0040) ACC_VOLATILE
volatile boolean ;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final jdk.incubator.http.Http1Request this$0;
descriptor: Ljdk/incubator/http/Http1Request;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.incubator.http.Http1Request, boolean);
descriptor: (Ljdk/incubator/http/Http1Request;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
aload 0
invokespecial jdk.incubator.http.RequestProcessors$ProcessorBase.<init>:()V
1: aload 0
iload 2
putfield jdk.incubator.http.Http1Request$StreamSubscriber.includeHeaders:Z
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1Request$StreamSubscriber;
0 3 2 includeHeaders Z
MethodParameters:
Name Flags
this$0 final
includeHeaders
public void onSubscribe(java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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 2
1: new java.lang.IllegalStateException
dup
ldc "already subscribed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.incubator.http.Http1Request$StreamSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
3: aload 1
lconst_1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)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 subscription Ljava/util/concurrent/Flow$Subscription;
MethodParameters:
Name Flags
subscription
public void onNext(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.cf:Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "subscription already completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.includeHeaders:Z
ifeq 6
3: iconst_0
istore 2
start local 2 4: iconst_5
istore 3
start local 3 5: goto 8
end local 3 end local 2 6: StackMap locals:
StackMap stack:
iconst_2
istore 2
start local 2 7: iconst_3
istore 3
start local 3 8: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 4
start local 4 9: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iconst_3
aload 1
aastore
10: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iconst_2
iload 4
invokestatic jdk.incubator.http.Http1Request.getHeader:(I)Ljava/nio/ByteBuffer;
aastore
11: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iconst_4
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.http.Http1Request.CRLF_BUFFER:()Ljava/nio/ByteBuffer;
aastore
12: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.chan:Ljdk/incubator/http/HttpConnection;
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iload 2
iload 3
invokevirtual jdk.incubator.http.HttpConnection.write:([Ljava/nio/ByteBuffer;II)J
pop2
13: goto 17
StackMap locals: jdk.incubator.http.Http1Request$StreamSubscriber java.nio.ByteBuffer int int int
StackMap stack: java.io.IOException
14: astore 5
start local 5 15: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
16: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.cf:Ljava/util/concurrent/CompletableFuture;
aload 5
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
end local 5 17: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.incubator.http.Http1Request$StreamSubscriber.includeHeaders:Z
18: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
lconst_1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/incubator/http/Http1Request$StreamSubscriber;
0 20 1 item Ljava/nio/ByteBuffer;
4 6 2 startbuf I
7 20 2 startbuf I
5 6 3 nbufs I
8 20 3 nbufs I
9 20 4 chunklen I
15 17 5 e Ljava/io/IOException;
Exception table:
from to target type
12 13 14 Class java.io.IOException
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.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.cf:Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.isDone:()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.cf:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
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=4, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.cf:Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "subscription already completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iconst_3
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.http.Http1Request.EMPTY_CHUNK_HEADER:()Ljava/nio/ByteBuffer;
aastore
3: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iconst_4
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.http.Http1Request.CRLF_BUFFER:()Ljava/nio/ByteBuffer;
aastore
4: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.chan:Ljdk/incubator/http/HttpConnection;
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.buffers:[Ljava/nio/ByteBuffer;
iconst_3
iconst_2
invokevirtual jdk.incubator.http.HttpConnection.write:([Ljava/nio/ByteBuffer;II)J
pop2
5: goto 9
StackMap locals:
StackMap stack: java.io.IOException
6: astore 1
start local 1 7: aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.cf:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
8: return
end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Request$StreamSubscriber.this$0:Ljdk/incubator/http/Http1Request;
getfield jdk.incubator.http.Http1Request.cf:Ljava/util/concurrent/CompletableFuture;
aconst_null
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/incubator/http/Http1Request$StreamSubscriber;
7 9 1 ex Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
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
}
Signature: Ljdk/incubator/http/RequestProcessors$ProcessorBase;Ljava/util/concurrent/Flow$Subscriber<Ljava/nio/ByteBuffer;>;
SourceFile: "Http1Request.java"
NestHost: jdk.incubator.http.Http1Request
InnerClasses:
public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
StreamSubscriber = jdk.incubator.http.Http1Request$StreamSubscriber of jdk.incubator.http.Http1Request
abstract ProcessorBase = jdk.incubator.http.RequestProcessors$ProcessorBase of jdk.incubator.http.RequestProcessors