class org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl extends org.glassfish.grizzly.http2.AlpnNegotiatorBase implements org.glassfish.grizzly.npn.AlpnClientNegotiator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl
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.Http2ClientFilter filter;
descriptor: Lorg/glassfish/grizzly/http2/Http2ClientFilter;
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/AlpnClientNegotiatorImpl;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.http2.Http2ClientFilter);
descriptor: (Lorg/glassfish/grizzly/http2/Http2ClientFilter;)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.AlpnClientNegotiatorImpl.filter:Lorg/glassfish/grizzly/http2/Http2ClientFilter;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/AlpnClientNegotiatorImpl;
0 3 1 filter Lorg/glassfish/grizzly/http2/Http2ClientFilter;
MethodParameters:
Name Flags
filter final
public java.lang.String[] getProtocols(javax.net.ssl.SSLEngine);
descriptor: (Ljavax/net/ssl/SSLEngine;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.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 4
1: getstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Alpn getProtocols. Connection={0}, protocols={1}"
2: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokestatic org.glassfish.grizzly.http2.AlpnSupport.getConnection:(Ljavax/net/ssl/SSLEngine;)Lorg/glassfish/grizzly/Connection;
aastore
dup
iconst_1
getstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.SUPPORTED_PROTOCOLS:[Ljava/lang/String;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
3: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.SUPPORTED_PROTOCOLS:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http2/AlpnClientNegotiatorImpl;
0 5 1 sslEngine Ljavax/net/ssl/SSLEngine;
MethodParameters:
Name Flags
sslEngine final
public void protocolSelected(javax.net.ssl.SSLEngine, java.lang.String);
descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.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 4
1: getstatic org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Alpn protocolSelected. Connection={0}, protocol={1}"
2: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokestatic org.glassfish.grizzly.http2.AlpnSupport.getConnection:(Ljavax/net/ssl/SSLEngine;)Lorg/glassfish/grizzly/Connection;
aastore
dup
iconst_1
aload 2
aastore
3: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 1
invokestatic org.glassfish.grizzly.http2.AlpnSupport.getConnection:(Ljavax/net/ssl/SSLEngine;)Lorg/glassfish/grizzly/Connection;
astore 3
start local 3 5: ldc "h2"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
6: aload 0
getfield org.glassfish.grizzly.http2.AlpnClientNegotiatorImpl.filter:Lorg/glassfish/grizzly/http2/Http2ClientFilter;
aload 3
invokevirtual org.glassfish.grizzly.http2.Http2ClientFilter.createClientHttp2Session:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/http2/Http2Session;
astore 4
start local 4 7: aload 4
invokevirtual org.glassfish.grizzly.http2.Http2Session.getHttp2State:()Lorg/glassfish/grizzly/http2/Http2State;
invokevirtual org.glassfish.grizzly.http2.Http2State.setDirectUpgradePhase:()V
8: aload 4
invokevirtual org.glassfish.grizzly.http2.Http2Session.sendPreface:()V
end local 4 9: goto 11
10: StackMap locals: org.glassfish.grizzly.Connection
StackMap stack:
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
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http2/AlpnClientNegotiatorImpl;
0 12 1 sslEngine Ljavax/net/ssl/SSLEngine;
0 12 2 selectedProtocol Ljava/lang/String;
5 12 3 connection Lorg/glassfish/grizzly/Connection;
7 9 4 http2Session Lorg/glassfish/grizzly/http2/Http2Session;
MethodParameters:
Name Flags
sslEngine final
selectedProtocol final
}
SourceFile: "AlpnClientNegotiatorImpl.java"