public class io.vertx.core.http.impl.WebSocketImpl extends io.vertx.core.http.impl.WebSocketImplBase<io.vertx.core.http.impl.WebSocketImpl> implements io.vertx.core.http.WebSocket
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.WebSocketImpl
super_class: io.vertx.core.http.impl.WebSocketImplBase
{
private final io.vertx.core.http.impl.Http1xClientConnection conn;
descriptor: Lio/vertx/core/http/impl/Http1xClientConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long timerID;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final long closingTimeoutMS;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.impl.ContextInternal, io.vertx.core.http.impl.Http1xClientConnection, boolean, long, int, int);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/http/impl/Http1xClientConnection;ZJII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 0: aload 0
aload 1
aload 2
iload 3
iload 6
iload 7
invokespecial io.vertx.core.http.impl.WebSocketImplBase.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/http/impl/Http1xConnectionBase;ZII)V
1: aload 0
ldc -1
putfield io.vertx.core.http.impl.WebSocketImpl.timerID:J
2: aload 0
aload 2
putfield io.vertx.core.http.impl.WebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xClientConnection;
3: aload 0
lload 4
lconst_0
lcmp
ifle 4
lload 4
ldc 1000
lmul
goto 5
StackMap locals: io.vertx.core.http.impl.WebSocketImpl io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xClientConnection int long int int
StackMap stack: io.vertx.core.http.impl.WebSocketImpl
4: lconst_0
StackMap locals: io.vertx.core.http.impl.WebSocketImpl io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xClientConnection int long int int
StackMap stack: io.vertx.core.http.impl.WebSocketImpl long
5: putfield io.vertx.core.http.impl.WebSocketImpl.closingTimeoutMS:J
6: return
end local 7 end local 6 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/WebSocketImpl;
0 7 1 context Lio/vertx/core/impl/ContextInternal;
0 7 2 conn Lio/vertx/core/http/impl/Http1xClientConnection;
0 7 3 supportsContinuation Z
0 7 4 closingTimeout J
0 7 6 maxWebSocketFrameSize I
0 7 7 maxWebSocketMessageSize I
MethodParameters:
Name Flags
context
conn
supportsContinuation
closingTimeout
maxWebSocketFrameSize
maxWebSocketMessageSize
void handleConnectionClosed();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xClientConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.timerID:J
ldc -1
lcmp
ifeq 3
2: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.timerID:J
invokeinterface io.vertx.core.impl.VertxInternal.cancelTimer:(J)Z
pop
3: StackMap locals: io.vertx.core.http.impl.Http1xClientConnection
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
invokespecial io.vertx.core.http.impl.WebSocketImplBase.handleConnectionClosed:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/http/impl/WebSocketImpl;
Exception table:
from to target type
1 4 5 any
5 6 5 any
protected void closeConnection();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.closingTimeoutMS:J
lconst_0
lcmp
ifle 7
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xClientConnection;
dup
astore 1
monitorenter
2: aload 0
aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.closingTimeoutMS:J
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/WebSocketImpl;)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/WebSocketImpl.lambda$0(Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.impl.VertxInternal.setTimer:(JLio/vertx/core/Handler;)J
putfield io.vertx.core.http.impl.WebSocketImpl.timerID:J
3: aload 1
monitorexit
4: goto 7
StackMap locals: io.vertx.core.http.impl.WebSocketImpl io.vertx.core.http.impl.Http1xClientConnection
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/WebSocketImpl;
Exception table:
from to target type
2 4 5 any
5 6 5 any
protected void handleClose(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xClientConnection;
invokevirtual io.vertx.core.http.impl.Http1xClientConnection.metrics:()Lio/vertx/core/spi/metrics/HttpClientMetrics;
astore 2
start local 2 1: getstatic io.vertx.core.spi.metrics.Metrics.METRICS_ENABLED:Z
ifeq 4
aload 2
ifnull 4
2: aload 2
aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImpl.getMetric:()Ljava/lang/Object;
invokeinterface io.vertx.core.spi.metrics.HttpClientMetrics.disconnected:(Ljava/lang/Object;)V
3: aload 0
aconst_null
invokevirtual io.vertx.core.http.impl.WebSocketImpl.setMetric:(Ljava/lang/Object;)V
4: StackMap locals: io.vertx.core.spi.metrics.HttpClientMetrics
StackMap stack:
aload 0
iload 1
invokespecial io.vertx.core.http.impl.WebSocketImplBase.handleClose:(Z)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/WebSocketImpl;
0 6 1 graceful Z
1 6 2 metrics Lio/vertx/core/spi/metrics/HttpClientMetrics;
MethodParameters:
Name Flags
graceful
public io.vertx.core.http.WebSocket frameHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.frameHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket writeFinalTextFrame(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.writeFinalTextFrame:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket writeTextMessage(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.writeTextMessage:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket setWriteQueueMaxSize(int);
descriptor: (I)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.setWriteQueueMaxSize:(I)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket closeHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket resume();
descriptor: ()Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.resume:()Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket writeFinalBinaryFrame(io.vertx.core.buffer.Buffer, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.writeFinalBinaryFrame:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket handler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket writeBinaryMessage(io.vertx.core.buffer.Buffer, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.writeBinaryMessage:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket writeFrame(io.vertx.core.http.WebSocketFrame, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.writeFrame:(Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket pause();
descriptor: ()Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.pause:()Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket endHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket drainHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.WebSocket fetch(long);
descriptor: (J)Lio/vertx/core/http/WebSocket;
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.WebSocketImpl.fetch:(J)Lio/vertx/core/http/WebSocketBase;
checkcast io.vertx.core.http.WebSocket
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xClientConnection;
dup
astore 2
monitorenter
1: aload 0
ldc -1
putfield io.vertx.core.http.impl.WebSocketImpl.timerID:J
2: aload 2
monitorexit
3: goto 6
StackMap locals: io.vertx.core.http.impl.WebSocketImpl java.lang.Long io.vertx.core.http.impl.Http1xClientConnection
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImpl.conn:Lio/vertx/core/http/impl/Http1xClientConnection;
invokevirtual io.vertx.core.http.impl.Http1xClientConnection.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.close:()Lio/netty/channel/ChannelFuture;
pop
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/WebSocketImpl;
0 8 1 id Ljava/lang/Long;
Exception table:
from to target type
1 3 4 any
4 5 4 any
}
Signature: Lio/vertx/core/http/impl/WebSocketImplBase<Lio/vertx/core/http/impl/WebSocketImpl;>;Lio/vertx/core/http/WebSocket;
SourceFile: "WebSocketImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles