public class jdk.incubator.http.internal.common.SSLTube implements jdk.incubator.http.internal.common.FlowTube
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.http.internal.common.SSLTube
super_class: java.lang.Object
{
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
final java.lang.System$Logger debug;
descriptor: Ljava/lang/System$Logger;
flags: (0x0010) ACC_FINAL
private final jdk.incubator.http.internal.common.FlowTube tube;
descriptor: Ljdk/incubator/http/internal/common/FlowTube;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper readSubscriber;
descriptor: Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.common.SSLTube$SSLSubscriptionWrapper writeSubscription;
descriptor: Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriptionWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.common.SSLFlowDelegate sslDelegate;
descriptor: Ljdk/incubator/http/internal/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.incubator.http.internal.common.Demand writeDemand;
descriptor: Ljdk/incubator/http/internal/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/incubator/http/internal/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.incubator.http.internal.common.SSLTube.$assertionsDisabled:Z
3: getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
putstatic jdk.incubator.http.internal.common.SSLTube.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.net.ssl.SSLEngine, java.util.concurrent.Executor, jdk.incubator.http.internal.common.FlowTube);
descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljdk/incubator/http/internal/common/FlowTube;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: aload 0
invokedynamic get(Ljdk/incubator/http/internal/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/incubator/http/internal/common/SSLTube.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.incubator.http.internal.common.SSLTube.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
putfield jdk.incubator.http.internal.common.SSLTube.debug:Ljava/lang/System$Logger;
3: aload 0
new jdk.incubator.http.internal.common.Demand
dup
invokespecial jdk.incubator.http.internal.common.Demand.<init>:()V
putfield jdk.incubator.http.internal.common.SSLTube.writeDemand:Ljdk/incubator/http/internal/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 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.http.internal.common.FlowTube
putfield jdk.incubator.http.internal.common.SSLTube.tube:Ljdk/incubator/http/internal/common/FlowTube;
7: aload 0
new jdk.incubator.http.internal.common.SSLTube$SSLSubscriptionWrapper
dup
aload 0
invokespecial jdk.incubator.http.internal.common.SSLTube$SSLSubscriptionWrapper.<init>:(Ljdk/incubator/http/internal/common/SSLTube;)V
putfield jdk.incubator.http.internal.common.SSLTube.writeSubscription:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriptionWrapper;
8: aload 0
new jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper
dup
aload 0
invokespecial jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper.<init>:(Ljdk/incubator/http/internal/common/SSLTube;)V
putfield jdk.incubator.http.internal.common.SSLTube.readSubscriber:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;
9: aload 0
aload 1
putfield jdk.incubator.http.internal.common.SSLTube.engine:Ljavax/net/ssl/SSLEngine;
10: aload 0
new jdk.incubator.http.internal.common.SSLTube$SSLTubeFlowDelegate
dup
aload 0
aload 1
11: aload 2
12: aload 0
getfield jdk.incubator.http.internal.common.SSLTube.readSubscriber:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;
13: aload 3
invokespecial jdk.incubator.http.internal.common.SSLTube$SSLTubeFlowDelegate.<init>:(Ljdk/incubator/http/internal/common/SSLTube;Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;Ljdk/incubator/http/internal/common/FlowTube;)V
14: putfield jdk.incubator.http.internal.common.SSLTube.sslDelegate:Ljdk/incubator/http/internal/common/SSLFlowDelegate;
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/incubator/http/internal/common/SSLTube;
0 16 1 engine Ljavax/net/ssl/SSLEngine;
0 16 2 executor Ljava/util/concurrent/Executor;
0 16 3 tube Ljdk/incubator/http/internal/common/FlowTube;
MethodParameters:
Name Flags
engine
executor
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.incubator.http.internal.common.SSLTube.sslDelegate:Ljdk/incubator/http/internal/common/SSLFlowDelegate;
invokevirtual jdk.incubator.http.internal.common.SSLFlowDelegate.alpn:()Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/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.incubator.http.internal.common.SSLTube.readSubscriber:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;
invokevirtual jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper.dropSubscription:()V
1: aload 0
getfield jdk.incubator.http.internal.common.SSLTube.readSubscriber:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;
aload 1
invokevirtual jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper.setDelegate:(Ljava/util/concurrent/Flow$Subscriber;)V
2: aload 1
aload 0
getfield jdk.incubator.http.internal.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/incubator/http/internal/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.incubator.http.internal.common.SSLTube.finished:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/common/SSLTube;
public void connectFlows(jdk.incubator.http.internal.common.FlowTube$TubePublisher, jdk.incubator.http.internal.common.FlowTube$TubeSubscriber);
descriptor: (Ljdk/incubator/http/internal/common/FlowTube$TubePublisher;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.internal.common.SSLTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "connecting flows"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.internal.common.SSLTube.readSubscriber:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriberWrapper;
aload 2
invokevirtual jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper.setDelegate:(Ljava/util/concurrent/Flow$Subscriber;)V
2: aload 1
aload 0
invokeinterface jdk.incubator.http.internal.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/incubator/http/internal/common/SSLTube;
0 4 1 writePub Ljdk/incubator/http/internal/common/FlowTube$TubePublisher;
0 4 2 readSub Ljdk/incubator/http/internal/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.incubator.http.internal.common.SSLTube.writeSubscription:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriptionWrapper;
getfield jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube.writeSubscription:Ljdk/incubator/http/internal/common/SSLTube$SSLSubscriptionWrapper;
aload 1
invokevirtual jdk.incubator.http.internal.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/incubator/http/internal/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=7, 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.incubator.http.internal.common.SSLTube.writeDemand:Ljdk/incubator/http/internal/common/Demand;
invokevirtual jdk.incubator.http.internal.common.Demand.tryDecrement:()Z
istore 2
start local 2 2: getstatic jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
4: 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
5: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
6: aload 0
getfield jdk.incubator.http.internal.common.SSLTube.sslDelegate:Ljdk/incubator/http/internal/common/SSLFlowDelegate;
invokevirtual jdk.incubator.http.internal.common.SSLFlowDelegate.upstreamWriter:()Ljava/util/concurrent/Flow$Subscriber;
aload 1
invokeinterface java.util.concurrent.Flow$Subscriber.onNext:(Ljava/lang/Object;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/internal/common/SSLTube;
0 8 1 item Ljava/util/List<Ljava/nio/ByteBuffer;>;
2 8 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.incubator.http.internal.common.SSLTube.sslDelegate:Ljdk/incubator/http/internal/common/SSLFlowDelegate;
invokevirtual jdk.incubator.http.internal.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/incubator/http/internal/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.incubator.http.internal.common.SSLTube.sslDelegate:Ljdk/incubator/http/internal/common/SSLFlowDelegate;
invokevirtual jdk.incubator.http.internal.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/incubator/http/internal/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.incubator.http.internal.common.SSLTube.dbgString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/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.incubator.http.internal.common.SSLTube.tube:Ljdk/incubator/http/internal/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/incubator/http/internal/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.incubator.http.internal.common.SSLTube.onNext:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SSLTube.java"
NestMembers:
jdk.incubator.http.internal.common.SSLTube$DelegateWrapper jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper jdk.incubator.http.internal.common.SSLTube$SSLSubscriptionWrapper jdk.incubator.http.internal.common.SSLTube$SSLTubeFlowDelegate
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
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.incubator.http.internal.common.FlowTube$TubePublisher of jdk.incubator.http.internal.common.FlowTube
public abstract TubeSubscriber = jdk.incubator.http.internal.common.FlowTube$TubeSubscriber of jdk.incubator.http.internal.common.FlowTube
final DelegateWrapper = jdk.incubator.http.internal.common.SSLTube$DelegateWrapper of jdk.incubator.http.internal.common.SSLTube
final SSLSubscriberWrapper = jdk.incubator.http.internal.common.SSLTube$SSLSubscriberWrapper of jdk.incubator.http.internal.common.SSLTube
final SSLSubscriptionWrapper = jdk.incubator.http.internal.common.SSLTube$SSLSubscriptionWrapper of jdk.incubator.http.internal.common.SSLTube
final SSLTubeFlowDelegate = jdk.incubator.http.internal.common.SSLTube$SSLTubeFlowDelegate of jdk.incubator.http.internal.common.SSLTube