public class io.vertx.core.http.impl.HttpServerConnectionHandler 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.HttpServerConnectionHandler
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.HttpServerConnectionHandler.server:Lio/vertx/core/http/impl/HttpServerImpl;
2: aload 0
aload 2
putfield io.vertx.core.http.impl.HttpServerConnectionHandler.requestHandler:Lio/vertx/core/Handler;
3: aload 0
aload 3
putfield io.vertx.core.http.impl.HttpServerConnectionHandler.wsHandler:Lio/vertx/core/Handler;
4: aload 0
aload 4
putfield io.vertx.core.http.impl.HttpServerConnectionHandler.connectionHandler:Lio/vertx/core/Handler;
5: aload 0
aload 5
putfield io.vertx.core.http.impl.HttpServerConnectionHandler.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/HttpServerConnectionHandler;
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=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerConnectionHandler.requestHandler:Lio/vertx/core/Handler;
astore 2
start local 2 1: getstatic io.vertx.core.http.impl.HttpServerImpl.DISABLE_WEBSOCKETS:Z
ifne 6
2: aload 1
instanceof io.vertx.core.http.impl.Http1xServerConnection
ifeq 6
3: new io.vertx.core.http.impl.Http1xServerRequestHandler
dup
aload 0
invokespecial io.vertx.core.http.impl.Http1xServerRequestHandler.<init>:(Lio/vertx/core/http/impl/HttpServerConnectionHandler;)V
astore 2
4: aload 1
checkcast io.vertx.core.http.impl.Http1xServerConnection
astore 3
start local 3 5: 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.HttpServerConnectionHandler.initializeWebSocketExtensions:(Lio/netty/channel/ChannelPipeline;)V
end local 3 6: StackMap locals: io.vertx.core.Handler
StackMap stack:
aload 1
aload 0
getfield io.vertx.core.http.impl.HttpServerConnectionHandler.exceptionHandler:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.http.impl.HttpServerConnection.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpConnection;
pop
7: aload 1
aload 2
invokeinterface io.vertx.core.http.impl.HttpServerConnection.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/HttpServerConnection;
pop
8: aload 0
getfield io.vertx.core.http.impl.HttpServerConnectionHandler.connectionHandler:Lio/vertx/core/Handler;
ifnull 20
9: aload 1
invokeinterface io.vertx.core.http.impl.HttpServerConnection.getContext:()Lio/vertx/core/impl/ContextInternal;
astore 3
start local 3 10: aload 3
invokeinterface io.vertx.core.impl.ContextInternal.beginDispatch:()Lio/vertx/core/impl/ContextInternal;
astore 4
start local 4 11: aload 0
getfield io.vertx.core.http.impl.HttpServerConnectionHandler.connectionHandler:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
12: goto 19
StackMap locals: io.vertx.core.http.impl.HttpServerConnectionHandler io.vertx.core.http.impl.HttpServerConnection io.vertx.core.Handler io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal
StackMap stack: java.lang.Exception
13: astore 5
start local 5 14: aload 3
aload 5
invokeinterface io.vertx.core.impl.ContextInternal.reportException:(Ljava/lang/Throwable;)V
end local 5 15: aload 3
aload 4
invokeinterface io.vertx.core.impl.ContextInternal.endDispatch:(Lio/vertx/core/impl/ContextInternal;)V
goto 20
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
17: aload 3
aload 4
invokeinterface io.vertx.core.impl.ContextInternal.endDispatch:(Lio/vertx/core/impl/ContextInternal;)V
18: aload 6
athrow
19: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface io.vertx.core.impl.ContextInternal.endDispatch:(Lio/vertx/core/impl/ContextInternal;)V
end local 4 end local 3 20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/core/http/impl/HttpServerConnectionHandler;
0 21 1 conn Lio/vertx/core/http/impl/HttpServerConnection;
1 21 2 requestHandler Lio/vertx/core/Handler<Lio/vertx/core/http/HttpServerRequest;>;
5 6 3 c Lio/vertx/core/http/impl/Http1xServerConnection;
10 20 3 ctx Lio/vertx/core/impl/ContextInternal;
11 20 4 prev Lio/vertx/core/impl/ContextInternal;
14 15 5 e Ljava/lang/Exception;
Exception table:
from to target type
11 12 13 Class java.lang.Exception
11 15 16 any
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.HttpServerConnectionHandler.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.HttpServerConnectionHandler.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.HttpServerConnectionHandler.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.HttpServerConnectionHandler.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.HttpServerConnectionHandler.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.HttpServerConnectionHandler.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
iconst_0
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 "handler"
ldc "webSocketExtensionHandler"
aload 3
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;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/HttpServerConnectionHandler;
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 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.HttpServerConnectionHandler.handle:(Lio/vertx/core/http/impl/HttpServerConnection;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/core/http/impl/HttpServerConnection;>;
SourceFile: "HttpServerConnectionHandler.java"