public class io.vertx.core.http.impl.Http1xUpgradeToH2CHandler extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.Http1xUpgradeToH2CHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private final io.vertx.core.http.impl.HttpServerWorker initializer;
descriptor: Lio/vertx/core/http/impl/HttpServerWorker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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;>;
private final boolean isCompressionSupported;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isDecompressionSupported;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.vertx.core.http.impl.HttpServerWorker, boolean, boolean);
descriptor: (Lio/vertx/core/http/impl/HttpServerWorker;ZZ)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 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/HttpServerWorker;
2: aload 0
iload 2
putfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.isCompressionSupported:Z
3: aload 0
iload 3
putfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.isDecompressionSupported:Z
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/vertx/core/http/impl/Http1xUpgradeToH2CHandler;
0 5 1 initializer Lio/vertx/core/http/impl/HttpServerWorker;
0 5 2 isCompressionSupported Z
0 5 3 isDecompressionSupported Z
MethodParameters:
Name Flags
initializer
isCompressionSupported
isDecompressionSupported
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 60
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 56
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 51
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 51
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 51
26: aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerWorker;
getfield io.vertx.core.http.impl.HttpServerWorker.context:Lio/vertx/core/impl/EventLoopContext;
invokevirtual io.vertx.core.impl.EventLoopContext.isEventLoopContext:()Z
ifeq 50
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 1
aload 9
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
32: aload 8
ldc "httpEncoder"
invokeinterface io.netty.channel.ChannelPipeline.remove:(Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
pop
33: aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.isCompressionSupported:Z
ifeq 35
34: aload 8
ldc "deflater"
invokeinterface io.netty.channel.ChannelPipeline.remove:(Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
pop
35: 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.String io.netty.handler.codec.http2.Http2Settings io.netty.channel.ChannelPipeline io.netty.handler.codec.http.DefaultFullHttpResponse
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.isDecompressionSupported:Z
ifeq 37
36: aload 8
ldc "inflater"
invokeinterface io.netty.channel.ChannelPipeline.remove:(Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
pop
37: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerWorker;
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerWorker;
getfield io.vertx.core.http.impl.HttpServerWorker.context:Lio/vertx/core/impl/EventLoopContext;
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerWorker;
getfield io.vertx.core.http.impl.HttpServerWorker.connectionHandler:Lio/vertx/core/Handler;
invokevirtual io.vertx.core.http.impl.HttpServerWorker.buildHttp2ConnectionHandler:(Lio/vertx/core/impl/EventLoopContext;Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
putfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
38: 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
39: 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
40: new io.netty.handler.codec.http2.DefaultHttp2Headers
dup
invokespecial io.netty.handler.codec.http2.DefaultHttp2Headers.<init>:()V
astore 10
start local 10 41: 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
42: 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
43: 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
44: aload 10
ldc "http"
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Headers.scheme:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers;
pop
45: 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
46: 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
47: 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
48: 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 49: goto 51
50: StackMap locals:
StackMap stack:
getstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/impl/logging/Logger;
ldc "Cannot perform HTTP/2 upgrade in a worker verticle"
invokeinterface io.vertx.core.impl.logging.Logger.warn:(Ljava/lang/Object;)V
end local 7 end local 6 51: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
ifnonnull 76
52: 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 53: 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
54: 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 55: goto 76
56: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerWorker;
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.http.impl.HttpServerWorker.configureHttp1:(Lio/netty/channel/ChannelPipeline;)V
57: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
58: 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 59: goto 76
60: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.handler:Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
ifnull 76
61: aload 2
instanceof io.netty.handler.codec.http.HttpContent
ifeq 75
62: aload 2
checkcast io.netty.handler.codec.http.HttpContent
astore 3
start local 3 63: 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 64: aload 2
instanceof io.netty.handler.codec.http.LastHttpContent
istore 5
start local 5 65: 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
66: iload 5
ifeq 76
67: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 6
start local 6 68: aload 6
invokeinterface io.netty.channel.ChannelPipeline.iterator:()Ljava/util/Iterator;
astore 8
goto 72
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 top java.util.Iterator
StackMap stack:
69: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 70: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof io.netty.handler.codec.http2.Http2ConnectionHandler
ifne 72
71: aload 6
aload 7
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 7 72: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 69
73: aload 0
getfield io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.initializer:Lio/vertx/core/http/impl/HttpServerWorker;
aload 6
invokevirtual io.vertx.core.http.impl.HttpServerWorker.configureHttp2:(Lio/netty/channel/ChannelPipeline;)V
end local 6 end local 5 end local 4 end local 3 74: goto 76
75: 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
76: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 77 0 this Lio/vertx/core/http/impl/Http1xUpgradeToH2CHandler;
0 77 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 77 2 msg Ljava/lang/Object;
2 59 3 request Lio/netty/handler/codec/http/HttpRequest;
4 55 4 connection Ljava/lang/String;
5 55 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 51 6 settingsHeader Ljava/lang/String;
25 51 7 settings Lio/netty/handler/codec/http2/Http2Settings;
28 49 8 pipeline Lio/netty/channel/ChannelPipeline;
29 49 9 res Lio/netty/handler/codec/http/DefaultFullHttpResponse;
41 49 10 headers Lio/netty/handler/codec/http2/DefaultHttp2Headers;
53 55 6 res Lio/netty/handler/codec/http/DefaultFullHttpResponse;
63 74 3 content Lio/netty/handler/codec/http/HttpContent;
64 74 4 buf Lio/netty/buffer/ByteBuf;
65 74 5 end Z
68 74 6 pipeline Lio/netty/channel/ChannelPipeline;
70 72 7 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