public class io.vertx.core.http.impl.HttpServerImpl extends io.vertx.core.net.impl.TCPServerBase 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: io.vertx.core.net.impl.TCPServerBase
{
static final io.vertx.core.impl.logging.Logger log;
descriptor: Lio/vertx/core/impl/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
private final boolean disableH2c;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.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.impl.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/impl/logging/Logger;
putstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/impl/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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial io.vertx.core.net.impl.TCPServerBase.<init>:(Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/NetServerOptions;)V
1: 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;
2: 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;
3: 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;
4: aload 0
ldc "vertx.disableH2c"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 5
aload 2
invokevirtual io.vertx.core.http.HttpServerOptions.isSsl:()Z
ifne 5
iconst_0
goto 6
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.VertxInternal io.vertx.core.http.HttpServerOptions
StackMap stack: io.vertx.core.http.impl.HttpServerImpl
5: iconst_1
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.impl.VertxInternal io.vertx.core.http.HttpServerOptions
StackMap stack: io.vertx.core.http.impl.HttpServerImpl int
6: putfield io.vertx.core.http.impl.HttpServerImpl.disableH2c:Z
7: return
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 vertx Lio/vertx/core/impl/VertxInternal;
0 8 2 options Lio/vertx/core/http/HttpServerOptions;
MethodParameters:
Name Flags
vertx
options
protected io.vertx.core.spi.metrics.TCPMetrics<?> createMetrics(io.vertx.core.net.SocketAddress);
descriptor: (Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/spi/metrics/TCPMetrics;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 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 2
start local 2 1: aload 2
ifnull 3
2: aload 2
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;
areturn
3: StackMap locals: io.vertx.core.spi.metrics.VertxMetrics
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 localAddress Lio/vertx/core/net/SocketAddress;
1 4 2 vertxMetrics Lio/vertx/core/spi/metrics/VertxMetrics;
Signature: (Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/spi/metrics/TCPMetrics<*>;
MethodParameters:
Name Flags
localAddress
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
invokevirtual io.vertx.core.http.impl.HttpServerImpl.isListening:()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
invokevirtual io.vertx.core.http.impl.HttpServerImpl.isListening:()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.Future<io.vertx.core.http.HttpServer> listen();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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;
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
Signature: ()Lio/vertx/core/Future<Lio/vertx/core/http/HttpServer;>;
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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:()Lio/vertx/core/Future;
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 2
aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: StackMap locals: io.vertx.core.Future
StackMap stack:
aload 0
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 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
1 4 2 fut Lio/vertx/core/Future<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.Future<io.vertx.core.http.HttpServer> listen(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/Future;
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;
Signature: (ILjava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/http/HttpServer;>;
MethodParameters:
Name Flags
port
host
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=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;)Lio/vertx/core/Future;
astore 4
start local 4 1: aload 3
ifnull 3
2: aload 4
aload 3
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: StackMap locals: io.vertx.core.Future
StackMap stack:
aload 0
areturn
end local 4 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/HttpServerImpl;
0 4 1 port I
0 4 2 host Ljava/lang/String;
0 4 3 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
1 4 4 fut Lio/vertx/core/Future<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
public io.vertx.core.Future<io.vertx.core.http.HttpServer> listen(int);
descriptor: (I)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ldc "0.0.0.0"
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(ILjava/lang/String;)Lio/vertx/core/Future;
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
Signature: (I)Lio/vertx/core/Future<Lio/vertx/core/http/HttpServer;>;
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=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(I)Lio/vertx/core/Future;
astore 3
start local 3 1: aload 2
ifnull 3
2: aload 3
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: StackMap locals: io.vertx.core.Future
StackMap stack:
aload 0
areturn
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/HttpServerImpl;
0 4 1 port I
0 4 2 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
1 4 3 fut Lio/vertx/core/Future<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
private io.vertx.core.Handler<io.netty.channel.Channel> childHandler(io.vertx.core.impl.EventLoopContext, java.util.function.Supplier<io.vertx.core.impl.ContextInternal>, io.vertx.core.http.impl.HttpServerConnectionHandler, io.vertx.core.Handler<java.lang.Throwable>, io.vertx.core.net.SocketAddress, java.lang.String);
descriptor: (Lio/vertx/core/impl/EventLoopContext;Ljava/util/function/Supplier;Lio/vertx/core/http/impl/HttpServerConnectionHandler;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new io.vertx.core.http.impl.HttpServerWorker
dup
1: aload 1
2: aload 2
3: aload 0
4: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
5: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
6: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
7: aload 6
8: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.disableH2c:Z
9: aload 3
10: aload 3
getfield io.vertx.core.http.impl.HttpServerConnectionHandler.exceptionHandler:Lio/vertx/core/Handler;
11: invokespecial io.vertx.core.http.impl.HttpServerWorker.<init>:(Lio/vertx/core/impl/EventLoopContext;Ljava/util/function/Supplier;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;ZLio/vertx/core/Handler;Lio/vertx/core/Handler;)V
areturn
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 12 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 12 1 context Lio/vertx/core/impl/EventLoopContext;
0 12 2 streamContextSupplier Ljava/util/function/Supplier<Lio/vertx/core/impl/ContextInternal;>;
0 12 3 handlers Lio/vertx/core/http/impl/HttpServerConnectionHandler;
0 12 4 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
0 12 5 address Lio/vertx/core/net/SocketAddress;
0 12 6 serverOrigin Ljava/lang/String;
Signature: (Lio/vertx/core/impl/EventLoopContext;Ljava/util/function/Supplier<Lio/vertx/core/impl/ContextInternal;>;Lio/vertx/core/http/impl/HttpServerConnectionHandler;Lio/vertx/core/Handler<Ljava/lang/Throwable;>;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Lio/vertx/core/Handler<Lio/netty/channel/Channel;>;
MethodParameters:
Name Flags
context
streamContextSupplier
handlers
exceptionHandler
address
serverOrigin
public io.vertx.core.Future<io.vertx.core.http.HttpServer> listen(io.vertx.core.net.SocketAddress);
descriptor: (Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=14, 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;
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.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 2
start local 2 3: aload 2
instanceof io.vertx.core.impl.EventLoopContext
ifeq 6
4: aload 2
checkcast io.vertx.core.impl.EventLoopContext
astore 3
start local 3 5: goto 7
end local 3 6: StackMap locals: io.vertx.core.impl.ContextInternal
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.nettyEventLoop:()Lio/netty/channel/EventLoop;
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.workerPool:()Lio/vertx/core/impl/WorkerPool;
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.classLoader:()Ljava/lang/ClassLoader;
invokeinterface io.vertx.core.impl.VertxInternal.createEventLoopContext:(Lio/netty/channel/EventLoop;Lio/vertx/core/impl/WorkerPool;Ljava/lang/ClassLoader;)Lio/vertx/core/impl/EventLoopContext;
astore 3
start local 3 7: StackMap locals: io.vertx.core.impl.EventLoopContext
StackMap stack:
aload 1
invokeinterface io.vertx.core.net.SocketAddress.isInetSocket:()Z
ifeq 8
aload 1
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
goto 9
StackMap locals:
StackMap stack:
8: ldc "localhost"
StackMap locals:
StackMap stack: java.lang.String
9: astore 4
start local 4 10: aload 1
invokeinterface io.vertx.core.net.SocketAddress.port:()I
istore 5
start local 5 11: 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 6
start local 6 12: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 6
invokevirtual io.vertx.core.net.impl.SSLHelper.setApplicationProtocols:(Ljava/util/List;)Lio/vertx/core/net/impl/SSLHelper;
pop
13: 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 14
ldc "https"
goto 15
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.impl.ContextInternal io.vertx.core.impl.EventLoopContext java.lang.String int java.util.List
StackMap stack: new 13 new 13
14: ldc "http"
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.impl.ContextInternal io.vertx.core.impl.EventLoopContext java.lang.String int java.util.List
StackMap stack: new 13 new 13 java.lang.String
15: 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 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 16: new io.vertx.core.http.impl.HttpServerConnectionHandler
dup
aload 0
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.requestStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.wsStream:Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler;
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.connectionHandler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
ifnonnull 17
getstatic io.vertx.core.http.impl.HttpServerImpl.DEFAULT_EXCEPTION_HANDLER:Lio/vertx/core/Handler;
goto 18
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.impl.ContextInternal io.vertx.core.impl.EventLoopContext java.lang.String int java.util.List java.lang.String
StackMap stack: new 16 new 16 io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
17: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
StackMap locals: io.vertx.core.http.impl.HttpServerImpl io.vertx.core.net.SocketAddress io.vertx.core.impl.ContextInternal io.vertx.core.impl.EventLoopContext java.lang.String int java.util.List java.lang.String
StackMap stack: new 16 new 16 io.vertx.core.http.impl.HttpServerImpl io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
18: invokespecial io.vertx.core.http.impl.HttpServerConnectionHandler.<init>:(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
astore 8
start local 8 19: aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lio/vertx/core/impl/ContextInternal;)Ljava/util/function/Supplier;
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;
io/vertx/core/impl/ContextInternal.duplicate()Lio/vertx/core/impl/ContextInternal; (9 itf)
()Lio/vertx/core/impl/ContextInternal;
astore 9
start local 9 20: aload 0
aload 3
aload 9
aload 8
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl.exceptionHandler:Lio/vertx/core/Handler;
aload 1
aload 7
invokevirtual io.vertx.core.http.impl.HttpServerImpl.childHandler:(Lio/vertx/core/impl/EventLoopContext;Ljava/util/function/Supplier;Lio/vertx/core/http/impl/HttpServerConnectionHandler;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Lio/vertx/core/Handler;
astore 11
start local 11 21: aload 0
aload 1
aload 2
aload 11
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)Lio/netty/util/concurrent/Future;
astore 12
start local 12 22: aload 2
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 13
start local 13 23: aload 12
aload 0
aload 13
invokedynamic operationComplete(Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/Promise;)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$2(Lio/vertx/core/Promise;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.util.concurrent.Future.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future;
pop
24: aload 13
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 13 end local 12 end local 11 end local 9 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 25 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 25 1 address Lio/vertx/core/net/SocketAddress;
3 25 2 listenContext Lio/vertx/core/impl/ContextInternal;
5 6 3 connContext Lio/vertx/core/impl/EventLoopContext;
7 25 3 connContext Lio/vertx/core/impl/EventLoopContext;
10 25 4 host Ljava/lang/String;
11 25 5 port I
12 25 6 applicationProtocols Ljava/util/List<Lio/vertx/core/http/HttpVersion;>;
16 25 7 serverOrigin Ljava/lang/String;
19 25 8 hello Lio/vertx/core/http/impl/HttpServerConnectionHandler;
20 25 9 streamContextSupplier Ljava/util/function/Supplier<Lio/vertx/core/impl/ContextInternal;>;
21 25 11 channelHandler Lio/vertx/core/Handler<Lio/netty/channel/Channel;>;
22 25 12 bindFuture Lio/netty/util/concurrent/Future<Lio/netty/channel/Channel;>;
23 25 13 promise Lio/vertx/core/Promise<Lio/vertx/core/http/HttpServer;>;
Signature: (Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/Future<Lio/vertx/core/http/HttpServer;>;
MethodParameters:
Name Flags
address
public 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: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
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$3(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
astore 2
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerImpl.listen:(Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: aload 0
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 address Lio/vertx/core/net/SocketAddress;
0 4 2 listenHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;>;
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 io.vertx.core.Future<java.lang.Void> close();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 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;
astore 1
start local 1 1: aload 1
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual io.vertx.core.http.impl.HttpServerImpl.close:(Lio/vertx/core/Promise;)V
3: aload 2
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
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;
1 4 1 context Lio/vertx/core/impl/ContextInternal;
2 4 2 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;
public void close(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=4, args_size=2
start local 0 start local 1 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;
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 3
start local 3 2: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.HttpServerImpl.close:(Lio/vertx/core/Promise;)V
3: aload 1
ifnull 5
4: aload 3
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
5: StackMap locals: io.vertx.core.impl.ContextInternal io.vertx.core.impl.future.PromiseInternal
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 done Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 6 2 context Lio/vertx/core/impl/ContextInternal;
2 6 3 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
done
public synchronized void close(io.vertx.core.Promise<java.lang.Void>);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, 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 6
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
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 2
aload 3
invokedynamic handle(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$4(Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial io.vertx.core.net.impl.TCPServerBase.close:(Lio/vertx/core/Promise;)V
7: return
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 completion Lio/vertx/core/Promise<Ljava/lang/Void;>;
2 6 2 wsEndHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
4 6 3 requestEndHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Promise<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
completion
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerImpl.isListening:()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.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;
boolean requestAccept();
descriptor: ()Z
flags: (0x0000)
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.accept:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
boolean wsAccept();
descriptor: ()Z
flags: (0x0000)
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.accept:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl;
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/impl/logging/Logger;
ldc "Connection failure"
aload 0
invokeinterface io.vertx.core.impl.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 void lambda$2(io.vertx.core.Promise, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/Promise;Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 3
1: aload 1
aload 0
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/HttpServerImpl;
0 5 2 res Lio/netty/util/concurrent/Future<-Lio/netty/channel/Channel;>;
Exceptions:
throws java.lang.Exception
private static void lambda$3(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 2
1: getstatic io.vertx.core.http.impl.HttpServerImpl.log:Lio/vertx/core/impl/logging/Logger;
ldc "Failed to listen"
aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;
private static void lambda$4(io.vertx.core.Handler, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (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=3, args_size=3
start local 2 0: aload 0
ifnull 2
1: aload 0
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnull 4
3: aload 1
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "HttpServerImpl.java"
NestMembers:
io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler
InnerClasses:
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