public class io.vertx.core.http.impl.ServerWebSocketImpl extends io.vertx.core.http.impl.WebSocketImplBase<io.vertx.core.http.impl.ServerWebSocketImpl> implements io.vertx.core.http.ServerWebSocket
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.ServerWebSocketImpl
super_class: io.vertx.core.http.impl.WebSocketImplBase
{
private final io.vertx.core.http.impl.Http1xServerConnection conn;
descriptor: Lio/vertx/core/http/impl/Http1xServerConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String uri;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String query;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker handshaker;
descriptor: Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.MultiMap ;
descriptor: Lio/vertx/core/MultiMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.core.http.impl.HttpServerRequestImpl request;
descriptor: Lio/vertx/core/http/impl/HttpServerRequestImpl;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer status;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Promise<java.lang.Integer> handshakePromise;
descriptor: Lio/vertx/core/Promise;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Promise<Ljava/lang/Integer;>;
void <init>(io.vertx.core.http.impl.Http1xServerConnection, boolean, io.vertx.core.http.impl.HttpServerRequestImpl, io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker, int, int);
descriptor: (Lio/vertx/core/http/impl/Http1xServerConnection;ZLio/vertx/core/http/impl/HttpServerRequestImpl;Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;II)V
flags: (0x0000)
Code:
stack=5, 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: aload 0
aload 1
iload 2
iload 5
iload 6
invokespecial io.vertx.core.http.impl.WebSocketImplBase.<init>:(Lio/vertx/core/http/impl/Http1xConnectionBase;ZII)V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
2: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.HttpServerRequestImpl.uri:()Ljava/lang/String;
putfield io.vertx.core.http.impl.ServerWebSocketImpl.uri:Ljava/lang/String;
3: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.HttpServerRequestImpl.path:()Ljava/lang/String;
putfield io.vertx.core.http.impl.ServerWebSocketImpl.path:Ljava/lang/String;
4: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.HttpServerRequestImpl.query:()Ljava/lang/String;
putfield io.vertx.core.http.impl.ServerWebSocketImpl.query:Ljava/lang/String;
5: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.HttpServerRequestImpl.headers:()Lio/vertx/core/MultiMap;
putfield io.vertx.core.http.impl.ServerWebSocketImpl.headers:Lio/vertx/core/MultiMap;
6: aload 0
aload 3
putfield io.vertx.core.http.impl.ServerWebSocketImpl.request:Lio/vertx/core/http/impl/HttpServerRequestImpl;
7: aload 0
aload 4
putfield io.vertx.core.http.impl.ServerWebSocketImpl.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;
8: return
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 9 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 9 1 conn Lio/vertx/core/http/impl/Http1xServerConnection;
0 9 2 supportsContinuation Z
0 9 3 request Lio/vertx/core/http/impl/HttpServerRequestImpl;
0 9 4 handshaker Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;
0 9 5 maxWebSocketFrameSize I
0 9 6 maxWebSocketMessageSize I
MethodParameters:
Name Flags
conn
supportsContinuation
request
handshaker
maxWebSocketFrameSize
maxWebSocketMessageSize
public java.lang.String uri();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.uri:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public java.lang.String path();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public java.lang.String query();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.query:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public io.vertx.core.MultiMap ();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.headers:Lio/vertx/core/MultiMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public void accept();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 101
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.tryHandshake:(I)Ljava/lang/Boolean;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "WebSocket already rejected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public void reject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 502
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.reject:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public void reject(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 101
if_icmpne 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid WebSocket rejection status code: 101"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.tryHandshake:(I)Ljava/lang/Boolean;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpeq 4
3: new java.lang.IllegalStateException
dup
ldc "Cannot reject WebSocket, it has already been written to"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 5 1 sc I
MethodParameters:
Name Flags
sc
public javax.net.ssl.SSLSession sslSession();
descriptor: ()Ljavax/net/ssl/SSLSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.sslSession:()Ljavax/net/ssl/SSLSession;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
public javax.security.cert.X509Certificate[] peerCertificateChain();
descriptor: ()[Ljavax/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.peerCertificateChain:()[Ljavax/security/cert/X509Certificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
Exceptions:
throws javax.net.ssl.SSLPeerUnverifiedException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.checkClosed:()V
2: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
ifnonnull 7
3: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.handshakePromise:Lio/vertx/core/Promise;
ifnonnull 6
4: aload 0
bipush 101
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.tryHandshake:(I)Ljava/lang/Boolean;
pop
5: goto 7
6: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.handshakePromise:Lio/vertx/core/Promise;
bipush 101
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface io.vertx.core.Promise.tryComplete:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
invokespecial io.vertx.core.http.impl.WebSocketImplBase.close:()V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
Exception table:
from to target type
1 8 9 any
9 10 9 any
public io.vertx.core.http.impl.ServerWebSocketImpl writeFrame(io.vertx.core.http.WebSocketFrame, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/ServerWebSocketImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.checkAccept:()Ljava/lang/Boolean;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "Cannot write to WebSocket, it is pending accept or reject"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection java.lang.Boolean
StackMap stack:
aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 6
5: new java.lang.IllegalStateException
dup
ldc "Cannot write to WebSocket, it has been rejected"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.impl.ServerWebSocketImpl
aload 3
monitorexit
7: areturn
end local 4 8: StackMap locals: io.vertx.core.http.impl.ServerWebSocketImpl io.vertx.core.http.WebSocketFrame io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
9: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 10 1 frame Lio/vertx/core/http/WebSocketFrame;
0 10 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
2 8 4 check Ljava/lang/Boolean;
Exception table:
from to target type
1 7 8 any
8 9 8 any
Signature: (Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/http/impl/ServerWebSocketImpl;
MethodParameters:
Name Flags
frame
handler
private java.lang.Boolean checkAccept();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 101
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.tryHandshake:(I)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
private void handleHandshake(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
ifnonnull 7
2: iload 1
bipush 101
if_icmpne 5
3: aload 0
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.doHandshake:()V
4: goto 7
5: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
6: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.channel:()Lio/netty/channel/Channel;
iload 1
invokestatic io.netty.handler.codec.http.HttpResponseStatus.valueOf:(I)Lio/netty/handler/codec/http/HttpResponseStatus;
invokestatic io.vertx.core.http.impl.HttpUtils.sendError:(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpResponseStatus;)V
7: StackMap locals:
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 12 1 sc I
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
sc
private void doHandshake();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.channel:()Lio/netty/channel/Channel;
astore 1
start local 1 1: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;
aload 1
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.request:Lio/vertx/core/http/impl/HttpServerRequestImpl;
invokevirtual io.vertx.core.http.impl.HttpServerRequestImpl.nettyRequest:()Lio/netty/handler/codec/http/HttpRequest;
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker.handshake:(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpRequest;)Lio/netty/channel/ChannelFuture;
pop
2: goto 9
StackMap locals: io.vertx.core.http.impl.ServerWebSocketImpl io.netty.channel.Channel
StackMap stack: java.lang.Exception
3: astore 2
start local 2 4: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.request:Lio/vertx/core/http/impl/HttpServerRequestImpl;
invokevirtual io.vertx.core.http.impl.HttpServerRequestImpl.response:()Lio/vertx/core/http/impl/HttpServerResponseImpl;
getstatic io.netty.handler.codec.http.HttpResponseStatus.BAD_REQUEST:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
invokevirtual io.vertx.core.http.impl.HttpServerResponseImpl.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
5: aload 2
athrow
end local 2 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
7: aload 0
aconst_null
putfield io.vertx.core.http.impl.ServerWebSocketImpl.request:Lio/vertx/core/http/impl/HttpServerRequestImpl;
8: aload 3
athrow
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.vertx.core.http.impl.ServerWebSocketImpl.request:Lio/vertx/core/http/impl/HttpServerRequestImpl;
10: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.responseComplete:()V
11: aload 0
getstatic io.netty.handler.codec.http.HttpResponseStatus.SWITCHING_PROTOCOLS:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
12: aload 0
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker.selectedSubprotocol:()Ljava/lang/String;
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.subProtocol:(Ljava/lang/String;)V
13: aload 1
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 14: aload 2
ldc Lio/vertx/core/http/impl/HttpChunkContentCompressor;
invokeinterface io.netty.channel.ChannelPipeline.get:(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;
astore 3
start local 3 15: aload 3
ifnull 17
16: aload 2
aload 3
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
17: StackMap locals: io.netty.channel.ChannelPipeline io.netty.channel.ChannelHandler
StackMap stack:
aload 0
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.getContext:()Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.eventBus:()Lio/vertx/core/eventbus/EventBus;
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.registerHandler:(Lio/vertx/core/eventbus/EventBus;)V
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
1 19 1 channel Lio/netty/channel/Channel;
4 6 2 e Ljava/lang/Exception;
14 19 2 pipeline Lio/netty/channel/ChannelPipeline;
15 19 3 handler Lio/netty/channel/ChannelHandler;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
1 6 6 any
java.lang.Boolean tryHandshake(int);
descriptor: (I)Ljava/lang/Boolean;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
ifnonnull 3
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.handshakePromise:Lio/vertx/core/Promise;
ifnonnull 3
2: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic io.vertx.core.Promise.succeededPromise:(Ljava/lang/Object;)Lio/vertx/core/Promise;
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.setHandshake:(Lio/vertx/core/Promise;)V
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
ifnonnull 4
aconst_null
goto 7
StackMap locals:
StackMap stack:
4: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.status:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iload 1
if_icmpne 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
7: aload 2
monitorexit
8: areturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
10: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 11 1 sc I
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
sc
public void setHandshake(io.vertx.core.Future<java.lang.Integer>);
descriptor: (Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast io.vertx.core.Promise
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.setHandshake:(Lio/vertx/core/Promise;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 2 1 future Lio/vertx/core/Future<Ljava/lang/Integer;>;
Signature: (Lio/vertx/core/Future<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
future
public void setHandshake(io.vertx.core.Promise<java.lang.Integer>);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
3: aload 0
getfield io.vertx.core.http.impl.ServerWebSocketImpl.handshakePromise:Lio/vertx/core/Promise;
ifnull 5
4: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
5: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.ServerWebSocketImpl.handshakePromise:Lio/vertx/core/Promise;
6: aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/ServerWebSocketImpl;)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/ServerWebSocketImpl.lambda$0(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 12 1 promise Lio/vertx/core/Promise<Ljava/lang/Integer;>;
Exception table:
from to target type
3 7 8 any
8 9 8 any
Signature: (Lio/vertx/core/Promise<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
promise
public io.vertx.core.http.ServerWebSocket frameHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.frameHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeFinalTextFrame(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFinalTextFrame:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeFinalTextFrame(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFinalTextFrame:(Ljava/lang/String;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeTextMessage(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeTextMessage:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeTextMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeTextMessage:(Ljava/lang/String;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket write(io.vertx.core.buffer.Buffer, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket write(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket setWriteQueueMaxSize(int);
descriptor: (I)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.setWriteQueueMaxSize:(I)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket closeHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket resume();
descriptor: ()Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.resume:()Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeFinalBinaryFrame(io.vertx.core.buffer.Buffer, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFinalBinaryFrame:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeFinalBinaryFrame(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFinalBinaryFrame:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket handler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeBinaryMessage(io.vertx.core.buffer.Buffer, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeBinaryMessage:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeBinaryMessage(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeBinaryMessage:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeFrame(io.vertx.core.http.WebSocketFrame, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFrame:(Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/ServerWebSocketImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocketBase writeFrame(io.vertx.core.http.WebSocketFrame, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFrame:(Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/impl/ServerWebSocketImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket writeFrame(io.vertx.core.http.WebSocketFrame);
descriptor: (Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket pause();
descriptor: ()Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.pause:()Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket endHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket drainHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.ServerWebSocket fetch(long);
descriptor: (J)Lio/vertx/core/http/ServerWebSocket;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.fetch:(J)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.ServerWebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.handleHandshake:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
sipush 500
invokevirtual io.vertx.core.http.impl.ServerWebSocketImpl.handleHandshake:(I)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/ServerWebSocketImpl;
0 5 1 ar Lio/vertx/core/AsyncResult<Ljava/lang/Integer;>;
}
Signature: Lio/vertx/core/http/impl/WebSocketImplBase<Lio/vertx/core/http/impl/ServerWebSocketImpl;>;Lio/vertx/core/http/ServerWebSocket;
SourceFile: "ServerWebSocketImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles