final class io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine extends io.netty.handler.ssl.ConscryptAlpnSslEngine
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine
super_class: io.netty.handler.ssl.ConscryptAlpnSslEngine
{
private final io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelector protocolSelector;
descriptor: Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator$ProtocolSelector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(javax.net.ssl.SSLEngine, io.netty.buffer.ByteBufAllocator, io.netty.handler.ssl.JdkApplicationProtocolNegotiator);
descriptor: (Ljavax/net/ssl/SSLEngine;Lio/netty/buffer/ByteBufAllocator;Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 // io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine this
start local 1 // javax.net.ssl.SSLEngine engine
start local 2 // io.netty.buffer.ByteBufAllocator alloc
start local 3 // io.netty.handler.ssl.JdkApplicationProtocolNegotiator applicationNegotiator
0: .line 130
aload 0 /* this */
aload 1 /* engine */
aload 2 /* alloc */
aload 3 /* applicationNegotiator */
invokeinterface io.netty.handler.ssl.JdkApplicationProtocolNegotiator.protocols:()Ljava/util/List;
invokespecial io.netty.handler.ssl.ConscryptAlpnSslEngine.<init>:(Ljavax/net/ssl/SSLEngine;Lio/netty/buffer/ByteBufAllocator;Ljava/util/List;)V
1: .line 133
aload 1 /* engine */
new io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine$1
dup
aload 0 /* this */
invokespecial io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine$1.<init>:(Lio/netty/handler/ssl/ConscryptAlpnSslEngine$ServerEngine;)V
invokestatic org.conscrypt.Conscrypt.setHandshakeListener:(Ljavax/net/ssl/SSLEngine;Lorg/conscrypt/HandshakeListener;)V
2: .line 140
aload 0 /* this */
aload 3 /* applicationNegotiator */
invokeinterface io.netty.handler.ssl.JdkApplicationProtocolNegotiator.protocolSelectorFactory:()Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator$ProtocolSelectorFactory;
3: .line 141
aload 0 /* this */
4: .line 142
new java.util.LinkedHashSet
dup
aload 3 /* applicationNegotiator */
invokeinterface io.netty.handler.ssl.JdkApplicationProtocolNegotiator.protocols:()Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
5: .line 141
invokeinterface io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelectorFactory.newSelector:(Ljavax/net/ssl/SSLEngine;Ljava/util/Set;)Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator$ProtocolSelector;
6: .line 143
ldc "protocolSelector"
7: .line 140
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelector
putfield io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine.protocolSelector:Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator$ProtocolSelector;
8: .line 144
return
end local 3 // io.netty.handler.ssl.JdkApplicationProtocolNegotiator applicationNegotiator
end local 2 // io.netty.buffer.ByteBufAllocator alloc
end local 1 // javax.net.ssl.SSLEngine engine
end local 0 // io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/handler/ssl/ConscryptAlpnSslEngine$ServerEngine;
0 9 1 engine Ljavax/net/ssl/SSLEngine;
0 9 2 alloc Lio/netty/buffer/ByteBufAllocator;
0 9 3 applicationNegotiator Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;
MethodParameters:
Name Flags
engine
alloc
applicationNegotiator
private void selectProtocol();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 // io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine this
0: .line 148
aload 0 /* this */
invokevirtual io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine.getWrappedEngine:()Ljavax/net/ssl/SSLEngine;
invokestatic org.conscrypt.Conscrypt.getApplicationProtocol:(Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
astore 1 /* protocol */
start local 1 // java.lang.String protocol
1: .line 149
aload 0 /* this */
getfield io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine.protocolSelector:Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator$ProtocolSelector;
aload 1 /* protocol */
ifnull 2
aload 1 /* protocol */
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
goto 3
2: .line 150
StackMap locals: io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine java.lang.String
StackMap stack: io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelector
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
3: .line 149
StackMap locals: io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine java.lang.String
StackMap stack: io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelector java.util.List
invokeinterface io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelector.select:(Ljava/util/List;)Ljava/lang/String;
pop
end local 1 // java.lang.String protocol
4: .line 151
goto 7
StackMap locals: io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine
StackMap stack: java.lang.Throwable
5: astore 1 /* e */
start local 1 // java.lang.Throwable e
6: .line 152
aload 1 /* e */
invokestatic io.netty.handler.ssl.SslUtils.toSSLHandshakeException:(Ljava/lang/Throwable;)Ljavax/net/ssl/SSLHandshakeException;
athrow
end local 1 // java.lang.Throwable e
7: .line 154
StackMap locals:
StackMap stack:
return
end local 0 // io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/ssl/ConscryptAlpnSslEngine$ServerEngine;
1 4 1 protocol Ljava/lang/String;
6 7 1 e Ljava/lang/Throwable;
Exception table:
from to target type
0 4 5 Class java.lang.Throwable
Exceptions:
throws javax.net.ssl.SSLException
}
SourceFile: "ConscryptAlpnSslEngine.java"
NestHost: io.netty.handler.ssl.ConscryptAlpnSslEngine
InnerClasses:
private final ServerEngine = io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine of io.netty.handler.ssl.ConscryptAlpnSslEngine
io.netty.handler.ssl.ConscryptAlpnSslEngine$ServerEngine$1
public abstract ProtocolSelector = io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelector of io.netty.handler.ssl.JdkApplicationProtocolNegotiator
public abstract ProtocolSelectorFactory = io.netty.handler.ssl.JdkApplicationProtocolNegotiator$ProtocolSelectorFactory of io.netty.handler.ssl.JdkApplicationProtocolNegotiator