public class org.eclipse.jetty.io.ssl.SslClientConnectionFactory implements org.eclipse.jetty.io.ClientConnectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.io.ssl.SslClientConnectionFactory
super_class: java.lang.Object
{
public static final java.lang.String SSL_ENGINE_CONTEXT_KEY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.eclipse.jetty.client.ssl.engine"
private final org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory;
descriptor: Lorg/eclipse/jetty/util/ssl/SslContextFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.io.ByteBufferPool byteBufferPool;
descriptor: Lorg/eclipse/jetty/io/ByteBufferPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.io.ClientConnectionFactory connectionFactory;
descriptor: Lorg/eclipse/jetty/io/ClientConnectionFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean _directBuffersForEncryption;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _directBuffersForDecryption;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _requireCloseMessage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.jetty.util.ssl.SslContextFactory, org.eclipse.jetty.io.ByteBufferPool, java.util.concurrent.Executor, org.eclipse.jetty.io.ClientConnectionFactory);
descriptor: (Lorg/eclipse/jetty/util/ssl/SslContextFactory;Lorg/eclipse/jetty/io/ByteBufferPool;Ljava/util/concurrent/Executor;Lorg/eclipse/jetty/io/ClientConnectionFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
iconst_1
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._directBuffersForEncryption:Z
2: aload 0
iconst_1
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._directBuffersForDecryption:Z
3: aload 0
aload 1
ldc "Missing SslContextFactory"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.ssl.SslContextFactory
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
4: aload 0
aload 2
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.byteBufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
5: aload 0
aload 3
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.executor:Ljava/util/concurrent/Executor;
6: aload 0
aload 4
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.connectionFactory:Lorg/eclipse/jetty/io/ClientConnectionFactory;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 8 1 sslContextFactory Lorg/eclipse/jetty/util/ssl/SslContextFactory;
0 8 2 byteBufferPool Lorg/eclipse/jetty/io/ByteBufferPool;
0 8 3 executor Ljava/util/concurrent/Executor;
0 8 4 connectionFactory Lorg/eclipse/jetty/io/ClientConnectionFactory;
MethodParameters:
Name Flags
sslContextFactory
byteBufferPool
executor
connectionFactory
public org.eclipse.jetty.io.ClientConnectionFactory getClientConnectionFactory();
descriptor: ()Lorg/eclipse/jetty/io/ClientConnectionFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.connectionFactory:Lorg/eclipse/jetty/io/ClientConnectionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
public void setDirectBuffersForEncryption(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._directBuffersForEncryption:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 2 1 useDirectBuffers Z
MethodParameters:
Name Flags
useDirectBuffers
public void setDirectBuffersForDecryption(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._directBuffersForDecryption:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 2 1 useDirectBuffers Z
MethodParameters:
Name Flags
useDirectBuffers
public boolean isDirectBuffersForDecryption();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._directBuffersForDecryption:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
public boolean isDirectBuffersForEncryption();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._directBuffersForEncryption:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
public boolean isRequireCloseMessage();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._requireCloseMessage:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
public void setRequireCloseMessage(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory._requireCloseMessage:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 2 1 requireCloseMessage Z
MethodParameters:
Name Flags
requireCloseMessage
public org.eclipse.jetty.io.Connection newConnection(org.eclipse.jetty.io.EndPoint, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/eclipse/jetty/io/EndPoint;Ljava/util/Map;)Lorg/eclipse/jetty/io/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "org.eclipse.jetty.client.connector.remoteSocketAddress"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.InetSocketAddress
astore 3
start local 3 1: aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
aload 3
invokevirtual org.eclipse.jetty.util.ssl.SslContextFactory.newSSLEngine:(Ljava/net/InetSocketAddress;)Ljavax/net/ssl/SSLEngine;
astore 4
start local 4 2: aload 4
iconst_1
invokevirtual javax.net.ssl.SSLEngine.setUseClientMode:(Z)V
3: aload 2
ldc "org.eclipse.jetty.client.ssl.engine"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.byteBufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.executor:Ljava/util/concurrent/Executor;
aload 1
aload 4
invokevirtual org.eclipse.jetty.io.ssl.SslClientConnectionFactory.newSslConnection:(Lorg/eclipse/jetty/io/ByteBufferPool;Ljava/util/concurrent/Executor;Lorg/eclipse/jetty/io/EndPoint;Ljavax/net/ssl/SSLEngine;)Lorg/eclipse/jetty/io/ssl/SslConnection;
astore 5
start local 5 5: aload 5
invokevirtual org.eclipse.jetty.io.ssl.SslConnection.getDecryptedEndPoint:()Lorg/eclipse/jetty/io/ssl/SslConnection$DecryptedEndPoint;
astore 6
start local 6 6: aload 6
aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.connectionFactory:Lorg/eclipse/jetty/io/ClientConnectionFactory;
aload 6
aload 2
invokeinterface org.eclipse.jetty.io.ClientConnectionFactory.newConnection:(Lorg/eclipse/jetty/io/EndPoint;Ljava/util/Map;)Lorg/eclipse/jetty/io/Connection;
invokeinterface org.eclipse.jetty.io.EndPoint.setConnection:(Lorg/eclipse/jetty/io/Connection;)V
7: aload 5
new org.eclipse.jetty.io.ssl.SslClientConnectionFactory$HTTPSHandshakeListener
dup
aload 0
aload 2
invokespecial org.eclipse.jetty.io.ssl.SslClientConnectionFactory$HTTPSHandshakeListener.<init>:(Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;Ljava/util/Map;)V
invokevirtual org.eclipse.jetty.io.ssl.SslConnection.addHandshakeListener:(Lorg/eclipse/jetty/io/ssl/SslHandshakeListener;)V
8: aload 0
aload 5
aload 2
invokevirtual org.eclipse.jetty.io.ssl.SslClientConnectionFactory.customize:(Lorg/eclipse/jetty/io/Connection;Ljava/util/Map;)Lorg/eclipse/jetty/io/Connection;
pop
9: aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 10 1 endPoint Lorg/eclipse/jetty/io/EndPoint;
0 10 2 context Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 10 3 address Ljava/net/InetSocketAddress;
2 10 4 engine Ljavax/net/ssl/SSLEngine;
5 10 5 sslConnection Lorg/eclipse/jetty/io/ssl/SslConnection;
6 10 6 appEndPoint Lorg/eclipse/jetty/io/EndPoint;
Exceptions:
throws java.io.IOException
Signature: (Lorg/eclipse/jetty/io/EndPoint;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lorg/eclipse/jetty/io/Connection;
MethodParameters:
Name Flags
endPoint
context
protected org.eclipse.jetty.io.ssl.SslConnection newSslConnection(org.eclipse.jetty.io.ByteBufferPool, java.util.concurrent.Executor, org.eclipse.jetty.io.EndPoint, javax.net.ssl.SSLEngine);
descriptor: (Lorg/eclipse/jetty/io/ByteBufferPool;Ljava/util/concurrent/Executor;Lorg/eclipse/jetty/io/EndPoint;Ljavax/net/ssl/SSLEngine;)Lorg/eclipse/jetty/io/ssl/SslConnection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.eclipse.jetty.io.ssl.SslConnection
dup
aload 1
aload 2
aload 3
aload 4
aload 0
invokevirtual org.eclipse.jetty.io.ssl.SslClientConnectionFactory.isDirectBuffersForEncryption:()Z
aload 0
invokevirtual org.eclipse.jetty.io.ssl.SslClientConnectionFactory.isDirectBuffersForDecryption:()Z
invokespecial org.eclipse.jetty.io.ssl.SslConnection.<init>:(Lorg/eclipse/jetty/io/ByteBufferPool;Ljava/util/concurrent/Executor;Lorg/eclipse/jetty/io/EndPoint;Ljavax/net/ssl/SSLEngine;ZZ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 1 1 byteBufferPool Lorg/eclipse/jetty/io/ByteBufferPool;
0 1 2 executor Ljava/util/concurrent/Executor;
0 1 3 endPoint Lorg/eclipse/jetty/io/EndPoint;
0 1 4 engine Ljavax/net/ssl/SSLEngine;
MethodParameters:
Name Flags
byteBufferPool
executor
endPoint
engine
public org.eclipse.jetty.io.Connection customize(org.eclipse.jetty.io.Connection, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/eclipse/jetty/io/Connection;Ljava/util/Map;)Lorg/eclipse/jetty/io/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.eclipse.jetty.io.ssl.SslConnection
ifeq 8
1: aload 1
checkcast org.eclipse.jetty.io.ssl.SslConnection
astore 3
start local 3 2: aload 3
aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
invokevirtual org.eclipse.jetty.util.ssl.SslContextFactory.isRenegotiationAllowed:()Z
invokevirtual org.eclipse.jetty.io.ssl.SslConnection.setRenegotiationAllowed:(Z)V
3: aload 3
aload 0
getfield org.eclipse.jetty.io.ssl.SslClientConnectionFactory.sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
invokevirtual org.eclipse.jetty.util.ssl.SslContextFactory.getRenegotiationLimit:()I
invokevirtual org.eclipse.jetty.io.ssl.SslConnection.setRenegotiationLimit:(I)V
4: aload 3
aload 0
invokevirtual org.eclipse.jetty.io.ssl.SslClientConnectionFactory.isRequireCloseMessage:()Z
invokevirtual org.eclipse.jetty.io.ssl.SslConnection.setRequireCloseMessage:(Z)V
5: aload 2
ldc "org.eclipse.jetty.client"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.ContainerLifeCycle
astore 4
start local 4 6: aload 4
ifnull 8
7: aload 4
ldc Lorg/eclipse/jetty/io/ssl/SslHandshakeListener;
invokevirtual org.eclipse.jetty.util.component.ContainerLifeCycle.getBeans:(Ljava/lang/Class;)Ljava/util/Collection;
aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lorg/eclipse/jetty/io/ssl/SslConnection;)Ljava/util/function/Consumer;
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;)V
org/eclipse/jetty/io/ssl/SslConnection.addHandshakeListener(Lorg/eclipse/jetty/io/ssl/SslHandshakeListener;)V (5)
(Lorg/eclipse/jetty/io/ssl/SslHandshakeListener;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.eclipse.jetty.io.ClientConnectionFactory.customize:(Lorg/eclipse/jetty/io/Connection;Ljava/util/Map;)Lorg/eclipse/jetty/io/Connection;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/io/ssl/SslClientConnectionFactory;
0 9 1 connection Lorg/eclipse/jetty/io/Connection;
0 9 2 context Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
2 8 3 sslConnection Lorg/eclipse/jetty/io/ssl/SslConnection;
6 8 4 client Lorg/eclipse/jetty/util/component/ContainerLifeCycle;
Signature: (Lorg/eclipse/jetty/io/Connection;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lorg/eclipse/jetty/io/Connection;
MethodParameters:
Name Flags
connection
context
}
SourceFile: "SslClientConnectionFactory.java"
NestMembers:
org.eclipse.jetty.io.ssl.SslClientConnectionFactory$HTTPSHandshakeListener
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private HTTPSHandshakeListener = org.eclipse.jetty.io.ssl.SslClientConnectionFactory$HTTPSHandshakeListener of org.eclipse.jetty.io.ssl.SslClientConnectionFactory
public DecryptedEndPoint = org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint of org.eclipse.jetty.io.ssl.SslConnection