public class io.netty.handler.codec.http2.Http2ClientUpgradeCodec implements io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http2.Http2ClientUpgradeCodec
super_class: java.lang.Object
{
private static final java.util.List<java.lang.CharSequence> UPGRADE_HEADERS;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/CharSequence;>;
private final java.lang.String handlerName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http2.Http2ConnectionHandler connectionHandler;
descriptor: Lio/netty/handler/codec/http2/Http2ConnectionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.channel.ChannelHandler upgradeToHandler;
descriptor: Lio/netty/channel/ChannelHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_SETTINGS_HEADER:Ljava/lang/CharSequence;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putstatic io.netty.handler.codec.http2.Http2ClientUpgradeCodec.UPGRADE_HEADERS:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.handler.codec.http2.Http2FrameCodec, io.netty.channel.ChannelHandler);
descriptor: (Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/channel/ChannelHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokespecial io.netty.handler.codec.http2.Http2ClientUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/channel/ChannelHandler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 2 1 frameCodec Lio/netty/handler/codec/http2/Http2FrameCodec;
0 2 2 upgradeToHandler Lio/netty/channel/ChannelHandler;
MethodParameters:
Name Flags
frameCodec
upgradeToHandler
public void <init>(java.lang.String, io.netty.handler.codec.http2.Http2FrameCodec, io.netty.channel.ChannelHandler);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/channel/ChannelHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial io.netty.handler.codec.http2.Http2ClientUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 2 1 handlerName Ljava/lang/String;
0 2 2 frameCodec Lio/netty/handler/codec/http2/Http2FrameCodec;
0 2 3 upgradeToHandler Lio/netty/channel/ChannelHandler;
MethodParameters:
Name Flags
handlerName
frameCodec
upgradeToHandler
public void <init>(io.netty.handler.codec.http2.Http2ConnectionHandler);
descriptor: (Lio/netty/handler/codec/http2/Http2ConnectionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokespecial io.netty.handler.codec.http2.Http2ClientUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 2 1 connectionHandler Lio/netty/handler/codec/http2/Http2ConnectionHandler;
MethodParameters:
Name Flags
connectionHandler
public void <init>(java.lang.String, io.netty.handler.codec.http2.Http2ConnectionHandler);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokespecial io.netty.handler.codec.http2.Http2ClientUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 2 1 handlerName Ljava/lang/String;
0 2 2 connectionHandler Lio/netty/handler/codec/http2/Http2ConnectionHandler;
MethodParameters:
Name Flags
handlerName
connectionHandler
private void <init>(java.lang.String, io.netty.handler.codec.http2.Http2ConnectionHandler, io.netty.channel.ChannelHandler);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.handlerName:Ljava/lang/String;
2: aload 0
aload 2
ldc "connectionHandler"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http2.Http2ConnectionHandler
putfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
3: aload 0
aload 3
ldc "upgradeToHandler"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.channel.ChannelHandler
putfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.upgradeToHandler:Lio/netty/channel/ChannelHandler;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 5 1 handlerName Ljava/lang/String;
0 5 2 connectionHandler Lio/netty/handler/codec/http2/Http2ConnectionHandler;
0 5 3 upgradeToHandler Lio/netty/channel/ChannelHandler;
MethodParameters:
Name Flags
handlerName
connectionHandler
upgradeToHandler
public java.lang.CharSequence protocol();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME:Ljava/lang/CharSequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
public java.util.Collection<java.lang.CharSequence> setUpgradeHeaders(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.HttpRequest);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.Http2ClientUpgradeCodec.getSettingsHeaderValue:(Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/CharSequence;
astore 3
start local 3 1: aload 2
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_SETTINGS_HEADER:Ljava/lang/CharSequence;
aload 3
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
2: getstatic io.netty.handler.codec.http2.Http2ClientUpgradeCodec.UPGRADE_HEADERS:Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 3 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 3 2 upgradeRequest Lio/netty/handler/codec/http/HttpRequest;
1 3 3 settingsValue Ljava/lang/CharSequence;
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)Ljava/util/Collection<Ljava/lang/CharSequence;>;
MethodParameters:
Name Flags
ctx
upgradeRequest
public void upgradeTo(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.FullHttpResponse);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.handlerName:Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.upgradeToHandler:Lio/netty/channel/ChannelHandler;
invokeinterface io.netty.channel.ChannelPipeline.addAfter:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
1: aload 0
getfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
invokevirtual io.netty.handler.codec.http2.Http2ConnectionHandler.onHttpClientUpgrade:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 3 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 3 2 upgradeResponse Lio/netty/handler/codec/http/FullHttpResponse;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
upgradeResponse
private java.lang.CharSequence getSettingsHeaderValue(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/CharSequence;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 0
getfield io.netty.handler.codec.http2.Http2ClientUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
invokevirtual io.netty.handler.codec.http2.Http2ConnectionHandler.decoder:()Lio/netty/handler/codec/http2/Http2ConnectionDecoder;
invokeinterface io.netty.handler.codec.http2.Http2ConnectionDecoder.localSettings:()Lio/netty/handler/codec/http2/Http2Settings;
astore 4
start local 4 3: bipush 6
aload 4
invokevirtual io.netty.handler.codec.http2.Http2Settings.size:()I
imul
istore 5
start local 5 4: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
iload 5
invokeinterface io.netty.buffer.ByteBufAllocator.buffer:(I)Lio/netty/buffer/ByteBuf;
astore 2
5: aload 4
invokevirtual io.netty.handler.codec.http2.Http2Settings.entries:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: io.netty.handler.codec.http2.Http2ClientUpgradeCodec io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf io.netty.buffer.ByteBuf io.netty.handler.codec.http2.Http2Settings int top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.netty.util.collection.CharObjectMap$PrimitiveEntry
astore 6
start local 6 7: aload 2
aload 6
invokeinterface io.netty.util.collection.CharObjectMap$PrimitiveEntry.key:()C
invokevirtual io.netty.buffer.ByteBuf.writeChar:(I)Lio/netty/buffer/ByteBuf;
pop
8: aload 2
aload 6
invokeinterface io.netty.util.collection.CharObjectMap$PrimitiveEntry.value:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.intValue:()I
invokevirtual io.netty.buffer.ByteBuf.writeInt:(I)Lio/netty/buffer/ByteBuf;
pop
end local 6 9: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aload 2
getstatic io.netty.handler.codec.base64.Base64Dialect.URL_SAFE:Lio/netty/handler/codec/base64/Base64Dialect;
invokestatic io.netty.handler.codec.base64.Base64.encode:(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/base64/Base64Dialect;)Lio/netty/buffer/ByteBuf;
astore 3
11: aload 3
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 9
12: aload 2
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
13: aload 3
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
14: aload 9
areturn
end local 5 end local 4 15: StackMap locals: io.netty.handler.codec.http2.Http2ClientUpgradeCodec io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf io.netty.buffer.ByteBuf
StackMap stack: java.lang.Throwable
astore 8
16: aload 2
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
17: aload 3
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
18: aload 8
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/netty/handler/codec/http2/Http2ClientUpgradeCodec;
0 19 1 ctx Lio/netty/channel/ChannelHandlerContext;
1 19 2 buf Lio/netty/buffer/ByteBuf;
2 19 3 encodedBuf Lio/netty/buffer/ByteBuf;
3 15 4 settings Lio/netty/handler/codec/http2/Http2Settings;
4 15 5 payloadLength I
7 9 6 entry Lio/netty/util/collection/CharObjectMap$PrimitiveEntry<Ljava/lang/Long;>;
Exception table:
from to target type
2 12 15 any
MethodParameters:
Name Flags
ctx
}
SourceFile: "Http2ClientUpgradeCodec.java"
InnerClasses:
public abstract UpgradeCodec = io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec of io.netty.handler.codec.http.HttpClientUpgradeHandler
public abstract PrimitiveEntry = io.netty.util.collection.CharObjectMap$PrimitiveEntry of io.netty.util.collection.CharObjectMap