final class org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl extends org.glassfish.grizzly.http2.AlpnNegotiatorBase implements org.glassfish.grizzly.npn.AlpnServerNegotiator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl
super_class: org.glassfish.grizzly.http2.AlpnNegotiatorBase
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.http2.Http2BaseFilter filter;
descriptor: Lorg/glassfish/grizzly/http2/Http2BaseFilter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http2/AlpnServerNegotiatorImpl;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.http2.Http2ServerFilter);
descriptor: (Lorg/glassfish/grizzly/http2/Http2ServerFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.glassfish.grizzly.http2.AlpnNegotiatorBase.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.filter:Lorg/glassfish/grizzly/http2/Http2BaseFilter;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/AlpnServerNegotiatorImpl;
0 3 1 http2HandlerFilter Lorg/glassfish/grizzly/http2/Http2ServerFilter;
MethodParameters:
Name Flags
http2HandlerFilter final
public java.lang.String selectProtocol(javax.net.ssl.SSLEngine, java.lang.String[]);
descriptor: (Ljavax/net/ssl/SSLEngine;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.glassfish.grizzly.http2.AlpnSupport.getConnection:(Ljavax/net/ssl/SSLEngine;)Lorg/glassfish/grizzly/Connection;
astore 3
start local 3 1: getstatic org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
2: getstatic org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Alpn selectProtocol. Connection={0} sslEngine={1} clientProtocols={2}"
3: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: org.glassfish.grizzly.Connection
StackMap stack:
getstatic org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.SUPPORTED_PROTOCOLS:[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 17
StackMap locals: org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl javax.net.ssl.SSLEngine java.lang.String[] org.glassfish.grizzly.Connection top int int java.lang.String[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: aload 2
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 15
StackMap locals: org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl javax.net.ssl.SSLEngine java.lang.String[] org.glassfish.grizzly.Connection java.lang.String int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
8: aload 11
iload 9
aaload
astore 8
start local 8 9: aload 4
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
10: getstatic org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 12
11: getstatic org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Alpn select {0}"
aload 8
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
12: StackMap locals: org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl javax.net.ssl.SSLEngine java.lang.String[] org.glassfish.grizzly.Connection java.lang.String int int java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 0
aload 3
aload 8
invokevirtual org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.configureHttp2:(Lorg/glassfish/grizzly/Connection;Ljava/lang/String;)V
13: aload 8
areturn
end local 8 14: StackMap locals: org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl javax.net.ssl.SSLEngine java.lang.String[] org.glassfish.grizzly.Connection java.lang.String int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
15: iload 9
iload 10
if_icmplt 8
end local 4 16: iinc 5 1
StackMap locals: org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl javax.net.ssl.SSLEngine java.lang.String[] org.glassfish.grizzly.Connection top int int java.lang.String[]
StackMap stack:
17: iload 5
iload 6
if_icmplt 6
18: aload 3
invokestatic org.glassfish.grizzly.http2.Http2State.create:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/http2/Http2State;
invokevirtual org.glassfish.grizzly.http2.Http2State.setNeverHttp2:()V
19: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/glassfish/grizzly/http2/AlpnServerNegotiatorImpl;
0 20 1 sslEngine Ljavax/net/ssl/SSLEngine;
0 20 2 clientProtocols [Ljava/lang/String;
1 20 3 connection Lorg/glassfish/grizzly/Connection;
7 16 4 supportedProtocol Ljava/lang/String;
9 14 8 clientProtocol Ljava/lang/String;
MethodParameters:
Name Flags
sslEngine
clientProtocols
private void configureHttp2(org.glassfish.grizzly.Connection, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "h2"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
getfield org.glassfish.grizzly.http2.AlpnServerNegotiatorImpl.filter:Lorg/glassfish/grizzly/http2/Http2BaseFilter;
aload 1
iconst_1
invokevirtual org.glassfish.grizzly.http2.Http2BaseFilter.createHttp2Session:(Lorg/glassfish/grizzly/Connection;Z)Lorg/glassfish/grizzly/http2/Http2Session;
astore 3
start local 3 2: aload 3
invokevirtual org.glassfish.grizzly.http2.Http2Session.getHttp2State:()Lorg/glassfish/grizzly/http2/Http2State;
invokevirtual org.glassfish.grizzly.http2.Http2State.setDirectUpgradePhase:()V
end local 3 3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/AlpnServerNegotiatorImpl;
0 4 1 connection Lorg/glassfish/grizzly/Connection;
0 4 2 supportedProtocol Ljava/lang/String;
2 3 3 http2Session Lorg/glassfish/grizzly/http2/Http2Session;
MethodParameters:
Name Flags
connection final
supportedProtocol final
public java.lang.Object apply(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast javax.net.ssl.SSLEngine
aload 2
checkcast java.util.List
invokeinterface org.glassfish.grizzly.npn.AlpnServerNegotiator.apply:(Ljavax/net/ssl/SSLEngine;Ljava/util/List;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AlpnServerNegotiatorImpl.java"