public class io.vertx.core.http.impl.HttpHandlers implements io.vertx.core.Handler<io.vertx.core.http.impl.HttpServerConnection>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.HttpHandlers
super_class: java.lang.Object
{
final io.vertx.core.http.impl.HttpServerImpl server;
descriptor: Lio/vertx/core/http/impl/HttpServerImpl;
flags: (0x0010) ACC_FINAL
final io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> requestHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;
final io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket> wsHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Handler<Lio/vertx/core/http/ServerWebSocket;>;
final io.vertx.core.Handler<io.vertx.core.http.HttpConnection> connectionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Handler<Lio/vertx/core/http/HttpConnection;>;
final io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
public void <init>(io.vertx.core.http.impl.HttpServerImpl, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>, io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket>, io.vertx.core.Handler<io.vertx.core.http.HttpConnection>, io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
2: aload 0
aload 2
putfield io.vertx.core.http.impl.HttpHandlers.requestHandler:Lio/vertx/core/Handler;
3: aload 0
aload 3
putfield io.vertx.core.http.impl.HttpHandlers.wsHandler:Lio/vertx/core/Handler;
4: aload 0
aload 4
putfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
5: aload 0
aload 5
putfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
6: return
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 7 0 this Lio/vertx/core/http/impl/HttpHandlers;
0 7 1 server Lio/vertx/core/http/impl/HttpServerImpl;
0 7 2 requestHandler Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;
0 7 3 wsHandler Lio/vertx/core/Handler<Lio/vertx/core/http/ServerWebSocket;>;
0 7 4 connectionHandler Lio/vertx/core/Handler<Lio/vertx/core/http/HttpConnection;>;
0 7 5 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/http/impl/HttpServerImpl;Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;Lio/vertx/core/Handler<Lio/vertx/core/http/ServerWebSocket;>;Lio/vertx/core/Handler<Lio/vertx/core/http/HttpConnection;>;Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
server
requestHandler
wsHandler
connectionHandler
exceptionHandler
public void handle(io.vertx.core.http.impl.HttpServerConnection);
descriptor: (Lio/vertx/core/http/impl/HttpServerConnection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.connectionMap:Ljava/util/Map;
aload 1
invokeinterface io.vertx.core.http.impl.HttpServerConnection.channel:()Lio/netty/channel/Channel;
aload 1
checkcast io.vertx.core.net.impl.ConnectionBase
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokeinterface io.vertx.core.http.impl.HttpServerConnection.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.closeFuture:()Lio/netty/channel/ChannelFuture;
aload 0
aload 1
invokedynamic operationComplete(Lio/vertx/core/http/impl/HttpHandlers;Lio/vertx/core/http/impl/HttpServerConnection;)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/HttpHandlers.lambda$0(Lio/vertx/core/http/impl/HttpServerConnection;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
2: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.requestHandler:Lio/vertx/core/Handler;
astore 2
start local 2 3: getstatic io.vertx.core.http.impl.HttpServerImpl.DISABLE_WEBSOCKETS:Z
ifne 8
4: aload 1
instanceof io.vertx.core.http.impl.Http1xServerConnection
ifeq 8
5: new io.vertx.core.http.impl.WebSocketRequestHandler
dup
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
aload 0
invokespecial io.vertx.core.http.impl.WebSocketRequestHandler.<init>:(Lio/vertx/core/spi/metrics/HttpServerMetrics;Lio/vertx/core/http/impl/HttpHandlers;)V
astore 2
6: aload 1
checkcast io.vertx.core.http.impl.Http1xServerConnection
astore 3
start local 3 7: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.http.impl.HttpHandlers.initializeWebsocketExtensions:(Lio/netty/channel/ChannelPipeline;)V
end local 3 8: StackMap locals: io.vertx.core.Handler
StackMap stack:
aload 1
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.http.impl.HttpServerConnection.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpConnection;
pop
9: aload 1
aload 2
invokeinterface io.vertx.core.http.impl.HttpServerConnection.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/HttpServerConnection;
pop
10: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
ifnull 12
11: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/http/impl/HttpHandlers;
0 13 1 conn Lio/vertx/core/http/impl/HttpServerConnection;
3 13 2 requestHandler Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;
7 8 3 c Lio/vertx/core/http/impl/Http1xServerConnection;
MethodParameters:
Name Flags
conn
private void initializeWebsocketExtensions(io.netty.channel.ChannelPipeline);
descriptor: (Lio/netty/channel/ChannelPipeline;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getPerFrameWebsocketCompressionSupported:()Z
ifeq 3
2: aload 2
new io.netty.handler.codec.http.websocketx.extensions.compression.DeflateFrameServerExtensionHandshaker
dup
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getWebsocketCompressionLevel:()I
invokespecial io.netty.handler.codec.http.websocketx.extensions.compression.DeflateFrameServerExtensionHandshaker.<init>:(I)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getPerMessageWebsocketCompressionSupported:()Z
ifeq 8
4: aload 2
new io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker
dup
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getWebsocketCompressionLevel:()I
5: invokestatic io.netty.handler.codec.compression.ZlibCodecFactory.isSupportingWindowSizeAndMemLevel:()Z
bipush 15
6: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getWebsocketAllowServerNoContext:()Z
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.options:Lio/vertx/core/http/HttpServerOptions;
invokevirtual io.vertx.core.http.HttpServerOptions.getWebsocketPreferredClientNoContext:()Z
invokespecial io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.<init>:(IZIZZ)V
7: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.ArrayList.isEmpty:()Z
ifne 13
9: new io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler
dup
10: aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
anewarray io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker[]
11: invokespecial io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.<init>:([Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;)V
astore 3
start local 3 12: aload 1
ldc "websocketExtensionHandler"
aload 3
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/http/impl/HttpHandlers;
0 14 1 pipeline Lio/netty/channel/ChannelPipeline;
1 14 2 extensionHandshakers Ljava/util/ArrayList<Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;>;
12 13 3 extensionHandler Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandler;
MethodParameters:
Name Flags
pipeline
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.core.http.impl.HttpHandlers
astore 2
start local 2 4: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.requestHandler:Lio/vertx/core/Handler;
aload 2
getfield io.vertx.core.http.impl.HttpHandlers.requestHandler:Lio/vertx/core/Handler;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
iconst_0
ireturn
5: StackMap locals: io.vertx.core.http.impl.HttpHandlers
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.wsHandler:Lio/vertx/core/Handler;
aload 2
getfield io.vertx.core.http.impl.HttpHandlers.wsHandler:Lio/vertx/core/Handler;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
aload 2
getfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
aload 2
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/http/impl/HttpHandlers;
0 9 1 o Ljava/lang/Object;
4 9 2 that Lio/vertx/core/http/impl/HttpHandlers;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield io.vertx.core.http.impl.HttpHandlers.requestHandler:Lio/vertx/core/Handler;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.requestHandler:Lio/vertx/core/Handler;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.wsHandler:Lio/vertx/core/Handler;
ifnull 5
4: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.wsHandler:Lio/vertx/core/Handler;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
ifnull 7
6: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.connectionHandler:Lio/vertx/core/Handler;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
ifnull 9
8: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.http.impl.HttpHandlers.exceptionHandler:Lio/vertx/core/Handler;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/HttpHandlers;
1 10 1 result I
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.http.impl.HttpServerConnection
invokevirtual io.vertx.core.http.impl.HttpHandlers.handle:(Lio/vertx/core/http/impl/HttpServerConnection;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.core.http.impl.HttpServerConnection, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/http/impl/HttpServerConnection;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 0
getfield io.vertx.core.http.impl.HttpHandlers.server:Lio/vertx/core/http/impl/HttpServerImpl;
getfield io.vertx.core.http.impl.HttpServerImpl.connectionMap:Ljava/util/Map;
aload 1
invokeinterface io.vertx.core.http.impl.HttpServerConnection.channel:()Lio/netty/channel/Channel;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpHandlers;
0 2 2 fut Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;
SourceFile: "HttpHandlers.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles