public class org.glassfish.grizzly.http2.AlpnSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http2.AlpnSupport
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<javax.net.ssl.SSLEngine, org.glassfish.grizzly.Connection> SSL_TO_CONNECTION_MAP;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljavax/net/ssl/SSLEngine;Lorg/glassfish/grizzly/Connection;>;
private static final org.glassfish.grizzly.http2.AlpnSupport INSTANCE;
descriptor: Lorg/glassfish/grizzly/http2/AlpnSupport;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.Object, org.glassfish.grizzly.npn.AlpnServerNegotiator> serverSideNegotiators;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;>;
private final java.util.concurrent.locks.ReadWriteLock serverSideLock;
descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Object, org.glassfish.grizzly.npn.AlpnClientNegotiator> clientSideNegotiators;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;>;
private final java.util.concurrent.locks.ReadWriteLock clientSideLock;
descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.ssl.SSLBaseFilter$HandshakeListener handshakeListener;
descriptor: Lorg/glassfish/grizzly/ssl/SSLBaseFilter$HandshakeListener;
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=4, locals=2, args_size=0
0: ldc Lorg/glassfish/grizzly/http2/AlpnSupport;
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 org.glassfish.grizzly.http2.AlpnSupport.$assertionsDisabled:Z
3: ldc Lorg/glassfish/grizzly/http2/AlpnSupport;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http2.AlpnSupport.LOGGER:Ljava/util/logging/Logger;
4: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
5: putstatic org.glassfish.grizzly.http2.AlpnSupport.SSL_TO_CONNECTION_MAP:Ljava/util/Map;
6: iconst_0
istore 0
start local 0 7: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
ldc "sun.security.ssl.GrizzlyNPN"
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
pop
8: iconst_1
istore 0
9: goto 12
StackMap locals: int
StackMap stack: java.lang.Throwable
10: astore 1
start local 1 11: getstatic org.glassfish.grizzly.http2.AlpnSupport.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "TLS ALPN extension is not found:"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 12: StackMap locals:
StackMap stack:
iload 0
ifeq 13
new org.glassfish.grizzly.http2.AlpnSupport
dup
invokespecial org.glassfish.grizzly.http2.AlpnSupport.<init>:()V
goto 14
StackMap locals:
StackMap stack:
13: aconst_null
StackMap locals:
StackMap stack: org.glassfish.grizzly.http2.AlpnSupport
14: putstatic org.glassfish.grizzly.http2.AlpnSupport.INSTANCE:Lorg/glassfish/grizzly/http2/AlpnSupport;
end local 0 15: return
LocalVariableTable:
Start End Slot Name Signature
7 15 0 isExtensionFound Z
11 12 1 e Ljava/lang/Throwable;
Exception table:
from to target type
7 9 10 Class java.lang.Throwable
public static boolean isEnabled();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.http2.AlpnSupport.INSTANCE:Lorg/glassfish/grizzly/http2/AlpnSupport;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.http2.AlpnSupport getInstance();
descriptor: ()Lorg/glassfish/grizzly/http2/AlpnSupport;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic org.glassfish.grizzly.http2.AlpnSupport.isEnabled:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "TLS ALPN is disabled"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http2.AlpnSupport.INSTANCE:Lorg/glassfish/grizzly/http2/AlpnSupport;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.Connection getConnection(javax.net.ssl.SSLEngine);
descriptor: (Ljavax/net/ssl/SSLEngine;)Lorg/glassfish/grizzly/Connection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http2.AlpnSupport.SSL_TO_CONNECTION_MAP:Ljava/util/Map;
dup
astore 1
monitorenter
1: getstatic org.glassfish.grizzly.http2.AlpnSupport.SSL_TO_CONNECTION_MAP:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.Connection
aload 1
monitorexit
2: areturn
3: StackMap locals: javax.net.ssl.SSLEngine java.util.Map
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 engine Ljavax/net/ssl/SSLEngine;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
engine final
private static void setConnection(javax.net.ssl.SSLEngine, org.glassfish.grizzly.Connection);
descriptor: (Ljavax/net/ssl/SSLEngine;Lorg/glassfish/grizzly/Connection;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http2.AlpnSupport.SSL_TO_CONNECTION_MAP:Ljava/util/Map;
dup
astore 2
monitorenter
1: getstatic org.glassfish.grizzly.http2.AlpnSupport.SSL_TO_CONNECTION_MAP:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: javax.net.ssl.SSLEngine org.glassfish.grizzly.Connection java.util.Map
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 engine Ljavax/net/ssl/SSLEngine;
0 7 1 connection Lorg/glassfish/grizzly/Connection;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
engine final
connection final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield org.glassfish.grizzly.http2.AlpnSupport.serverSideNegotiators:Ljava/util/Map;
3: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield org.glassfish.grizzly.http2.AlpnSupport.serverSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
4: aload 0
5: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield org.glassfish.grizzly.http2.AlpnSupport.clientSideNegotiators:Ljava/util/Map;
6: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield org.glassfish.grizzly.http2.AlpnSupport.clientSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
7: aload 0
8: new org.glassfish.grizzly.http2.AlpnSupport$1
dup
aload 0
invokespecial org.glassfish.grizzly.http2.AlpnSupport$1.<init>:(Lorg/glassfish/grizzly/http2/AlpnSupport;)V
putfield org.glassfish.grizzly.http2.AlpnSupport.handshakeListener:Lorg/glassfish/grizzly/ssl/SSLBaseFilter$HandshakeListener;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
public void configure(org.glassfish.grizzly.ssl.SSLBaseFilter);
descriptor: (Lorg/glassfish/grizzly/ssl/SSLBaseFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.handshakeListener:Lorg/glassfish/grizzly/ssl/SSLBaseFilter$HandshakeListener;
invokevirtual org.glassfish.grizzly.ssl.SSLBaseFilter.addHandshakeListener:(Lorg/glassfish/grizzly/ssl/SSLBaseFilter$HandshakeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 2 1 sslFilter Lorg/glassfish/grizzly/ssl/SSLBaseFilter;
MethodParameters:
Name Flags
sslFilter final
public void setServerSideNegotiator(org.glassfish.grizzly.Transport, org.glassfish.grizzly.npn.AlpnServerNegotiator);
descriptor: (Lorg/glassfish/grizzly/Transport;Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;)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
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http2.AlpnSupport.putServerSideNegotiator:(Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 2 1 transport Lorg/glassfish/grizzly/Transport;
0 2 2 negotiator Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;
MethodParameters:
Name Flags
transport final
negotiator final
public void setServerSideNegotiator(org.glassfish.grizzly.Connection, org.glassfish.grizzly.npn.AlpnServerNegotiator);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;)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
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http2.AlpnSupport.putServerSideNegotiator:(Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 2 1 connection Lorg/glassfish/grizzly/Connection;
0 2 2 negotiator Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;
MethodParameters:
Name Flags
connection final
negotiator final
public void setClientSideNegotiator(org.glassfish.grizzly.Transport, org.glassfish.grizzly.npn.AlpnClientNegotiator);
descriptor: (Lorg/glassfish/grizzly/Transport;Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;)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
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http2.AlpnSupport.putClientSideNegotiator:(Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 2 1 transport Lorg/glassfish/grizzly/Transport;
0 2 2 negotiator Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;
MethodParameters:
Name Flags
transport final
negotiator final
public void setClientSideNegotiator(org.glassfish.grizzly.Connection, org.glassfish.grizzly.npn.AlpnClientNegotiator);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;)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
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http2.AlpnSupport.putClientSideNegotiator:(Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 2 1 connection Lorg/glassfish/grizzly/Connection;
0 2 2 negotiator Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;
MethodParameters:
Name Flags
connection final
negotiator final
private void putServerSideNegotiator(java.lang.Object, org.glassfish.grizzly.npn.AlpnServerNegotiator);
descriptor: (Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.serverSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.serverSideNegotiators:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 3
4: aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.serverSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
5: aload 3
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.serverSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 8 1 object Ljava/lang/Object;
0 8 2 negotiator Lorg/glassfish/grizzly/npn/AlpnServerNegotiator;
Exception table:
from to target type
1 3 3 any
MethodParameters:
Name Flags
object final
negotiator final
private void putClientSideNegotiator(java.lang.Object, org.glassfish.grizzly.npn.AlpnClientNegotiator);
descriptor: (Ljava/lang/Object;Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.clientSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.clientSideNegotiators:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 3
4: aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.clientSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
5: aload 3
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.AlpnSupport.clientSideLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http2/AlpnSupport;
0 8 1 object Ljava/lang/Object;
0 8 2 negotiator Lorg/glassfish/grizzly/npn/AlpnClientNegotiator;
Exception table:
from to target type
1 3 3 any
MethodParameters:
Name Flags
object final
negotiator final
}
SourceFile: "AlpnSupport.java"
NestMembers:
org.glassfish.grizzly.http2.AlpnSupport$1 org.glassfish.grizzly.http2.AlpnSupport$1$1 org.glassfish.grizzly.http2.AlpnSupport$1$2
InnerClasses:
org.glassfish.grizzly.http2.AlpnSupport$1
public abstract HandshakeListener = org.glassfish.grizzly.ssl.SSLBaseFilter$HandshakeListener of org.glassfish.grizzly.ssl.SSLBaseFilter