public class io.vertx.core.http.impl.HttpServerImpl implements io.vertx.core.http.HttpServer, io.vertx.core.Closeable, io.vertx.core.spi.metrics.MetricsProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.HttpServerImpl
super_class: java.lang.Object
{
static final io.vertx.core.logging.Logger log;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final io.vertx.core.Handler<java.lang.Throwable> DEFAULT_EXCEPTION_HANDLER;
descriptor: Lio/vertx/core/Handler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
private static final java.lang.String FLASH_POLICY_HANDLER_PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "vertx.flashPolicyHandler"
private static final java.lang.String DISABLE_WEBSOCKETS_PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "vertx.disableWebsockets"
private static final java.lang.String DISABLE_H2C_PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "vertx.disableH2c"
static final boolean USE_FLASH_POLICY_HANDLER;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean DISABLE_WEBSOCKETS;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
final io.vertx.core.http.HttpServerOptions options;
descriptor: Lio/vertx/core/http/HttpServerOptions;
flags: (0x0010) ACC_FINAL
final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0010) 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.impl.ContextInternal creatingContext;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean disableH2c;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.util.Map<io.netty.channel.Channel, io.vertx.core.net.impl.ConnectionBase> connectionMap;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Lio/netty/channel/Channel;Lio/vertx/core/net/impl/ConnectionBase;>;
private final io.vertx.core.net.impl.VertxEventLoopGroup availableWorkers;
descriptor: Lio/vertx/core/net/impl/VertxEventLoopGroup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.impl.HandlerManager<io.vertx.core.http.impl.HttpHandlers> httpHandlerMgr;
descriptor: Lio/vertx/core/net/impl/HandlerManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/net/impl/HandlerManager<Lio/vertx/core/http/impl/HttpHandlers;>;
private final io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler<io.vertx.core.http.ServerWebSocket> wsStream;
descriptor: Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<Lio/vertx/core/http/ServerWebSocket;>;
private final io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler<io.vertx.core.http.HttpServerRequest> requestStream;
descriptor: Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<Lio/vertx/core/http/HttpServerRequest;>;
private io.vertx.core.Handler<io.vertx.core.http.HttpConnection> connectionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Lio/vertx/core/http/HttpConnection;>;
private io.netty.channel.group.ChannelGroup serverChannelGroup;
descriptor: Lio/netty/channel/group/ChannelGroup;
flags: (0x0002) ACC_PRIVATE
private volatile boolean listening;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private io.vertx.core.net.impl.AsyncResolveConnectHelper bindFuture;
descriptor: Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.net.impl.ServerID id;
descriptor: Lio/vertx/core/net/impl/ServerID;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.http.impl.HttpServerImpl actualServer;
descriptor: Lio/vertx/core/http/impl/HttpServerImpl;
flags: (0x0002) ACC_PRIVATE
private volatile int actualPort;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private io.vertx.core.impl.ContextInternal listenContext;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0002) ACC_PRIVATE
io.vertx.core.spi.metrics.HttpServerMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/HttpServerMetrics;
flags: (0x0000)
private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/core/http/impl/HttpServerImpl;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/logging/Logger;
1: invokedynamic handle()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/HttpServerImpl.lambda$0(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
putstatic io.vertx.core.http.impl.HttpServerImpl.DEFAULT_EXCEPTION_HANDLER:Lio/vertx/core/Handler;
2: ldc "vertx.flashPolicyHandler"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic io.vertx.core.http.impl.HttpServerImpl.USE_FLASH_POLICY_HANDLER:Z
3: ldc "vertx.disableWebsockets"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic io.vertx.core.http.impl.HttpServerImpl.DISABLE_WEBSOCKETS:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.http.HttpServerOptions);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/http/HttpServerOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "vertx.disableH2c"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putfield io.vertx.core.http.impl.HttpServerImpl.disableH2c:Z
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.http.impl.HttpServerImpl.connectionMap:Ljava/util/Map;
3: aload 0
new io.vertx.core.net.impl.VertxEventLoopGroup
dup
invokespecial io.vertx.core.net.impl.VertxEventLoopGroup.<init>:()V
putfield io.vertx.core.http.impl.HttpServerImpl.availableWorkers:Lio/vertx/core/net/impl/VertxEventLoopGroup;
4: aload 0
new io.vertx.core.net.impl.HandlerManager
dup
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.availableWorkers:Lio/vertx/core/net/impl/VertxEventLoopGroup;
invokespecial io.vertx.core.net.impl.HandlerManager.<init>:(Lio/vertx/core/net/impl/VertxEventLoopGroup;)V
putfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
5: aload 0
new io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler
dup
aload 0
invokespecial io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.<init>:(Lio/vertx/core/http/impl/HttpServerImpl;)V
putfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
6: aload 0
new io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler
dup
aload 0
invokespecial io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.<init>:(Lio/vertx/core/http/impl/HttpServerImpl;)V
putfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
7: aload 0
new io.vertx.core.http.HttpServerOptions
dup
aload 2
invokespecial io.vertx.core.http.HttpServerOptions.<init>:(Lio/vertx/core/http/HttpServerOptions;)V
putfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
8: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
9: aload 0
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.getContext:()Lio/vertx/core/impl/ContextInternal;
putfield io.vertx.core.http.impl.HttpServerImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
10: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
ifnull 14
11: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.isMultiThreadedWorkerContext:()Z
ifeq 13
12: new java.lang.IllegalStateException
dup
ldc "Cannot use HttpServer in a multi-threaded worker verticle"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.VertxInternal io.vertx.core.http.HttpServerOptions
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
aload 0
invokeinterface io.vertx.core.impl.ContextInternal.addCloseHook:(Lio/vertx/core/Closeable;)V
14: StackMap locals:
StackMap stack:
aload 0
new io.vertx.core.net.impl.SSLHelper
dup
aload 2
aload 2
invokevirtual io.vertx.core.http.HttpServerOptions.getKeyCertOptions:()Lio/vertx/core/net/KeyCertOptions;
aload 2
invokevirtual io.vertx.core.http.HttpServerOptions.getTrustOptions:()Lio/vertx/core/net/TrustOptions;
invokespecial io.vertx.core.net.impl.SSLHelper.<init>:(Lio/vertx/core/http/HttpServerOptions;Lio/vertx/core/net/KeyCertOptions;Lio/vertx/core/net/TrustOptions;)V
putfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 16 1 vertx Lio/vertx/core/impl/VertxInternal;
0 16 2 options Lio/vertx/core/http/HttpServerOptions;
MethodParameters:
Name Flags
vertx
options
public synchronized io.vertx.core.http.HttpServer requestHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpServerRequest> requestStream();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
Signature: ()Lio/vertx/core/streams/ReadStream<Lio/vertx/core/http/HttpServerRequest;>;
public io.vertx.core.http.HttpServer websocketHandler(io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerImpl.websocketStream:()Lio/vertx/core/streams/ReadStream;
aload 1
invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/http/ServerWebSocket;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/http/ServerWebSocket;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
handler
public io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> requestHandler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
Signature: ()Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;
public synchronized io.vertx.core.http.HttpServer connectionHandler(io.vertx.core.Handler<io.vertx.core.http.HttpConnection>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Please set handler before server is listening"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerImpl.connectionHandler:Lio/vertx/core/Handler;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 4 1 handler Lio/vertx/core/Handler<Lio/vertx/core/http/HttpConnection;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/http/HttpConnection;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
handler
public synchronized io.vertx.core.http.HttpServer exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Please set handler before server is listening"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 4 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
handler
public io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket> websocketHandler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
Signature: ()Lio/vertx/core/Handler<Lio/vertx/core/http/ServerWebSocket;>;
public io.vertx.core.streams.ReadStream<io.vertx.core.http.ServerWebSocket> websocketStream();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
Signature: ()Lio/vertx/core/streams/ReadStream<Lio/vertx/core/http/ServerWebSocket;>;
public io.vertx.core.http.HttpServer listen();
descriptor: ()Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getPort:()I
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getHost:()Ljava/lang/String;
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
public io.vertx.core.http.HttpServer listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServer>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getPort:()I
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getHost:()Ljava/lang/String;
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 1 1 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
listenHandler
public io.vertx.core.http.HttpServer listen(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 1 1 port I
0 1 2 host Ljava/lang/String;
MethodParameters:
Name Flags
port
host
public io.vertx.core.http.HttpServer listen(int);
descriptor: (I)Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ldc "0.0.0.0"
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 1 1 port I
MethodParameters:
Name Flags
port
public io.vertx.core.http.HttpServer listen(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServer>>);
descriptor: (ILio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
ldc "0.0.0.0"
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 1 1 port I
0 1 2 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
Signature: (ILio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
port
listenHandler
public io.vertx.core.http.HttpServer listen(int, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServer>>);
descriptor: (ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
aload 3
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 1 1 port I
0 1 2 host Ljava/lang/String;
0 1 3 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
Signature: (ILjava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
port
host
listenHandler
private io.netty.channel.ChannelHandler childHandler(io.vertx.core.net.SocketAddress, java.lang.String);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
astore 3
start local 3 1: aload 0
aload 3
ifnull 2
aload 3
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
aload 1
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createHttpServerMetrics:(Lio/vertx/core/http/HttpServerOptions;Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/spi/metrics/HttpServerMetrics;
goto 3
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: io.vertx.core.http.impl.HttpServerImpl
2: aconst_null
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress java.lang.String io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.spi.metrics.HttpServerMetrics
3: putfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
4: new io.vertx.core.http.impl.HttpServerImpl$1
dup
aload 0
5: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
6: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
7: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
8: aload 2
9: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
10: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.disableH2c:Z
11: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Lio/vertx/core/net/impl/HandlerManager;)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/net/impl/HandlerManager.chooseHandler(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/HandlerHolder; (5)
(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/HandlerHolder;
12: aload 0
invokedynamic apply(Lio/vertx/core/http/impl/HttpServerImpl;)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/HttpServerImpl.lambda$2(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/HandlerHolder; (7)
(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/HandlerHolder;
13: invokespecial io.vertx.core.http.impl.HttpServerImpl$1.<init>:(Lio/vertx/core/http/impl/HttpServerImpl;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
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 14 1 address Lio/vertx/core/net/SocketAddress;
0 14 2 serverOrigin Ljava/lang/String;
1 14 3 vertxMetrics Lio/vertx/core/spi/metrics/VertxMetrics;
MethodParameters:
Name Flags
address
serverOrigin
public synchronized io.vertx.core.http.HttpServer listen(io.vertx.core.net.SocketAddress, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServer>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
ifnonnull 2
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Set request or websocket handler first"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
ifeq 4
3: new java.lang.IllegalStateException
dup
ldc "Already listening"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
putfield io.vertx.core.http.impl.HttpServerImpl.listenContext:Lio/vertx/core/impl/ContextInternal;
5: aload 0
iconst_1
putfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
6: aload 1
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
ifnull 7
aload 1
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack:
7: ldc "localhost"
StackMap locals:
StackMap stack: java.lang.String
8: astore 3
start local 3 9: aload 1
invokeinterface io.vertx.core.net.SocketAddress.port:()I
istore 4
start local 4 10: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getAlpnVersions:()Ljava/util/List;
astore 5
start local 5 11: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listenContext:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.isWorkerContext:()Z
ifeq 13
12: aload 5
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
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;)Z
io/vertx/core/http/impl/HttpServerImpl.lambda$3(Lio/vertx/core/http/HttpVersion;)Z (6)
(Lio/vertx/core/http/HttpVersion;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
astore 5
13: StackMap locals: java.lang.String int java.util.List
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 5
invokevirtual io.vertx.core.net.impl.SSLHelper.setApplicationProtocols:(Ljava/util/List;)Lio/vertx/core/net/impl/SSLHelper;
pop
14: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
dup
astore 6
monitorenter
15: aload 0
iload 4
putfield io.vertx.core.http.impl.HttpServerImpl.actualPort:I
16: aload 0
new io.vertx.core.net.impl.ServerID
dup
iload 4
aload 3
invokespecial io.vertx.core.net.impl.ServerID.<init>:(ILjava/lang/String;)V
putfield io.vertx.core.http.impl.HttpServerImpl.id:Lio/vertx/core/net/impl/ServerID;
17: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.id:Lio/vertx/core/net/impl/ServerID;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.http.impl.HttpServerImpl
astore 7
start local 7 18: aload 7
ifnull 19
iload 4
ifne 45
19: StackMap locals: java.util.Map io.vertx.core.http.impl.HttpServerImpl
StackMap stack:
aload 0
new io.netty.channel.group.DefaultChannelGroup
dup
ldc "vertx-acceptor-channels"
getstatic io.netty.util.concurrent.GlobalEventExecutor.INSTANCE:Lio/netty/util/concurrent/GlobalEventExecutor;
invokespecial io.netty.channel.group.DefaultChannelGroup.<init>:(Ljava/lang/String;Lio/netty/util/concurrent/EventExecutor;)V
putfield io.vertx.core.http.impl.HttpServerImpl.serverChannelGroup:Lio/netty/channel/group/ChannelGroup;
20: new io.netty.bootstrap.ServerBootstrap
dup
invokespecial io.netty.bootstrap.ServerBootstrap.<init>:()V
astore 8
start local 8 21: aload 8
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getAcceptorEventLoopGroup:()Lio/netty/channel/EventLoopGroup;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.availableWorkers:Lio/vertx/core/net/impl/VertxEventLoopGroup;
invokevirtual io.netty.bootstrap.ServerBootstrap.group:(Lio/netty/channel/EventLoopGroup;Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/ServerBootstrap;
pop
22: aload 0
aload 1
invokeinterface io.vertx.core.net.SocketAddress.path:()Ljava/lang/String;
ifnull 23
iconst_1
goto 24
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.netty.bootstrap.ServerBootstrap
StackMap stack: io.vertx.core.http.impl.HttpServerImpl
23: iconst_0
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.netty.bootstrap.ServerBootstrap
StackMap stack: io.vertx.core.http.impl.HttpServerImpl int
24: aload 8
invokevirtual io.vertx.core.http.impl.HttpServerImpl.applyConnectionOptions:(ZLio/netty/bootstrap/ServerBootstrap;)V
25: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokevirtual io.vertx.core.net.impl.SSLHelper.validate:(Lio/vertx/core/impl/VertxInternal;)V
26: new java.lang.StringBuilder
dup
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.isSsl:()Z
ifeq 27
ldc "https"
goto 28
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.netty.bootstrap.ServerBootstrap
StackMap stack: new 26 new 26
27: ldc "http"
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.netty.bootstrap.ServerBootstrap
StackMap stack: new 26 new 26 java.lang.String
28: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 29: aload 8
aload 0
aload 1
aload 9
invokevirtual io.vertx.core.http.impl.HttpServerImpl.childHandler:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
invokevirtual io.netty.bootstrap.ServerBootstrap.childHandler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/ServerBootstrap;
pop
30: aload 0
aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listenContext:Lio/vertx/core/impl/ContextInternal;
invokevirtual io.vertx.core.http.impl.HttpServerImpl.addHandlers:(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/impl/ContextInternal;)V
31: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 1
aload 8
invokestatic io.vertx.core.net.impl.AsyncResolveConnectHelper.doBind:(Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Lio/netty/bootstrap/ServerBootstrap;)Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
putfield io.vertx.core.http.impl.HttpServerImpl.bindFuture:Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
32: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.bindFuture:Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
aload 0
aload 1
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/net/SocketAddress;)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/HttpServerImpl.lambda$4(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.core.net.impl.AsyncResolveConnectHelper.addListener:(Lio/vertx/core/Handler;)V
33: goto 42
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.netty.bootstrap.ServerBootstrap java.lang.String
StackMap stack: java.lang.Throwable
34: astore 10
start local 10 35: aload 2
ifnull 38
36: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 2
aload 10
invokedynamic handle(Lio/vertx/core/Handler;Ljava/lang/Throwable;)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/HttpServerImpl.lambda$5(Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.VertxInternal.runOnContext:(Lio/vertx/core/Handler;)V
37: goto 39
38: StackMap locals: java.lang.Throwable
StackMap stack:
getstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/logging/Logger;
aload 10
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;)V
39: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
40: aload 0
aload 6
monitorexit
41: areturn
end local 10 42: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.id:Lio/vertx/core/net/impl/ServerID;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
43: aload 0
aload 0
putfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
end local 9 end local 8 44: goto 52
45: StackMap locals:
StackMap stack:
aload 0
aload 7
putfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
46: aload 0
aload 7
getfield io.vertx.core.http.impl.HttpServerImpl.actualPort:I
putfield io.vertx.core.http.impl.HttpServerImpl.actualPort:I
47: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listenContext:Lio/vertx/core/impl/ContextInternal;
invokevirtual io.vertx.core.http.impl.HttpServerImpl.addHandlers:(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/impl/ContextInternal;)V
48: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
astore 8
start local 8 49: aload 0
aload 8
ifnull 50
aload 8
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
aload 1
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createHttpServerMetrics:(Lio/vertx/core/http/HttpServerOptions;Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/spi/metrics/HttpServerMetrics;
goto 51
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: io.vertx.core.http.impl.HttpServerImpl
50: aconst_null
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map io.vertx.core.http.impl.HttpServerImpl io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.spi.metrics.HttpServerMetrics
51: putfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
end local 8 52: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.bindFuture:Lio/vertx/core/net/impl/AsyncResolveConnectHelper;
aload 0
aload 2
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerImpl;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/HttpServerImpl.lambda$6(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.core.net.impl.AsyncResolveConnectHelper.addListener:(Lio/vertx/core/Handler;)V
end local 7 53: aload 6
monitorexit
54: goto 57
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.Handler java.lang.String int java.util.List java.util.Map
StackMap stack: java.lang.Throwable
55: aload 6
monitorexit
56: athrow
57: StackMap locals:
StackMap stack:
aload 0
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 58 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 58 1 address Lio/vertx/core/net/SocketAddress;
0 58 2 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
9 58 3 host Ljava/lang/String;
10 58 4 port I
11 58 5 applicationProtocols Ljava/util/List<Lio/vertx/core/http/HttpVersion;>;
18 53 7 shared Lio/vertx/core/http/impl/HttpServerImpl;
21 44 8 bootstrap Lio/netty/bootstrap/ServerBootstrap;
29 44 9 serverOrigin Ljava/lang/String;
35 42 10 t Ljava/lang/Throwable;
49 52 8 metrics Lio/vertx/core/spi/metrics/VertxMetrics;
Exception table:
from to target type
31 33 34 Class java.lang.Throwable
15 41 55 any
42 54 55 any
55 56 55 any
Signature: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;)Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
address
listenHandler
public void closeAll(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
invokevirtual io.vertx.core.net.impl.HandlerManager.handlers:()Ljava/util/List;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
2: invokedynamic apply()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/HttpServerImpl.lambda$8(Lio/vertx/core/http/impl/HttpHandlers;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/impl/HttpHandlers;)Lio/vertx/core/Future;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
4: astore 3
start local 3 5: aload 3
invokestatic io.vertx.core.CompositeFuture.all:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
astore 4
start local 4 6: aload 4
aload 1
invokedynamic handle(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/HttpServerImpl.lambda$10(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.CompositeFuture.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/CompositeFuture;
pop
7: return
end local 4 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/HttpServerImpl;
0 8 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 8 2 list Ljava/util/List<Lio/vertx/core/http/impl/HttpHandlers;>;
5 8 3 futures Ljava/util/List<Lio/vertx/core/Future;>;
6 8 4 fut Lio/vertx/core/CompositeFuture;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
handler
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.close:(Lio/vertx/core/Handler;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerImpl;
public synchronized void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:()Lio/vertx/core/Handler;
ifnonnull 1
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:()Lio/vertx/core/Handler;
ifnull 7
1: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:()Lio/vertx/core/Handler;
astore 2
start local 2 2: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
3: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:()Lio/vertx/core/Handler;
astore 3
start local 3 4: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
5: aload 1
astore 4
start local 4 6: aload 2
aload 3
aload 4
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/Handler;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/HttpServerImpl.lambda$11(Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
astore 1
end local 4 end local 3 end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 2
start local 2 8: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
ifne 11
9: aload 0
aload 2
aload 1
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.executeCloseDone:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/Exception;)V
10: return
11: StackMap locals: io.vertx.core.impl.ContextInternal
StackMap stack:
aload 0
iconst_0
putfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
12: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
dup
astore 3
monitorenter
13: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
ifnull 31
14: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
15: new io.vertx.core.http.impl.HttpHandlers
dup
16: aload 0
17: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
18: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
19: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.connectionHandler:Lio/vertx/core/Handler;
20: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
ifnonnull 21
getstatic io.vertx.core.http.impl.HttpServerImpl.DEFAULT_EXCEPTION_HANDLER:Lio/vertx/core/Handler;
goto 22
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.impl.ContextInternal java.util.Map
StackMap stack: io.vertx.core.net.impl.HandlerManager new 15 new 15 io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
21: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
22: StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.impl.ContextInternal java.util.Map
StackMap stack: io.vertx.core.net.impl.HandlerManager new 15 new 15 io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
invokespecial io.vertx.core.http.impl.HttpHandlers.<init>:(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
23: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listenContext:Lio/vertx/core/impl/ContextInternal;
24: invokevirtual io.vertx.core.net.impl.HandlerManager.removeHandler:(Ljava/lang/Object;Lio/vertx/core/impl/ContextInternal;)V
25: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
invokevirtual io.vertx.core.net.impl.HandlerManager.hasHandlers:()Z
ifeq 29
26: aload 1
ifnull 32
27: aload 0
aload 2
aload 1
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.executeCloseDone:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/Exception;)V
28: goto 32
29: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualServer:Lio/vertx/core/http/impl/HttpServerImpl;
aload 2
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerImpl.actualClose:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)V
30: goto 32
31: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
aconst_null
invokevirtual io.vertx.core.http.impl.HttpServerImpl.executeCloseDone:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/Exception;)V
32: StackMap locals:
StackMap stack:
aload 3
monitorexit
33: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
34: aload 3
monitorexit
35: athrow
36: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
ifnull 38
37: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.creatingContext:Lio/vertx/core/impl/ContextInternal;
aload 0
invokeinterface io.vertx.core.impl.ContextInternal.removeCloseHook:(Lio/vertx/core/Closeable;)Z
pop
38: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 39 1 done Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
2 7 2 wsEndHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
4 7 3 requestEndHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
6 7 4 next Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
8 39 2 context Lio/vertx/core/impl/ContextInternal;
Exception table:
from to target type
13 33 34 any
34 35 34 any
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
done
public synchronized boolean isClosed();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/HttpServerImpl;
public io.vertx.core.spi.metrics.Metrics getMetrics();
descriptor: ()Lio/vertx/core/spi/metrics/Metrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
public boolean isMetricsEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerImpl;
public io.vertx.core.net.impl.SSLHelper getSslHelper();
descriptor: ()Lio/vertx/core/net/impl/SSLHelper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
private void applyConnectionOptions(boolean, io.netty.bootstrap.ServerBootstrap);
descriptor: (ZLio/netty/bootstrap/ServerBootstrap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
iload 1
aload 2
invokevirtual io.vertx.core.net.impl.transport.Transport.configure:(Lio/vertx/core/net/NetServerOptions;ZLio/netty/bootstrap/ServerBootstrap;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 2 1 domainSocket Z
0 2 2 bootstrap Lio/netty/bootstrap/ServerBootstrap;
MethodParameters:
Name Flags
domainSocket
bootstrap
private void addHandlers(io.vertx.core.http.impl.HttpServerImpl, io.vertx.core.impl.ContextInternal);
descriptor: (Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/impl/ContextInternal;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
1: new io.vertx.core.http.impl.HttpHandlers
dup
2: aload 0
3: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
4: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:()Lio/vertx/core/Handler;
5: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.connectionHandler:Lio/vertx/core/Handler;
6: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
ifnonnull 7
getstatic io.vertx.core.http.impl.HttpServerImpl.DEFAULT_EXCEPTION_HANDLER:Lio/vertx/core/Handler;
goto 8
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.ContextInternal
StackMap stack: io.vertx.core.net.impl.HandlerManager new 1 new 1 io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
7: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
8: StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.ContextInternal
StackMap stack: io.vertx.core.net.impl.HandlerManager new 1 new 1 io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
invokespecial io.vertx.core.http.impl.HttpHandlers.<init>:(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
9: aload 2
10: invokevirtual io.vertx.core.net.impl.HandlerManager.addHandler:(Ljava/lang/Object;Lio/vertx/core/impl/ContextInternal;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 12 1 server Lio/vertx/core/http/impl/HttpServerImpl;
0 12 2 context Lio/vertx/core/impl/ContextInternal;
MethodParameters:
Name Flags
server
context
private void actualClose(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.id:Lio/vertx/core/net/impl/ServerID;
ifnull 2
1: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.id:Lio/vertx/core/net/impl/ServerID;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getContext:()Lio/vertx/core/impl/ContextInternal;
astore 3
start local 3 3: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.connectionMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.ContextInternal io.vertx.core.Handler io.vertx.core.impl.ContextInternal top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.ConnectionBase
astore 4
start local 4 5: aload 4
invokevirtual io.vertx.core.net.impl.ConnectionBase.close:()V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getContext:()Lio/vertx/core/impl/ContextInternal;
aload 3
if_acmpeq 9
8: new java.lang.IllegalStateException
dup
ldc "Context was changed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.ContextInternal io.vertx.core.Handler io.vertx.core.impl.ContextInternal
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
ifnull 11
10: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
invokeinterface io.vertx.core.spi.metrics.HttpServerMetrics.close:()V
11: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.serverChannelGroup:Lio/netty/channel/group/ChannelGroup;
invokeinterface io.netty.channel.group.ChannelGroup.close:()Lio/netty/channel/group/ChannelGroupFuture;
astore 4
start local 4 12: aload 4
aload 0
aload 1
aload 2
aload 4
invokedynamic operationComplete(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/netty/channel/group/ChannelGroupFuture;)Lio/netty/util/concurrent/GenericFutureListener;
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:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/http/impl/HttpServerImpl.lambda$12(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/netty/channel/group/ChannelGroupFuture;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.group.ChannelGroupFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/group/ChannelGroupFuture;
pop
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 14 1 closeContext Lio/vertx/core/impl/ContextInternal;
0 14 2 done Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
3 14 3 currCon Lio/vertx/core/impl/ContextInternal;
5 6 4 conn Lio/vertx/core/net/impl/ConnectionBase;
12 14 4 fut Lio/netty/channel/group/ChannelGroupFuture;
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
closeContext final
done final
public int actualPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.actualPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
private void executeCloseDone(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>, java.lang.Exception);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/Exception;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 5
1: aload 3
ifnull 2
aload 3
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
goto 3
StackMap locals:
StackMap stack:
2: invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
StackMap locals:
StackMap stack: io.vertx.core.Future
3: astore 4
start local 4 4: aload 1
aload 2
aload 4
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/Future;)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/HttpServerImpl.lambda$13(Lio/vertx/core/Handler;Lio/vertx/core/Future;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
end local 4 5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 6 1 closeContext Lio/vertx/core/impl/ContextInternal;
0 6 2 done Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
0 6 3 e Ljava/lang/Exception;
4 5 4 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;Ljava/lang/Exception;)V
MethodParameters:
Name Flags
closeContext final
done final
e final
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerImpl.close:()V
1: aload 0
invokespecial java.lang.Object.finalize:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/HttpServerImpl;
Exceptions:
throws java.lang.Throwable
private static void lambda$0(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/logging/Logger;
ldc "Connection failure"
aload 0
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;Ljava/lang/Throwable;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljava/lang/Throwable;
private io.vertx.core.net.impl.HandlerHolder lambda$2(io.netty.channel.EventLoop);
descriptor: (Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/HandlerHolder;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.httpHandlerMgr:Lio/vertx/core/net/impl/HandlerManager;
aload 1
invokevirtual io.vertx.core.net.impl.HandlerManager.chooseHandler:(Lio/netty/channel/EventLoop;)Lio/vertx/core/net/impl/HandlerHolder;
astore 2
start local 2 1: aload 2
ifnull 3
aload 2
getfield io.vertx.core.net.impl.HandlerHolder.handler:Ljava/lang/Object;
checkcast io.vertx.core.http.impl.HttpHandlers
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
ifnull 3
2: new io.vertx.core.net.impl.HandlerHolder
dup
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.http.impl.HttpHandlers
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
invokespecial io.vertx.core.net.impl.HandlerHolder.<init>:(Lio/vertx/core/impl/ContextInternal;Ljava/lang/Object;)V
areturn
3: StackMap locals: io.vertx.core.net.impl.HandlerHolder
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 4 1 eventLoop Lio/netty/channel/EventLoop;
1 4 2 holder Lio/vertx/core/net/impl/HandlerHolder<Lio/vertx/core/http/impl/HttpHandlers;>;
private static boolean lambda$3(io.vertx.core.http.HttpVersion);
descriptor: (Lio/vertx/core/http/HttpVersion;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.vertx.core.http.HttpVersion.HTTP_2:Lio/vertx/core/http/HttpVersion;
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v Lio/vertx/core/http/HttpVersion;
private void lambda$4(io.vertx.core.net.SocketAddress, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.id:Lio/vertx/core/net/impl/ServerID;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: goto 9
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.netty.channel.Channel
astore 3
start local 3 4: aload 3
invokeinterface io.netty.channel.Channel.localAddress:()Ljava/net/SocketAddress;
instanceof java.net.InetSocketAddress
ifeq 7
5: aload 0
aload 3
invokeinterface io.netty.channel.Channel.localAddress:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield io.vertx.core.http.impl.HttpServerImpl.actualPort:I
6: goto 8
7: StackMap locals: io.netty.channel.Channel
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.net.SocketAddress.port:()I
putfield io.vertx.core.http.impl.HttpServerImpl.actualPort:I
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.serverChannelGroup:Lio/netty/channel/group/ChannelGroup;
aload 3
invokeinterface io.netty.channel.group.ChannelGroup.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 10 2 res Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
4 9 3 serverChannel Lio/netty/channel/Channel;
private static void lambda$5(io.vertx.core.Handler, java.lang.Throwable, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
private void lambda$6(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 2 0: aload 1
ifnull 8
1: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
2: aload 0
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
astore 3
start local 3 3: goto 6
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
astore 3
start local 3 5: aload 0
iconst_0
putfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
6: StackMap locals: io.vertx.core.AsyncResult
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.listenContext:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 3
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)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/HttpServerImpl.lambda$7(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
end local 3 7: goto 14
StackMap locals:
StackMap stack:
8: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 14
9: aload 0
iconst_0
putfield io.vertx.core.http.impl.HttpServerImpl.listening:Z
10: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
ifnull 13
11: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
invokeinterface io.vertx.core.spi.metrics.HttpServerMetrics.close:()V
12: aload 0
aconst_null
putfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
13: StackMap locals:
StackMap stack:
getstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/logging/Logger;
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 15 2 future Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
3 4 3 res Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;
5 7 3 res Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;
private static io.vertx.core.Future lambda$8(io.vertx.core.http.impl.HttpHandlers);
descriptor: (Lio/vertx/core/http/impl/HttpHandlers;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerImpl;)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/HttpServerImpl.close(Lio/vertx/core/Handler;)V (5)
(Lio/vertx/core/Promise;)V
invokestatic io.vertx.core.Future.future:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 handlers Lio/vertx/core/http/impl/HttpHandlers;
private static void lambda$10(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.mapEmpty:()Lio/vertx/core/AsyncResult;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
private static void lambda$11(io.vertx.core.Handler, io.vertx.core.Handler, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 0
ifnull 3
2: aload 0
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Void
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 1
ifnull 5
4: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Void
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 2
ifnull 7
6: aload 2
aload 3
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 8 3 event Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$12(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, io.netty.channel.group.ChannelGroupFuture, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/netty/channel/group/ChannelGroupFuture;Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokeinterface io.netty.channel.group.ChannelGroupFuture.cause:()Lio/netty/channel/group/ChannelGroupException;
invokevirtual io.vertx.core.http.impl.HttpServerImpl.executeCloseDone:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/Exception;)V
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 1 4 cgf Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
private static void lambda$13(io.vertx.core.Handler, io.vertx.core.Future, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/Future;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
private static void lambda$7(io.vertx.core.Handler, io.vertx.core.AsyncResult, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
}
SourceFile: "HttpServerImpl.java"
NestMembers:
io.vertx.core.http.impl.HttpServerImpl$1 io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler
InnerClasses:
io.vertx.core.http.impl.HttpServerImpl$1
HttpStreamHandler = io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler of io.vertx.core.http.impl.HttpServerImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles