class io.vertx.core.http.impl.Http1xUpgradeToH2CHandler extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.http.impl.Http1xUpgradeToH2CHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private final io.vertx.core.http.impl.HttpServerChannelInitializer initializer;
descriptor: Lio/vertx/core/http/impl/HttpServerChannelInitializer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>> holder;
descriptor: Lio/vertx/core/net/impl/HandlerHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;
private io.vertx.core.http.impl.VertxHttp2ConnectionHandler<io.vertx.core.http.impl.Http2ServerConnection> handler;
descriptor: Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler<Lio/vertx/core/http/impl/Http2ServerConnection;>;
void <init>(io.vertx.core.http.impl.HttpServerChannelInitializer, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>>);
descriptor: (Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/net/impl/HandlerHolder;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerChannelInitializer;
2: aload 0
aload 2
putfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.holder:Lio/vertx/core/net/impl/HandlerHolder;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/Http1xUpgradeToH2CHandler;
0 4 1 initializer Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 4 2 holder Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;
Signature: (Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;)V
MethodParameters:
Name Flags
initializer
holder
public void channelRead(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.handler.codec.http.HttpRequest
ifeq 57
1: aload 2
checkcast io.netty.handler.codec.http.HttpRequest
astore 3
start local 3 2: aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.vertx.core.http.HttpHeaders.UPGRADE:Ljava/lang/CharSequence;
getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME:Ljava/lang/CharSequence;
iconst_1
invokevirtual io.netty.handler.codec.http.HttpHeaders.contains:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
ifeq 53
3: aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.vertx.core.http.HttpHeaders.CONNECTION:Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 4
ifnull 21
aload 4
invokevirtual java.lang.String.length:()I
ifle 21
6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: aload 4
invokevirtual java.lang.String.length:()I
istore 8
start local 8 9: goto 20
10: StackMap locals: io.vertx.core.http.impl.Http1xUpgradeToH2CHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.http.HttpRequest java.lang.String int java.lang.StringBuilder int int
StackMap stack:
aload 4
iload 7
iinc 7 1
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 11: iload 9
bipush 32
if_icmpeq 13
iload 9
bipush 44
if_icmpeq 13
12: aload 6
iload 9
invokestatic java.lang.Character.toLowerCase:(C)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: StackMap locals: int
StackMap stack:
iload 9
bipush 44
if_icmpeq 14
iload 7
iload 8
if_icmpne 20
14: StackMap locals:
StackMap stack:
aload 6
ldc "upgrade"
invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;)I
ifne 17
aload 6
invokevirtual java.lang.StringBuilder.length:()I
bipush 7
if_icmpne 17
15: iload 5
iconst_1
ior
istore 5
16: goto 19
StackMap locals:
StackMap stack:
17: aload 6
ldc "http2-settings"
invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;)I
ifne 19
aload 6
invokevirtual java.lang.StringBuilder.length:()I
bipush 14
if_icmpne 19
18: iload 5
iconst_2
ior
istore 5
19: StackMap locals:
StackMap stack:
aload 6
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
end local 9 20: StackMap locals:
StackMap stack:
iload 7
iload 8
if_icmplt 10
end local 8 end local 7 end local 6 21: StackMap locals:
StackMap stack:
iload 5
iconst_3
if_icmpne 48
22: aload 3
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;
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 6
start local 6 23: aload 6
ifnull 48
24: aload 6
invokestatic io.vertx.core.http.impl.HttpUtils.decodeSettings:(Ljava/lang/String;)Lio/netty/handler/codec/http2/Http2Settings;
astore 7
start local 7 25: aload 7
ifnull 48
26: aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.holder:Lio/vertx/core/net/impl/HandlerHolder;
ifnull 47
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.holder:Lio/vertx/core/net/impl/HandlerHolder;
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.isEventLoopContext:()Z
ifeq 47
27: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 8
start local 8 28: new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpResponseStatus.SWITCHING_PROTOCOLS:Lio/netty/handler/codec/http/HttpResponseStatus;
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
iconst_0
invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;Z)V
astore 9
start local 9 29: aload 9
invokevirtual io.netty.handler.codec.http.DefaultFullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONNECTION:Lio/netty/util/AsciiString;
getstatic io.netty.handler.codec.http.HttpHeaderValues.UPGRADE:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
30: aload 9
invokevirtual io.netty.handler.codec.http.DefaultFullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.UPGRADE:Lio/netty/util/AsciiString;
getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME:Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
31: aload 9
invokevirtual io.netty.handler.codec.http.DefaultFullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_LENGTH:Lio/netty/util/AsciiString;
getstatic io.netty.handler.codec.http.HttpHeaderValues.ZERO:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
32: aload 1
aload 9
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
33: aload 8
ldc "httpEncoder"
invokeinterface io.netty.channel.ChannelPipeline.remove:(Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
pop
34: aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerChannelInitializer;
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.holder:Lio/vertx/core/net/impl/HandlerHolder;
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.holder:Lio/vertx/core/net/impl/HandlerHolder;
getfield io.vertx.core.net.impl.HandlerHolder.handler:Ljava/lang/Object;
checkcast io.vertx.core.Handler
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.buildHttp2ConnectionHandler:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
putfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
35: aload 8
ldc "handler"
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
36: aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
aload 1
aload 7
aload 3
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandler.serverUpgrade:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Settings;Lio/netty/handler/codec/http/HttpRequest;)V
37: new io.netty.handler.codec.http2.DefaultHttp2Headers
dup
invokespecial io.netty.handler.codec.http2.DefaultHttp2Headers.<init>:()V
astore 10
start local 10 38: aload 10
aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.method:()Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.name:()Ljava/lang/String;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Headers.method:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers;
pop
39: aload 10
aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.uri:()Ljava/lang/String;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Headers.path:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers;
pop
40: aload 10
aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
ldc "host"
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Headers.authority:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers;
pop
41: aload 10
ldc "http"
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Headers.scheme:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers;
pop
42: aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
ldc "http2-settings"
invokevirtual io.netty.handler.codec.http.HttpHeaders.remove:(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpHeaders;
pop
43: aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
ldc "host"
invokevirtual io.netty.handler.codec.http.HttpHeaders.remove:(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpHeaders;
pop
44: aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
aload 10
invokedynamic accept(Lio/netty/handler/codec/http2/DefaultHttp2Headers;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/Http1xUpgradeToH2CHandler.lambda$0(Lio/netty/handler/codec/http2/DefaultHttp2Headers;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokevirtual io.netty.handler.codec.http.HttpHeaders.forEach:(Ljava/util/function/Consumer;)V
45: aload 1
new io.netty.handler.codec.http2.DefaultHttp2HeadersFrame
dup
aload 10
iconst_0
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersFrame.<init>:(Lio/netty/handler/codec/http2/Http2Headers;Z)V
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
end local 10 end local 9 end local 8 46: goto 48
47: StackMap locals: java.lang.String io.netty.handler.codec.http2.Http2Settings
StackMap stack:
getstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/logging/Logger;
ldc "Cannot perform HTTP/2 upgrade in a worker verticle"
invokevirtual io.vertx.core.logging.Logger.warn:(Ljava/lang/Object;)V
end local 7 end local 6 48: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
ifnonnull 74
49: new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpResponseStatus.BAD_REQUEST:Lio/netty/handler/codec/http/HttpResponseStatus;
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
iconst_0
invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;Z)V
astore 6
start local 6 50: aload 6
invokevirtual io.netty.handler.codec.http.DefaultFullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONNECTION:Lio/netty/util/AsciiString;
getstatic io.netty.handler.codec.http.HttpHeaderValues.CLOSE:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
51: aload 1
aload 6
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
end local 6 end local 5 end local 4 52: goto 74
53: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerChannelInitializer;
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.holder:Lio/vertx/core/net/impl/HandlerHolder;
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.configureHttp1:(Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder;)V
54: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
55: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
end local 3 56: goto 74
57: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
ifnull 74
58: aload 2
instanceof io.netty.handler.codec.http.HttpContent
ifeq 73
59: aload 2
checkcast io.netty.handler.codec.http.HttpContent
astore 3
start local 3 60: aload 3
invokeinterface io.netty.handler.codec.http.HttpContent.content:()Lio/netty/buffer/ByteBuf;
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokestatic io.vertx.core.net.impl.VertxHandler.safeBuffer:(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf;
astore 4
start local 4 61: aload 2
instanceof io.netty.handler.codec.http.LastHttpContent
istore 5
start local 5 62: aload 1
new io.netty.handler.codec.http2.DefaultHttp2DataFrame
dup
aload 4
iload 5
iconst_0
invokespecial io.netty.handler.codec.http2.DefaultHttp2DataFrame.<init>:(Lio/netty/buffer/ByteBuf;ZI)V
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
63: iload 5
ifeq 74
64: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 6
start local 6 65: aload 6
invokeinterface io.netty.channel.ChannelPipeline.iterator:()Ljava/util/Iterator;
astore 7
start local 7 66: goto 70
67: StackMap locals: io.vertx.core.http.impl.Http1xUpgradeToH2CHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.http.HttpContent io.netty.buffer.ByteBuf int io.netty.channel.ChannelPipeline java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 68: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.netty.handler.codec.http2.Http2ConnectionHandler
ifne 70
69: aload 6
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface io.netty.channel.ChannelPipeline.remove:(Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
pop
end local 8 70: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 67
71: aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerChannelInitializer;
aload 6
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.configureHttp2:(Lio/netty/channel/ChannelPipeline;)V
end local 7 end local 6 end local 5 end local 4 end local 3 72: goto 74
73: StackMap locals: io.vertx.core.http.impl.Http1xUpgradeToH2CHandler io.netty.channel.ChannelHandlerContext java.lang.Object
StackMap stack:
aload 0
aload 1
aload 2
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.channelRead:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
74: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 75 0 this Lio/vertx/core/http/impl/Http1xUpgradeToH2CHandler;
0 75 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 75 2 msg Ljava/lang/Object;
2 56 3 request Lio/netty/handler/codec/http/HttpRequest;
4 52 4 connection Ljava/lang/String;
5 52 5 found I
7 21 6 buff Ljava/lang/StringBuilder;
8 21 7 pos I
9 21 8 len I
11 20 9 c C
23 48 6 settingsHeader Ljava/lang/String;
25 48 7 settings Lio/netty/handler/codec/http2/Http2Settings;
28 46 8 pipeline Lio/netty/channel/ChannelPipeline;
29 46 9 res Lio/netty/handler/codec/http/DefaultFullHttpResponse;
38 46 10 headers Lio/netty/handler/codec/http2/DefaultHttp2Headers;
50 52 6 res Lio/netty/handler/codec/http/DefaultFullHttpResponse;
60 72 3 content Lio/netty/handler/codec/http/HttpContent;
61 72 4 buf Lio/netty/buffer/ByteBuf;
62 72 5 end Z
65 72 6 pipeline Lio/netty/channel/ChannelPipeline;
66 72 7 iterator Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Lio/netty/channel/ChannelHandler;>;>;
68 70 8 handler Ljava/util/Map$Entry<Ljava/lang/String;Lio/netty/channel/ChannelHandler;>;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
public void userEventTriggered(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.handler.timeout.IdleStateEvent
ifeq 3
aload 2
checkcast io.netty.handler.timeout.IdleStateEvent
invokevirtual io.netty.handler.timeout.IdleStateEvent.state:()Lio/netty/handler/timeout/IdleState;
getstatic io.netty.handler.timeout.IdleState.ALL_IDLE:Lio/netty/handler/timeout/IdleState;
if_acmpne 3
1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.close:()Lio/netty/channel/ChannelFuture;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xUpgradeToH2CHandler;
0 5 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 5 2 evt Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
evt
private static void lambda$0(io.netty.handler.codec.http2.DefaultHttp2Headers, java.util.Map$Entry);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Headers;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Headers.set:(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 header Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "Http1xUpgradeToH2CHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map