public class jdk.internal.net.http.common.SSLTube implements jdk.internal.net.http.common.FlowTube
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.net.http.common.SSLTube
super_class: java.lang.Object
{
final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0010) ACC_FINAL
private final jdk.internal.net.http.common.FlowTube tube;
descriptor: Ljdk/internal/net/http/common/FlowTube;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper readSubscriber;
descriptor: Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper writeSubscription;
descriptor: Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.common.SSLFlowDelegate sslDelegate;
descriptor: Ljdk/internal/net/http/common/SSLFlowDelegate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLEngine engine;
descriptor: Ljavax/net/ssl/SSLEngine;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean finished;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.util.concurrent.Flow$Subscription readSubscription;
descriptor: Ljava/util/concurrent/Flow$Subscription;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final jdk.internal.net.http.common.Demand writeDemand;
descriptor: Ljdk/internal/net/http/common/Demand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/net/http/common/SSLTube;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.common.SSLTube.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.net.ssl.SSLEngine, java.util.concurrent.Executor, jdk.internal.net.http.common.FlowTube);
descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljdk/internal/net/http/common/FlowTube;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
aload 3
invokespecial jdk.internal.net.http.common.SSLTube.<init>:(Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;Ljdk/internal/net/http/common/FlowTube;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/common/SSLTube;
0 2 1 engine Ljavax/net/ssl/SSLEngine;
0 2 2 executor Ljava/util/concurrent/Executor;
0 2 3 tube Ljdk/internal/net/http/common/FlowTube;
MethodParameters:
Name Flags
engine
executor
tube
public void <init>(javax.net.ssl.SSLEngine, java.util.concurrent.Executor, java.util.function.Consumer<java.nio.ByteBuffer>, jdk.internal.net.http.common.FlowTube);
descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;Ljdk/internal/net/http/common/FlowTube;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: aload 0
invokedynamic get(Ljdk/internal/net/http/common/SSLTube;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/net/http/common/SSLTube.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
putfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
3: aload 0
new jdk.internal.net.http.common.Demand
dup
invokespecial jdk.internal.net.http.common.Demand.<init>:()V
putfield jdk.internal.net.http.common.SSLTube.writeDemand:Ljdk/internal/net/http/common/Demand;
4: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
aload 4
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.net.http.common.FlowTube
putfield jdk.internal.net.http.common.SSLTube.tube:Ljdk/internal/net/http/common/FlowTube;
7: aload 0
new jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper
dup
aload 0
invokespecial jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.<init>:(Ljdk/internal/net/http/common/SSLTube;)V
putfield jdk.internal.net.http.common.SSLTube.writeSubscription:Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
8: aload 0
new jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper
dup
aload 0
invokespecial jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper.<init>:(Ljdk/internal/net/http/common/SSLTube;)V
putfield jdk.internal.net.http.common.SSLTube.readSubscriber:Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;
9: aload 0
aload 1
putfield jdk.internal.net.http.common.SSLTube.engine:Ljavax/net/ssl/SSLEngine;
10: aload 0
new jdk.internal.net.http.common.SSLTube$SSLTubeFlowDelegate
dup
aload 0
aload 1
11: aload 2
12: aload 3
13: aload 0
getfield jdk.internal.net.http.common.SSLTube.readSubscriber:Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;
14: aload 4
invokespecial jdk.internal.net.http.common.SSLTube$SSLTubeFlowDelegate.<init>:(Ljdk/internal/net/http/common/SSLTube;Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;Ljdk/internal/net/http/common/FlowTube;)V
15: putfield jdk.internal.net.http.common.SSLTube.sslDelegate:Ljdk/internal/net/http/common/SSLFlowDelegate;
16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/net/http/common/SSLTube;
0 17 1 engine Ljavax/net/ssl/SSLEngine;
0 17 2 executor Ljava/util/concurrent/Executor;
0 17 3 recycler Ljava/util/function/Consumer<Ljava/nio/ByteBuffer;>;
0 17 4 tube Ljdk/internal/net/http/common/FlowTube;
Signature: (Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer<Ljava/nio/ByteBuffer;>;Ljdk/internal/net/http/common/FlowTube;)V
MethodParameters:
Name Flags
engine
executor
recycler
tube
public java.util.concurrent.CompletableFuture<java.lang.String> getALPN();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.common.SSLTube.sslDelegate:Ljdk/internal/net/http/common/SSLFlowDelegate;
invokevirtual jdk.internal.net.http.common.SSLFlowDelegate.alpn:()Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/common/SSLTube;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/String;>;
public void subscribe(java.util.concurrent.Flow$Subscriber<? super java.util.List<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.common.SSLTube.readSubscriber:Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;
invokevirtual jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper.dropSubscription:()V
1: aload 0
getfield jdk.internal.net.http.common.SSLTube.readSubscriber:Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;
aload 1
invokevirtual jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper.setDelegate:(Ljava/util/concurrent/Flow$Subscriber;)V
2: aload 1
aload 0
getfield jdk.internal.net.http.common.SSLTube.readSubscription:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/common/SSLTube;
0 4 1 s Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;)V
MethodParameters:
Name Flags
s
public boolean isFinished();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.common.SSLTube.finished:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/common/SSLTube;
public void connectFlows(jdk.internal.net.http.common.FlowTube$TubePublisher, jdk.internal.net.http.common.FlowTube$TubeSubscriber);
descriptor: (Ljdk/internal/net/http/common/FlowTube$TubePublisher;Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 1
aload 0
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "connecting flows"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube.readSubscriber:Ljdk/internal/net/http/common/SSLTube$SSLSubscriberWrapper;
aload 2
invokevirtual jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper.setDelegate:(Ljava/util/concurrent/Flow$Subscriber;)V
2: aload 1
aload 0
invokeinterface jdk.internal.net.http.common.FlowTube$TubePublisher.subscribe:(Ljava/util/concurrent/Flow$Subscriber;)V
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/common/SSLTube;
0 4 1 writePub Ljdk/internal/net/http/common/FlowTube$TubePublisher;
0 4 2 readSub Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
MethodParameters:
Name Flags
writePub
readSub
public void onSubscribe(java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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.common.SSLTube.writeSubscription:Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.delegate:Ljava/util/concurrent/Flow$Subscription;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
4: StackMap locals: java.util.concurrent.Flow$Subscription
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube.writeSubscription:Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
aload 1
invokevirtual jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.setSubscription:(Ljava/util/concurrent/Flow$Subscription;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/common/SSLTube;
0 6 1 subscription Ljava/util/concurrent/Flow$Subscription;
2 6 2 x Ljava/util/concurrent/Flow$Subscription;
MethodParameters:
Name Flags
subscription
public void onNext(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, 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.common.SSLTube.writeDemand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
istore 2
start local 2 2: getstatic jdk.internal.net.http.common.SSLTube.$assertionsDisabled:Z
ifne 3
iload 2
ifne 3
new java.lang.AssertionError
dup
ldc "Unexpected writeDemand: "
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 5
4: aload 0
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "sending %d buffers to SSL flow delegate"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube.sslDelegate:Ljdk/internal/net/http/common/SSLFlowDelegate;
invokevirtual jdk.internal.net.http.common.SSLFlowDelegate.upstreamWriter:()Ljava/util/concurrent/Flow$Subscriber;
aload 1
invokeinterface java.util.concurrent.Flow$Subscriber.onNext:(Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/common/SSLTube;
0 7 1 item Ljava/util/List<Ljava/nio/ByteBuffer;>;
2 7 2 decremented Z
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
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 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.internal.net.http.common.SSLTube.sslDelegate:Ljdk/internal/net/http/common/SSLFlowDelegate;
invokevirtual jdk.internal.net.http.common.SSLFlowDelegate.upstreamWriter:()Ljava/util/concurrent/Flow$Subscriber;
aload 1
invokeinterface java.util.concurrent.Flow$Subscriber.onError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/common/SSLTube;
0 3 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.common.SSLTube.sslDelegate:Ljdk/internal/net/http/common/SSLFlowDelegate;
invokevirtual jdk.internal.net.http.common.SSLFlowDelegate.upstreamWriter:()Ljava/util/concurrent/Flow$Subscriber;
invokeinterface java.util.concurrent.Flow$Subscriber.onComplete:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/common/SSLTube;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.net.http.common.SSLTube.dbgString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/common/SSLTube;
final java.lang.String dbgString();
descriptor: ()Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "SSLTube("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.common.SSLTube.tube:Ljdk/internal/net/http/common/FlowTube;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
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 1 0 this Ljdk/internal/net/http/common/SSLTube;
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.util.List
invokevirtual jdk.internal.net.http.common.SSLTube.onNext:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SSLTube.java"
NestMembers:
jdk.internal.net.http.common.SSLTube$DelegateWrapper jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper jdk.internal.net.http.common.SSLTube$SSLTubeFlowDelegate
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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
public abstract TubePublisher = jdk.internal.net.http.common.FlowTube$TubePublisher of jdk.internal.net.http.common.FlowTube
public abstract TubeSubscriber = jdk.internal.net.http.common.FlowTube$TubeSubscriber of jdk.internal.net.http.common.FlowTube
final DelegateWrapper = jdk.internal.net.http.common.SSLTube$DelegateWrapper of jdk.internal.net.http.common.SSLTube
final SSLSubscriberWrapper = jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper of jdk.internal.net.http.common.SSLTube
final SSLSubscriptionWrapper = jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper of jdk.internal.net.http.common.SSLTube
final SSLTubeFlowDelegate = jdk.internal.net.http.common.SSLTube$SSLTubeFlowDelegate of jdk.internal.net.http.common.SSLTube