public class io.vertx.core.http.impl.HttpServerChannelInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.HttpServerChannelInitializer
super_class: io.netty.channel.ChannelInitializer
{
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.impl.SSLHelper sslHelper;
descriptor: Lio/vertx/core/net/impl/SSLHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.http.HttpServerOptions options;
descriptor: Lio/vertx/core/http/HttpServerOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String serverOrigin;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.spi.metrics.HttpServerMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/HttpServerMetrics;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean logEnabled;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean disableH2C;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.Function<io.netty.channel.EventLoop, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>>> connectionHandler;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<Lio/netty/channel/EventLoop;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;>;
private final java.util.function.Function<io.netty.channel.EventLoop, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<java.lang.Throwable>>> errorHandler;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<Lio/netty/channel/EventLoop;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Ljava/lang/Throwable;>;>;>;
public void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.net.impl.SSLHelper, io.vertx.core.http.HttpServerOptions, java.lang.String, io.vertx.core.spi.metrics.HttpServerMetrics, boolean, java.util.function.Function<io.netty.channel.EventLoop, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>>>, java.util.function.Function<io.netty.channel.EventLoop, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<java.lang.Throwable>>>);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/http/HttpServerOptions;Ljava/lang/String;Lio/vertx/core/spi/metrics/HttpServerMetrics;ZLjava/util/function/Function;Ljava/util/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial io.netty.channel.ChannelInitializer.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.vertx:Lio/vertx/core/impl/VertxInternal;
2: aload 0
aload 2
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
3: aload 0
aload 3
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
4: aload 0
aload 4
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.serverOrigin:Ljava/lang/String;
5: aload 0
aload 5
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
6: aload 0
aload 3
invokevirtual io.vertx.core.http.HttpServerOptions.getLogActivity:()Z
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.logEnabled:Z
7: aload 0
iload 6
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.disableH2C:Z
8: aload 0
aload 7
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.connectionHandler:Ljava/util/function/Function;
9: aload 0
aload 8
putfield io.vertx.core.http.impl.HttpServerChannelInitializer.errorHandler:Ljava/util/function/Function;
10: return
end local 8 end local 7 end local 6 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/HttpServerChannelInitializer;
0 11 1 vertx Lio/vertx/core/impl/VertxInternal;
0 11 2 sslHelper Lio/vertx/core/net/impl/SSLHelper;
0 11 3 options Lio/vertx/core/http/HttpServerOptions;
0 11 4 serverOrigin Ljava/lang/String;
0 11 5 metrics Lio/vertx/core/spi/metrics/HttpServerMetrics;
0 11 6 disableH2C Z
0 11 7 connectionHandler Ljava/util/function/Function<Lio/netty/channel/EventLoop;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;>;
0 11 8 errorHandler Ljava/util/function/Function<Lio/netty/channel/EventLoop;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Ljava/lang/Throwable;>;>;>;
Signature: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/http/HttpServerOptions;Ljava/lang/String;Lio/vertx/core/spi/metrics/HttpServerMetrics;ZLjava/util/function/Function<Lio/netty/channel/EventLoop;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;>;Ljava/util/function/Function<Lio/netty/channel/EventLoop;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Ljava/lang/Throwable;>;>;>;)V
MethodParameters:
Name Flags
vertx
sslHelper
options
serverOrigin
metrics
disableH2C
connectionHandler
errorHandler
protected void initChannel(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=11, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 1: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
invokevirtual io.vertx.core.net.impl.SSLHelper.isSSL:()Z
ifeq 10
2: aload 1
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc "handshaker"
new io.vertx.core.net.impl.SslHandshakeCompletionHandler
dup
aload 0
aload 2
aload 1
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/netty/channel/ChannelPipeline;Lio/netty/channel/Channel;)Lio/vertx/core/Handler;
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/HttpServerChannelInitializer.lambda$0(Lio/netty/channel/ChannelPipeline;Lio/netty/channel/Channel;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokespecial io.vertx.core.net.impl.SslHandshakeCompletionHandler.<init>:(Lio/vertx/core/Handler;)V
invokeinterface io.netty.channel.ChannelPipeline.addFirst:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
3: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isSni:()Z
ifeq 7
4: new io.netty.handler.ssl.SniHandler
dup
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.vertx:Lio/vertx/core/impl/VertxInternal;
invokevirtual io.vertx.core.net.impl.SSLHelper.serverNameMapper:(Lio/vertx/core/impl/VertxInternal;)Lio/netty/util/Mapping;
invokespecial io.netty.handler.ssl.SniHandler.<init>:(Lio/netty/util/Mapping;)V
astore 3
start local 3 5: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
aload 3
aastore
invokeinterface io.netty.channel.ChannelPipeline.addFirst:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
end local 3 6: goto 19
7: StackMap locals: io.netty.channel.ChannelPipeline
StackMap stack:
new io.netty.handler.ssl.SslHandler
dup
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.vertx:Lio/vertx/core/impl/VertxInternal;
invokevirtual io.vertx.core.net.impl.SSLHelper.createEngine:(Lio/vertx/core/impl/VertxInternal;)Ljavax/net/ssl/SSLEngine;
invokespecial io.netty.handler.ssl.SslHandler.<init>:(Ljavax/net/ssl/SSLEngine;)V
astore 3
start local 3 8: aload 2
ldc "ssl"
aload 3
invokeinterface io.netty.channel.ChannelPipeline.addFirst:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
end local 3 9: goto 19
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.disableH2C:Z
ifeq 13
11: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.handleHttp1:(Lio/netty/channel/Channel;)V
12: goto 19
13: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeout:()I
ifle 17
14: aload 2
ldc "idle"
new io.netty.handler.timeout.IdleStateHandler
dup
lconst_0
lconst_0
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeout:()I
i2l
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.IdleStateHandler.<init>:(JJJLjava/util/concurrent/TimeUnit;)V
dup
astore 3
start local 3 15: invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
16: goto 18
end local 3 17: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 18: StackMap locals: io.netty.handler.timeout.IdleStateHandler
StackMap stack:
aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.vertx.core.http.impl.HttpServerChannelInitializer$1
dup
aload 0
aload 3
aload 2
aload 1
invokespecial io.vertx.core.http.impl.HttpServerChannelInitializer$1.<init>:(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/netty/handler/timeout/IdleStateHandler;Lio/netty/channel/ChannelPipeline;Lio/netty/channel/Channel;)V
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
end local 3 19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 20 1 ch Lio/netty/channel/Channel;
1 20 2 pipeline Lio/netty/channel/ChannelPipeline;
5 6 3 sniHandler Lio/netty/handler/ssl/SniHandler;
8 9 3 handler Lio/netty/handler/ssl/SslHandler;
15 17 3 idle Lio/netty/handler/timeout/IdleStateHandler;
18 19 3 idle Lio/netty/handler/timeout/IdleStateHandler;
MethodParameters:
Name Flags
ch
private void handleException(io.netty.channel.Channel, java.lang.Throwable);
descriptor: (Lio/netty/channel/Channel;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.errorHandler:Ljava/util/function/Function;
aload 1
invokeinterface io.netty.channel.Channel.eventLoop:()Lio/netty/channel/EventLoop;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.net.impl.HandlerHolder
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
aload 2
aload 3
getfield io.vertx.core.net.impl.HandlerHolder.handler:Ljava/lang/Object;
checkcast io.vertx.core.Handler
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
3: StackMap locals: io.vertx.core.net.impl.HandlerHolder
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 4 1 ch Lio/netty/channel/Channel;
0 4 2 cause Ljava/lang/Throwable;
1 4 3 holder Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Ljava/lang/Throwable;>;>;
MethodParameters:
Name Flags
ch
cause
private void handleHttp1(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.connectionHandler:Ljava/util/function/Function;
aload 1
invokeinterface io.netty.channel.Channel.eventLoop:()Lio/netty/channel/EventLoop;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.net.impl.HandlerHolder
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.sendServiceUnavailable:(Lio/netty/channel/Channel;)V
3: return
4: StackMap locals: io.vertx.core.net.impl.HandlerHolder
StackMap stack:
aload 0
aload 1
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.configureHttp1OrH2C:(Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 6 1 ch Lio/netty/channel/Channel;
1 6 2 holder Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;
MethodParameters:
Name Flags
ch
private void sendServiceUnavailable(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
1: ldc "HTTP/1.1 503 Service Unavailable\r\nContent-Length:0\r\n\r\n"
2: getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
3: invokestatic io.netty.buffer.Unpooled.copiedBuffer:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
4: invokeinterface io.netty.channel.Channel.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
5: getstatic io.netty.channel.ChannelFutureListener.CLOSE:Lio/netty/channel/ChannelFutureListener;
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 7 1 ch Lio/netty/channel/Channel;
MethodParameters:
Name Flags
ch
private void handleHttp2(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.connectionHandler:Ljava/util/function/Function;
aload 1
invokeinterface io.netty.channel.Channel.eventLoop:()Lio/netty/channel/EventLoop;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.net.impl.HandlerHolder
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 1
invokeinterface io.netty.channel.Channel.close:()Lio/netty/channel/ChannelFuture;
pop
3: return
4: StackMap locals: io.vertx.core.net.impl.HandlerHolder
StackMap stack:
aload 0
aload 2
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
aload 2
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;
astore 3
start local 3 5: aload 1
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc "handler"
aload 3
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
6: aload 0
aload 1
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.configureHttp2:(Lio/netty/channel/ChannelPipeline;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 8 1 ch Lio/netty/channel/Channel;
1 8 2 holder Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;
5 8 3 handler Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler<Lio/vertx/core/http/impl/Http2ServerConnection;>;
MethodParameters:
Name Flags
ch
void configureHttp2(io.netty.channel.ChannelPipeline);
descriptor: (Lio/netty/channel/ChannelPipeline;)V
flags: (0x0000)
Code:
stack=12, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeout:()I
ifle 2
1: aload 1
ldc "handler"
ldc "idle"
new io.netty.handler.timeout.IdleStateHandler
dup
lconst_0
lconst_0
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeout:()I
i2l
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.IdleStateHandler.<init>:(JJJLjava/util/concurrent/TimeUnit;)V
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 3 1 pipeline Lio/netty/channel/ChannelPipeline;
MethodParameters:
Name Flags
pipeline
io.vertx.core.http.impl.VertxHttp2ConnectionHandler<io.vertx.core.http.impl.Http2ServerConnection> buildHttp2ConnectionHandler(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder
dup
invokespecial io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.<init>:()V
1: iconst_1
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.server:(Z)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
2: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isCompressionSupported:()Z
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.useCompression:(Z)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
3: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isDecompressionSupported:()Z
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.useDecompression:(Z)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
4: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getCompressionLevel:()I
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.compressionLevel:(I)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
5: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getInitialSettings:()Lio/vertx/core/http/Http2Settings;
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.initialSettings:(Lio/vertx/core/http/Http2Settings;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
6: aload 0
aload 1
invokedynamic apply(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/impl/ContextInternal;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/core/http/impl/HttpServerChannelInitializer.lambda$1(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;)Lio/vertx/core/http/impl/Http2ServerConnection; (7)
(Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;)Lio/vertx/core/http/impl/Http2ServerConnection;
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.connectionFactory:(Ljava/util/function/Function;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
7: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.logEnabled:Z
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.logEnabled:(Z)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder;
8: invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder.build:()Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
9: astore 3
start local 3 10: aload 3
aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
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/HttpServerChannelInitializer.lambda$2(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/http/impl/Http2ServerConnection;)V (7)
(Lio/vertx/core/http/impl/Http2ServerConnection;)V
invokevirtual io.vertx.core.http.impl.VertxHttp2ConnectionHandler.addHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
pop
11: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 12 1 ctx Lio/vertx/core/impl/ContextInternal;
0 12 2 handler_ Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;
10 12 3 handler Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler<Lio/vertx/core/http/impl/Http2ServerConnection;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler<Lio/vertx/core/http/impl/Http2ServerConnection;>;
MethodParameters:
Name Flags
ctx
handler_
private void configureHttp1OrH2C(io.netty.channel.ChannelPipeline, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>>);
descriptor: (Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.logEnabled:Z
ifeq 2
1: aload 1
ldc "logging"
new io.netty.handler.logging.LoggingHandler
dup
invokespecial io.netty.handler.logging.LoggingHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: StackMap locals:
StackMap stack:
getstatic io.vertx.core.http.impl.HttpServerImpl.USE_FLASH_POLICY_HANDLER:Z
ifeq 4
3: aload 1
ldc "flashpolicy"
new io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler
dup
invokespecial io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: StackMap locals:
StackMap stack:
aload 1
ldc "httpDecoder"
new io.vertx.core.http.impl.VertxHttpRequestDecoder
dup
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokespecial io.vertx.core.http.impl.VertxHttpRequestDecoder.<init>:(Lio/vertx/core/http/HttpServerOptions;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
5: aload 1
ldc "httpEncoder"
new io.vertx.core.http.impl.VertxHttpResponseEncoder
dup
invokespecial io.vertx.core.http.impl.VertxHttpResponseEncoder.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
6: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isDecompressionSupported:()Z
ifeq 8
7: aload 1
ldc "inflater"
new io.netty.handler.codec.http.HttpContentDecompressor
dup
iconst_0
invokespecial io.netty.handler.codec.http.HttpContentDecompressor.<init>:(Z)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isCompressionSupported:()Z
ifeq 10
9: aload 1
ldc "deflater"
new io.vertx.core.http.impl.HttpChunkContentCompressor
dup
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getCompressionLevel:()I
invokespecial io.vertx.core.http.impl.HttpChunkContentCompressor.<init>:(I)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
invokevirtual io.vertx.core.net.impl.SSLHelper.isSSL:()Z
ifne 11
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isCompressionSupported:()Z
ifeq 12
11: StackMap locals:
StackMap stack:
aload 1
ldc "chunkedWriter"
new io.netty.handler.stream.ChunkedWriteHandler
dup
invokespecial io.netty.handler.stream.ChunkedWriteHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
12: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeout:()I
ifle 14
13: aload 1
ldc "idle"
new io.netty.handler.timeout.IdleStateHandler
dup
lconst_0
lconst_0
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeout:()I
i2l
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getIdleTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.IdleStateHandler.<init>:(JJJLjava/util/concurrent/TimeUnit;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
14: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.disableH2C:Z
ifeq 17
15: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.configureHttp1:(Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder;)V
16: goto 18
17: StackMap locals:
StackMap stack:
aload 1
ldc "h2c"
new io.vertx.core.http.impl.Http1xUpgradeToH2CHandler
dup
aload 0
aload 2
invokespecial io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.<init>:(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/net/impl/HandlerHolder;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 19 1 pipeline Lio/netty/channel/ChannelPipeline;
0 19 2 holder Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;
Signature: (Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;)V
MethodParameters:
Name Flags
pipeline
holder
void configureHttp1(io.netty.channel.ChannelPipeline, io.vertx.core.net.impl.HandlerHolder<? extends io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>>);
descriptor: (Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
aload 0
aload 2
invokedynamic apply(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/net/impl/HandlerHolder;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/core/http/impl/HttpServerChannelInitializer.lambda$3(Lio/vertx/core/net/impl/HandlerHolder;Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/http/impl/Http1xServerConnection; (7)
(Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/http/impl/Http1xServerConnection;
invokestatic io.vertx.core.net.impl.VertxHandler.create:(Lio/vertx/core/impl/ContextInternal;Ljava/util/function/Function;)Lio/vertx/core/net/impl/VertxHandler;
astore 3
start local 3 1: aload 1
ldc "handler"
aload 3
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: aload 3
invokevirtual io.vertx.core.net.impl.VertxHandler.getConnection:()Lio/vertx/core/net/impl/ConnectionBase;
checkcast io.vertx.core.http.impl.Http1xServerConnection
astore 4
start local 4 3: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
ifnull 5
4: aload 2
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
aload 0
aload 4
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerChannelInitializer;Lio/vertx/core/http/impl/Http1xServerConnection;)Lio/vertx/core/Handler;
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/HttpServerChannelInitializer.lambda$4(Lio/vertx/core/http/impl/Http1xServerConnection;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Lio/vertx/core/Handler;)V
5: StackMap locals: io.vertx.core.net.impl.VertxHandler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 2
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
aload 4
aload 2
getfield io.vertx.core.net.impl.HandlerHolder.handler:Ljava/lang/Object;
checkcast io.vertx.core.Handler
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 7 1 pipeline Lio/netty/channel/ChannelPipeline;
0 7 2 holder Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;
1 7 3 handler Lio/vertx/core/net/impl/VertxHandler<Lio/vertx/core/http/impl/Http1xServerConnection;>;
3 7 4 conn Lio/vertx/core/http/impl/Http1xServerConnection;
Signature: (Lio/netty/channel/ChannelPipeline;Lio/vertx/core/net/impl/HandlerHolder<+Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;>;)V
MethodParameters:
Name Flags
pipeline
holder
private void lambda$0(io.netty.channel.ChannelPipeline, io.netty.channel.Channel, io.vertx.core.AsyncResult);
descriptor: (Lio/netty/channel/ChannelPipeline;Lio/netty/channel/Channel;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 11
1: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isUseAlpn:()Z
ifeq 9
2: aload 1
ldc Lio/netty/handler/ssl/SslHandler;
invokeinterface io.netty.channel.ChannelPipeline.get:(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;
checkcast io.netty.handler.ssl.SslHandler
astore 4
start local 4 3: aload 4
invokevirtual io.netty.handler.ssl.SslHandler.applicationProtocol:()Ljava/lang/String;
astore 5
start local 5 4: ldc "h2"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.handleHttp2:(Lio/netty/channel/Channel;)V
6: goto 12
7: StackMap locals: io.netty.handler.ssl.SslHandler java.lang.String
StackMap stack:
aload 0
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.handleHttp1:(Lio/netty/channel/Channel;)V
end local 5 end local 4 8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.handleHttp1:(Lio/netty/channel/Channel;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.http.impl.HttpServerChannelInitializer.handleException:(Lio/netty/channel/Channel;Ljava/lang/Throwable;)V
12: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 13 3 ar Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
3 8 4 sslHandler Lio/netty/handler/ssl/SslHandler;
4 8 5 protocol Ljava/lang/String;
private io.vertx.core.http.impl.Http2ServerConnection lambda$1(io.vertx.core.impl.ContextInternal, io.vertx.core.http.impl.VertxHttp2ConnectionHandler);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;)Lio/vertx/core/http/impl/Http2ServerConnection;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 2 0: new io.vertx.core.http.impl.Http2ServerConnection
dup
aload 1
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.serverOrigin:Ljava/lang/String;
aload 2
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
invokespecial io.vertx.core.http.impl.Http2ServerConnection.<init>:(Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;Lio/vertx/core/http/HttpServerOptions;Lio/vertx/core/spi/metrics/HttpServerMetrics;)V
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 1 2 connHandler Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler<Lio/vertx/core/http/impl/Http2ServerConnection;>;
private void lambda$2(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, io.vertx.core.http.impl.Http2ServerConnection);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/http/impl/Http2ServerConnection;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
ifnull 2
1: aload 3
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
aload 3
invokevirtual io.vertx.core.http.impl.Http2ServerConnection.remoteAddress:()Lio/vertx/core/net/SocketAddress;
aload 3
invokevirtual io.vertx.core.http.impl.Http2ServerConnection.remoteName:()Ljava/lang/String;
invokeinterface io.vertx.core.spi.metrics.HttpServerMetrics.connected:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Ljava/lang/Object;
invokevirtual io.vertx.core.http.impl.Http2ServerConnection.metric:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getHttp2ConnectionWindowSize:()I
ifle 4
3: aload 3
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getHttp2ConnectionWindowSize:()I
invokevirtual io.vertx.core.http.impl.Http2ServerConnection.setWindowSize:(I)Lio/vertx/core/http/HttpConnection;
pop
4: StackMap locals:
StackMap stack:
aload 1
aload 3
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
5: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 6 3 conn Lio/vertx/core/http/impl/Http2ServerConnection;
private io.vertx.core.http.impl.Http1xServerConnection lambda$3(io.vertx.core.net.impl.HandlerHolder, io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/vertx/core/net/impl/HandlerHolder;Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/http/impl/Http1xServerConnection;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 2 0: new io.vertx.core.http.impl.Http1xServerConnection
dup
aload 1
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
1: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
2: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.options:Lio/vertx/core/http/HttpServerOptions;
3: aload 2
4: aload 1
getfield io.vertx.core.net.impl.HandlerHolder.context:Lio/vertx/core/impl/ContextInternal;
5: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.serverOrigin:Ljava/lang/String;
6: aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
7: invokespecial io.vertx.core.http.impl.Http1xServerConnection.<init>:(Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/http/HttpServerOptions;Lio/netty/channel/ChannelHandlerContext;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/spi/metrics/HttpServerMetrics;)V
astore 3
start local 3 8: aload 3
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 9 2 chctx Lio/netty/channel/ChannelHandlerContext;
8 9 3 conn Lio/vertx/core/http/impl/Http1xServerConnection;
private void lambda$4(io.vertx.core.http.impl.Http1xServerConnection, java.lang.Void);
descriptor: (Lio/vertx/core/http/impl/Http1xServerConnection;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 1
aload 0
getfield io.vertx.core.http.impl.HttpServerChannelInitializer.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.remoteAddress:()Lio/vertx/core/net/SocketAddress;
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.remoteName:()Ljava/lang/String;
invokeinterface io.vertx.core.spi.metrics.HttpServerMetrics.connected:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Ljava/lang/Object;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.metric:(Ljava/lang/Object;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerChannelInitializer;
0 1 2 v Ljava/lang/Void;
}
Signature: Lio/netty/channel/ChannelInitializer<Lio/netty/channel/Channel;>;
SourceFile: "HttpServerChannelInitializer.java"
NestMembers:
io.vertx.core.http.impl.HttpServerChannelInitializer$1
InnerClasses:
io.vertx.core.http.impl.HttpServerChannelInitializer$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles