public class io.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec implements io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec
super_class: java.lang.Object
{
private static final java.util.List<java.lang.CharSequence> ;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/CharSequence;>;
private final io.vertx.core.http.Http2Settings settings;
descriptor: Lio/vertx/core/http/Http2Settings;
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.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec.UPGRADE_HEADERS:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.http.Http2Settings);
descriptor: (Lio/vertx/core/http/Http2Settings;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec.settings:Lio/vertx/core/http/Http2Settings;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec;
0 3 1 settings Lio/vertx/core/http/Http2Settings;
MethodParameters:
Name Flags
settings
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: ldc "h2c"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec;
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=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.codec.http2.Http2Settings
dup
invokespecial io.netty.handler.codec.http2.Http2Settings.<init>:()V
astore 3
start local 3 1: iconst_0
aload 0
getfield io.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec.settings:Lio/vertx/core/http/Http2Settings;
aload 3
invokestatic io.vertx.core.http.impl.HttpUtils.fromVertxInitialSettings:(ZLio/vertx/core/http/Http2Settings;Lio/netty/handler/codec/http2/Http2Settings;)V
2: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 4
start local 4 3: aload 3
invokevirtual io.netty.handler.codec.http2.Http2Settings.entries:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: io.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.HttpRequest io.netty.handler.codec.http2.Http2Settings io.vertx.core.buffer.Buffer top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.netty.util.collection.CharObjectMap$PrimitiveEntry
astore 5
start local 5 5: aload 4
aload 5
invokeinterface io.netty.util.collection.CharObjectMap$PrimitiveEntry.key:()C
invokeinterface io.vertx.core.buffer.Buffer.appendUnsignedShort:(I)Lio/vertx/core/buffer/Buffer;
pop
6: aload 4
aload 5
invokeinterface io.netty.util.collection.CharObjectMap$PrimitiveEntry.value:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokeinterface io.vertx.core.buffer.Buffer.appendUnsignedInt:(J)Lio/vertx/core/buffer/Buffer;
pop
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: new java.lang.String
dup
invokestatic java.util.Base64.getUrlEncoder:()Ljava/util/Base64$Encoder;
aload 4
invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
invokevirtual java.util.Base64$Encoder.encode:([B)[B
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
astore 5
start local 5 9: 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 5
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
10: getstatic io.vertx.core.http.impl.VertxHttp2ClientUpgradeCodec.UPGRADE_HEADERS:Ljava/util/List;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec;
0 11 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 11 2 upgradeRequest Lio/netty/handler/codec/http/HttpRequest;
1 11 3 nettySettings Lio/netty/handler/codec/http2/Http2Settings;
3 11 4 buf Lio/vertx/core/buffer/Buffer;
5 7 5 entry Lio/netty/util/collection/CharObjectMap$PrimitiveEntry<Ljava/lang/Long;>;
9 11 5 encodedSettings Ljava/lang/String;
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=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec;
0 1 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 1 2 upgradeResponse Lio/netty/handler/codec/http/FullHttpResponse;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
upgradeResponse
}
SourceFile: "VertxHttp2ClientUpgradeCodec.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
public Encoder = java.util.Base64$Encoder of java.util.Base64