public abstract class io.vertx.core.http.impl.WebSocketImplBase<S extends io.vertx.core.http.WebSocketBase> implements io.vertx.core.http.impl.WebSocketInternal
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.core.http.impl.WebSocketImplBase
super_class: java.lang.Object
{
private final boolean supportsContinuation;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String textHandlerID;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String binaryHandlerID;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxWebSocketFrameSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxWebSocketMessageSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.streams.impl.InboundBuffer<io.vertx.core.http.impl.ws.WebSocketFrameInternal> pending;
descriptor: Lio/vertx/core/streams/impl/InboundBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/streams/impl/InboundBuffer<Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;>;
private io.netty.channel.ChannelHandlerContext chctx;
descriptor: Lio/netty/channel/ChannelHandlerContext;
flags: (0x0002) ACC_PRIVATE
protected final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private io.vertx.core.eventbus.MessageConsumer binaryHandlerRegistration;
descriptor: Lio/vertx/core/eventbus/MessageConsumer;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.eventbus.MessageConsumer textHandlerRegistration;
descriptor: Lio/vertx/core/eventbus/MessageConsumer;
flags: (0x0002) ACC_PRIVATE
private java.lang.String subProtocol;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object metric;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
private io.vertx.core.Handler<io.vertx.core.http.impl.ws.WebSocketFrameInternal> frameHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;>;
private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> pongHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
private io.vertx.core.Handler<java.lang.Void> drainHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
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;>;
private io.vertx.core.Handler<java.lang.Void> closeHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<java.lang.Void> endHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
protected final io.vertx.core.http.impl.Http1xConnectionBase conn;
descriptor: Lio/vertx/core/http/impl/Http1xConnectionBase;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private boolean writable;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Short closeStatusCode;
descriptor: Ljava/lang/Short;
flags: (0x0002) ACC_PRIVATE
private java.lang.String closeReason;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.MultiMap ;
descriptor: Lio/vertx/core/MultiMap;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$io$vertx$core$http$impl$FrameType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(io.vertx.core.impl.ContextInternal, io.vertx.core.http.impl.Http1xConnectionBase, boolean, int, int);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/http/impl/Http1xConnectionBase;ZII)V
flags: (0x0000)
Code:
stack=4, 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
iload 3
putfield io.vertx.core.http.impl.WebSocketImplBase.supportsContinuation:Z
2: aload 0
new java.lang.StringBuilder
dup
ldc "__vertx.ws."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield io.vertx.core.http.impl.WebSocketImplBase.textHandlerID:Ljava/lang/String;
3: aload 0
new java.lang.StringBuilder
dup
ldc "__vertx.ws."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield io.vertx.core.http.impl.WebSocketImplBase.binaryHandlerID:Ljava/lang/String;
4: aload 0
aload 2
putfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
5: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
6: aload 0
iload 4
putfield io.vertx.core.http.impl.WebSocketImplBase.maxWebSocketFrameSize:I
7: aload 0
iload 5
putfield io.vertx.core.http.impl.WebSocketImplBase.maxWebSocketMessageSize:I
8: aload 0
new io.vertx.core.streams.impl.InboundBuffer
dup
aload 1
invokespecial io.vertx.core.streams.impl.InboundBuffer.<init>:(Lio/vertx/core/Context;)V
putfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
9: aload 0
aload 2
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.isNotWritable:()Z
ifeq 10
iconst_0
goto 11
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xConnectionBase int int int
StackMap stack: io.vertx.core.http.impl.WebSocketImplBase
10: iconst_1
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xConnectionBase int int int
StackMap stack: io.vertx.core.http.impl.WebSocketImplBase int
11: putfield io.vertx.core.http.impl.WebSocketImplBase.writable:Z
12: aload 0
aload 2
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
putfield io.vertx.core.http.impl.WebSocketImplBase.chctx:Lio/netty/channel/ChannelHandlerContext;
13: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/WebSocketImplBase;)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/WebSocketImplBase.receiveFrame(Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;)V (7)
(Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;)V
invokevirtual io.vertx.core.streams.impl.InboundBuffer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
pop
14: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
aload 2
invokedynamic handle(Lio/vertx/core/http/impl/Http1xConnectionBase;)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/WebSocketImplBase.lambda$1(Lio/vertx/core/http/impl/Http1xConnectionBase;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokevirtual io.vertx.core.streams.impl.InboundBuffer.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
pop
15: 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 16 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 16 1 context Lio/vertx/core/impl/ContextInternal;
0 16 2 conn Lio/vertx/core/http/impl/Http1xConnectionBase;
0 16 3 supportsContinuation Z
0 16 4 maxWebSocketFrameSize I
0 16 5 maxWebSocketMessageSize I
MethodParameters:
Name Flags
context
conn
supportsContinuation
maxWebSocketFrameSize
maxWebSocketMessageSize
void registerHandler(io.vertx.core.eventbus.EventBus);
descriptor: (Lio/vertx/core/eventbus/EventBus;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokedynamic handle(Lio/vertx/core/http/impl/WebSocketImplBase;)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/WebSocketImplBase.lambda$2(Lio/vertx/core/eventbus/Message;)V (7)
(Lio/vertx/core/eventbus/Message;)V
astore 2
start local 2 1: aload 0
invokedynamic handle(Lio/vertx/core/http/impl/WebSocketImplBase;)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/WebSocketImplBase.lambda$3(Lio/vertx/core/eventbus/Message;)V (7)
(Lio/vertx/core/eventbus/Message;)V
astore 3
start local 3 2: aload 0
aload 1
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.binaryHandlerID:Ljava/lang/String;
invokeinterface io.vertx.core.eventbus.EventBus.localConsumer:(Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
aload 2
invokeinterface io.vertx.core.eventbus.MessageConsumer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
putfield io.vertx.core.http.impl.WebSocketImplBase.binaryHandlerRegistration:Lio/vertx/core/eventbus/MessageConsumer;
3: aload 0
aload 1
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.textHandlerID:Ljava/lang/String;
invokeinterface io.vertx.core.eventbus.EventBus.localConsumer:(Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
aload 3
invokeinterface io.vertx.core.eventbus.MessageConsumer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
putfield io.vertx.core.http.impl.WebSocketImplBase.textHandlerRegistration:Lio/vertx/core/eventbus/MessageConsumer;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 5 1 eventBus Lio/vertx/core/eventbus/EventBus;
1 5 2 binaryHandler Lio/vertx/core/Handler<Lio/vertx/core/eventbus/Message<Lio/vertx/core/buffer/Buffer;>;>;
2 5 3 textHandler Lio/vertx/core/Handler<Lio/vertx/core/eventbus/Message<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
eventBus
public io.netty.channel.ChannelHandlerContext channelHandlerContext();
descriptor: ()Lio/netty/channel/ChannelHandlerContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.chctx:Lio/netty/channel/ChannelHandlerContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public io.vertx.core.http.HttpConnection connection();
descriptor: ()Lio/vertx/core/http/HttpConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public java.lang.String binaryHandlerID();
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.WebSocketImplBase.binaryHandlerID:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public java.lang.String textHandlerID();
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.WebSocketImplBase.textHandlerID:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public boolean writeQueueFull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.isNotWritable:()Z
aload 1
monitorexit
3: ireturn
4: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public io.vertx.core.Future<java.lang.Void> close();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
sipush 1000
aconst_null
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.close:(SLjava/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/WebSocketImplBase<TS;>;
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=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.close:()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:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 4 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 2 future Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
handler
public io.vertx.core.Future<java.lang.Void> close(short);
descriptor: (S)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
aconst_null
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.close:(SLjava/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/WebSocketImplBase<TS;>;
0 1 1 statusCode S
Signature: (S)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
statusCode
public void close(short, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (SLio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aconst_null
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.close:(SLjava/lang/String;)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:
return
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/WebSocketImplBase<TS;>;
0 4 1 statusCode S
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 future Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (SLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
statusCode
handler
public void close(short, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (SLjava/lang/String;Lio/vertx/core/Handler;)V
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.WebSocketImplBase.close:(SLjava/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:
return
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/WebSocketImplBase<TS;>;
0 4 1 statusCode S
0 4 2 reason Ljava/lang/String;
0 4 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 4 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (SLjava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
statusCode
reason
handler
public io.vertx.core.Future<java.lang.Void> close(short, java.lang.String);
descriptor: (SLjava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 4
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closeStatusCode:Ljava/lang/Short;
ifnonnull 2
iconst_1
goto 3
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int java.lang.String top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: dup
istore 3
start local 3 4: ifeq 7
5: aload 0
iload 1
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
putfield io.vertx.core.http.impl.WebSocketImplBase.closeStatusCode:Ljava/lang/Short;
6: aload 0
aload 2
putfield io.vertx.core.http.impl.WebSocketImplBase.closeReason:Ljava/lang/String;
7: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int java.lang.String int io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 4
monitorexit
8: goto 11
end local 3 StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int java.lang.String top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
9: aload 4
monitorexit
10: athrow
start local 3 11: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int java.lang.String int
StackMap stack:
iload 3
ifeq 17
12: iload 1
aload 2
invokestatic io.vertx.core.http.impl.HttpUtils.generateWSCloseFrameByteBuf:(SLjava/lang/String;)Lio/netty/buffer/ByteBuf;
astore 4
start local 4 13: new io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
dup
iconst_1
iconst_0
aload 4
invokespecial io.netty.handler.codec.http.websocketx.CloseWebSocketFrame.<init>:(ZILio/netty/buffer/ByteBuf;)V
astore 5
start local 5 14: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 6
start local 6 15: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
aload 5
aload 6
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.writeToChannel:(Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener;)V
16: aload 6
areturn
end local 6 end local 5 end local 4 17: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.succeededFuture:()Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 18 1 statusCode S
0 18 2 reason Ljava/lang/String;
4 9 3 sendCloseFrame Z
11 18 3 sendCloseFrame Z
13 17 4 byteBuf Lio/netty/buffer/ByteBuf;
14 17 5 frame Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;
15 17 6 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Exception table:
from to target type
1 8 9 any
9 10 9 any
Signature: (SLjava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
statusCode
reason
public boolean isSsl();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.isSsl:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
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.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.sslSession:()Ljavax/net/ssl/SSLSession;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
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.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.peerCertificateChain:()[Ljavax/security/cert/X509Certificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exceptions:
throws javax.net.ssl.SSLPeerUnverifiedException
public io.vertx.core.net.SocketAddress localAddress();
descriptor: ()Lio/vertx/core/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.localAddress:()Lio/vertx/core/net/SocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public io.vertx.core.net.SocketAddress remoteAddress();
descriptor: ()Lio/vertx/core/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.remoteAddress:()Lio/vertx/core/net/SocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public io.vertx.core.Future<java.lang.Void> writeFinalTextFrame(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFinalTextFrame:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
pop
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 3 1 text Ljava/lang/String;
1 3 2 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
text
public S writeFinalTextFrame(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_1
invokestatic io.vertx.core.http.WebSocketFrame.textFrame:(Ljava/lang/String;Z)Lio/vertx/core/http/WebSocketFrame;
aload 2
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
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/WebSocketImplBase<TS;>;
0 1 1 text Ljava/lang/String;
0 1 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)TS;
MethodParameters:
Name Flags
text
handler
public io.vertx.core.Future<java.lang.Void> writeFinalBinaryFrame(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFinalBinaryFrame:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
pop
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 3 1 data Lio/vertx/core/buffer/Buffer;
1 3 2 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
data
public S writeFinalBinaryFrame(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_1
invokestatic io.vertx.core.http.WebSocketFrame.binaryFrame:(Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
aload 2
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
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/WebSocketImplBase<TS;>;
0 1 1 data Lio/vertx/core/buffer/Buffer;
0 1 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)TS;
MethodParameters:
Name Flags
data
handler
public java.lang.String subProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.subProtocol:Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
void subProtocol(java.lang.String);
descriptor: (Ljava/lang/String;)V
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.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.subProtocol:Ljava/lang/String;
2: aload 2
monitorexit
3: goto 6
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase java.lang.String io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 subProtocol Ljava/lang/String;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
subProtocol
public java.lang.Short closeStatusCode();
descriptor: ()Ljava/lang/Short;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closeStatusCode:Ljava/lang/Short;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.lang.String closeReason();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closeReason:Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public io.vertx.core.MultiMap ();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.headers:Lio/vertx/core/MultiMap;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
void (io.vertx.core.MultiMap);
descriptor: (Lio/vertx/core/MultiMap;)V
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.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.headers:Lio/vertx/core/MultiMap;
2: aload 2
monitorexit
3: goto 6
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.MultiMap io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 responseHeaders Lio/vertx/core/MultiMap;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
responseHeaders
public io.vertx.core.Future<java.lang.Void> writeBinaryMessage(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.impl.FrameType.BINARY:Lio/vertx/core/http/impl/FrameType;
aload 1
iconst_0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writePartialMessage:(Lio/vertx/core/http/impl/FrameType;Lio/vertx/core/buffer/Buffer;I)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/WebSocketImplBase<TS;>;
0 1 1 data Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
data
public final S writeBinaryMessage(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeBinaryMessage:(Lio/vertx/core/buffer/Buffer;)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/WebSocketImplBase<TS;>;
0 4 1 data Lio/vertx/core/buffer/Buffer;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)TS;
MethodParameters:
Name Flags
data
handler
public io.vertx.core.Future<java.lang.Void> writeTextMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.impl.FrameType.TEXT:Lio/vertx/core/http/impl/FrameType;
aload 1
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
iconst_0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writePartialMessage:(Lio/vertx/core/http/impl/FrameType;Lio/vertx/core/buffer/Buffer;I)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/WebSocketImplBase<TS;>;
0 1 1 text Ljava/lang/String;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
text
public final S writeTextMessage(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeTextMessage:(Ljava/lang/String;)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/WebSocketImplBase<TS;>;
0 4 1 text Ljava/lang/String;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)TS;
MethodParameters:
Name Flags
text
handler
public io.vertx.core.Future<java.lang.Void> write(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)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
aload 1
iconst_1
invokestatic io.vertx.core.http.WebSocketFrame.binaryFrame:(Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)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/WebSocketImplBase<TS;>;
0 1 1 data Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
data
public final void write(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.write:(Lio/vertx/core/buffer/Buffer;)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:
return
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/WebSocketImplBase<TS;>;
0 4 1 data Lio/vertx/core/buffer/Buffer;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
data
handler
public io.vertx.core.Future<java.lang.Void> writePing(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.maxWebSocketFrameSize:I
if_icmpgt 1
aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
bipush 125
if_icmple 2
1: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
ldc "Ping cannot exceed maxWebSocketFrameSize or 125 bytes"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.vertx.core.http.WebSocketFrame.pingFrame:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketFrame;
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 3 1 data Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
data
public final io.vertx.core.http.WebSocketBase writePing(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writePing:(Lio/vertx/core/buffer/Buffer;)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/WebSocketImplBase<TS;>;
0 4 1 data Lio/vertx/core/buffer/Buffer;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/http/WebSocketBase;
MethodParameters:
Name Flags
data
handler
public io.vertx.core.Future<java.lang.Void> writePong(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.maxWebSocketFrameSize:I
if_icmpgt 1
aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
bipush 125
if_icmple 2
1: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
ldc "Pong cannot exceed maxWebSocketFrameSize or 125 bytes"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.vertx.core.http.WebSocketFrame.pongFrame:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketFrame;
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 3 1 data Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
data
public final io.vertx.core.http.WebSocketBase writePong(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writePong:(Lio/vertx/core/buffer/Buffer;)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/WebSocketImplBase<TS;>;
0 4 1 data Lio/vertx/core/buffer/Buffer;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/http/WebSocketBase;
MethodParameters:
Name Flags
data
handler
private io.vertx.core.Future<java.lang.Void> writePartialMessage(io.vertx.core.http.impl.FrameType, io.vertx.core.buffer.Buffer, int);
descriptor: (Lio/vertx/core/http/impl/FrameType;Lio/vertx/core/buffer/Buffer;I)Lio/vertx/core/Future;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.maxWebSocketFrameSize:I
iadd
istore 4
start local 4 1: iload 4
aload 2
invokeinterface io.vertx.core.buffer.Buffer.length:()I
if_icmplt 5
2: aload 2
invokeinterface io.vertx.core.buffer.Buffer.length:()I
istore 4
3: iconst_1
istore 5
start local 5 4: goto 6
end local 5 5: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 6: StackMap locals: int
StackMap stack:
aload 2
iload 3
iload 4
invokeinterface io.vertx.core.buffer.Buffer.slice:(II)Lio/vertx/core/buffer/Buffer;
astore 6
start local 6 7: iload 3
ifeq 8
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.supportsContinuation:Z
ifne 10
8: StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
aload 1
aload 6
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
iload 5
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
astore 7
start local 7 9: goto 11
end local 7 10: StackMap locals:
StackMap stack:
aload 6
iload 5
invokestatic io.vertx.core.http.WebSocketFrame.continuationFrame:(Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
astore 7
start local 7 11: StackMap locals: io.vertx.core.http.WebSocketFrame
StackMap stack:
iload 3
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.maxWebSocketFrameSize:I
iadd
istore 8
start local 8 12: iload 5
ifeq 14
13: aload 0
aload 7
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
areturn
14: StackMap locals: int
StackMap stack:
aload 0
aload 7
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
pop
15: aload 0
aload 1
aload 2
iload 8
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writePartialMessage:(Lio/vertx/core/http/impl/FrameType;Lio/vertx/core/buffer/Buffer;I)Lio/vertx/core/Future;
areturn
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 16 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 16 1 frameType Lio/vertx/core/http/impl/FrameType;
0 16 2 data Lio/vertx/core/buffer/Buffer;
0 16 3 offset I
1 16 4 end I
4 5 5 isFinal Z
6 16 5 isFinal Z
7 16 6 slice Lio/vertx/core/buffer/Buffer;
9 10 7 frame Lio/vertx/core/http/WebSocketFrame;
11 16 7 frame Lio/vertx/core/http/WebSocketFrame;
12 16 8 newOffset I
Signature: (Lio/vertx/core/http/impl/FrameType;Lio/vertx/core/buffer/Buffer;I)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
frameType
data
offset
public io.vertx.core.Future<java.lang.Void> writeFrame(io.vertx.core.http.WebSocketFrame);
descriptor: (Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.isClosed:()Z
ifeq 4
2: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
ldc "WebSocket is closed"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 3
start local 3 5: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
aload 0
aload 1
checkcast io.vertx.core.http.impl.ws.WebSocketFrameImpl
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.encodeFrame:(Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;)Lio/netty/handler/codec/http/websocketx/WebSocketFrame;
aload 3
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.writeToChannel:(Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener;)V
6: aload 3
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
aload 2
monitorexit
7: areturn
end local 3 8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
9: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 10 1 frame Lio/vertx/core/http/WebSocketFrame;
5 8 3 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Exception table:
from to target type
1 3 8 any
4 7 8 any
8 9 8 any
Signature: (Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
frame
public final S 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/WebSocketBase;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)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/WebSocketImplBase<TS;>;
0 4 1 frame Lio/vertx/core/http/WebSocketFrame;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/http/WebSocketFrame;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)TS;
MethodParameters:
Name Flags
frame
handler
private void writeBinaryFrameInternal(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
getstatic io.vertx.core.http.impl.FrameType.BINARY:Lio/vertx/core/http/impl/FrameType;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;)V
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 2 1 data Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
data
private void writeTextFrameInternal(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
aload 1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Ljava/lang/String;)V
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/Future;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 2 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
private io.netty.handler.codec.http.websocketx.WebSocketFrame encodeFrame(io.vertx.core.http.impl.ws.WebSocketFrameImpl);
descriptor: (Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;)Lio/netty/handler/codec/http/websocketx/WebSocketFrame;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.getBinaryData:()Lio/netty/buffer/ByteBuf;
astore 2
start local 2 1: aload 2
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
if_acmpeq 3
2: aload 2
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.chctx:Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokestatic io.vertx.core.net.impl.VertxHandler.safeBuffer:(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf;
astore 2
3: StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
invokestatic io.vertx.core.http.impl.WebSocketImplBase.$SWITCH_TABLE$io$vertx$core$http$impl$FrameType:()[I
aload 1
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:()Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 7
2: 5
3: 4
4: 6
5: 9
6: 8
default: 10
}
4: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame
dup
aload 1
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.isFinal:()Z
iconst_0
aload 2
invokespecial io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame.<init>:(ZILio/netty/buffer/ByteBuf;)V
areturn
5: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.TextWebSocketFrame
dup
aload 1
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.isFinal:()Z
iconst_0
aload 2
invokespecial io.netty.handler.codec.http.websocketx.TextWebSocketFrame.<init>:(ZILio/netty/buffer/ByteBuf;)V
areturn
6: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
dup
iconst_1
iconst_0
aload 2
invokespecial io.netty.handler.codec.http.websocketx.CloseWebSocketFrame.<init>:(ZILio/netty/buffer/ByteBuf;)V
areturn
7: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.ContinuationWebSocketFrame
dup
aload 1
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.isFinal:()Z
iconst_0
aload 2
invokespecial io.netty.handler.codec.http.websocketx.ContinuationWebSocketFrame.<init>:(ZILio/netty/buffer/ByteBuf;)V
areturn
8: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.PongWebSocketFrame
dup
aload 2
invokespecial io.netty.handler.codec.http.websocketx.PongWebSocketFrame.<init>:(Lio/netty/buffer/ByteBuf;)V
areturn
9: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.PingWebSocketFrame
dup
aload 2
invokespecial io.netty.handler.codec.http.websocketx.PingWebSocketFrame.<init>:(Lio/netty/buffer/ByteBuf;)V
areturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported WebSocket msg "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 11 1 frame Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
1 11 2 buf Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
frame
void checkClosed();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.isClosed:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "WebSocket is closed"
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/WebSocketImplBase<TS;>;
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closed:Z
ifne 2
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closeStatusCode:Ljava/lang/Short;
ifnonnull 2
iconst_0
goto 3
StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
private io.vertx.core.http.impl.ws.WebSocketFrameInternal decodeFrame(io.netty.handler.codec.http.websocketx.WebSocketFrame);
descriptor: (Lio/netty/handler/codec/http/websocketx/WebSocketFrame;)Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.chctx:Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokestatic io.vertx.core.net.impl.VertxHandler.safeBuffer:(Lio/netty/buffer/ByteBufHolder;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf;
astore 2
start local 2 1: aload 1
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketFrame.isFinalFragment:()Z
istore 3
start local 3 2: aload 1
instanceof io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame
ifeq 5
3: getstatic io.vertx.core.http.impl.FrameType.BINARY:Lio/vertx/core/http/impl/FrameType;
astore 4
start local 4 4: goto 21
end local 4 StackMap locals: io.netty.buffer.ByteBuf int
StackMap stack:
5: aload 1
instanceof io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
ifeq 8
6: getstatic io.vertx.core.http.impl.FrameType.CLOSE:Lio/vertx/core/http/impl/FrameType;
astore 4
start local 4 7: goto 21
end local 4 StackMap locals:
StackMap stack:
8: aload 1
instanceof io.netty.handler.codec.http.websocketx.PingWebSocketFrame
ifeq 11
9: getstatic io.vertx.core.http.impl.FrameType.PING:Lio/vertx/core/http/impl/FrameType;
astore 4
start local 4 10: goto 21
end local 4 StackMap locals:
StackMap stack:
11: aload 1
instanceof io.netty.handler.codec.http.websocketx.PongWebSocketFrame
ifeq 14
12: getstatic io.vertx.core.http.impl.FrameType.PONG:Lio/vertx/core/http/impl/FrameType;
astore 4
start local 4 13: goto 21
end local 4 StackMap locals:
StackMap stack:
14: aload 1
instanceof io.netty.handler.codec.http.websocketx.TextWebSocketFrame
ifeq 17
15: getstatic io.vertx.core.http.impl.FrameType.TEXT:Lio/vertx/core/http/impl/FrameType;
astore 4
start local 4 16: goto 21
end local 4 StackMap locals:
StackMap stack:
17: aload 1
instanceof io.netty.handler.codec.http.websocketx.ContinuationWebSocketFrame
ifeq 20
18: getstatic io.vertx.core.http.impl.FrameType.CONTINUATION:Lio/vertx/core/http/impl/FrameType;
astore 4
start local 4 19: goto 21
end local 4 20: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported WebSocket msg "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
start local 4 21: StackMap locals: io.vertx.core.http.impl.FrameType
StackMap stack:
new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
aload 4
aload 2
iload 3
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 22 1 msg Lio/netty/handler/codec/http/websocketx/WebSocketFrame;
1 22 2 payload Lio/netty/buffer/ByteBuf;
2 22 3 isFinal Z
4 5 4 frameType Lio/vertx/core/http/impl/FrameType;
7 8 4 frameType Lio/vertx/core/http/impl/FrameType;
10 11 4 frameType Lio/vertx/core/http/impl/FrameType;
13 14 4 frameType Lio/vertx/core/http/impl/FrameType;
16 17 4 frameType Lio/vertx/core/http/impl/FrameType;
19 20 4 frameType Lio/vertx/core/http/impl/FrameType;
21 22 4 frameType Lio/vertx/core/http/impl/FrameType;
MethodParameters:
Name Flags
msg
void handleFrame(io.netty.handler.codec.http.websocketx.WebSocketFrame);
descriptor: (Lio/netty/handler/codec/http/websocketx/WebSocketFrame;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.decodeFrame:(Lio/netty/handler/codec/http/websocketx/WebSocketFrame;)Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;
astore 2
start local 2 1: invokestatic io.vertx.core.http.impl.WebSocketImplBase.$SWITCH_TABLE$io$vertx$core$http$impl$FrameType:()[I
aload 2
invokeinterface io.vertx.core.http.impl.ws.WebSocketFrameInternal.type:()Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iaload
tableswitch { // 4 - 6
4: 8
5: 2
6: 4
default: 9
}
2: StackMap locals: io.vertx.core.http.impl.ws.WebSocketFrameInternal
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
new io.netty.handler.codec.http.websocketx.PongWebSocketFrame
dup
aload 2
invokeinterface io.vertx.core.http.impl.ws.WebSocketFrameInternal.getBinaryData:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.copy:()Lio/netty/buffer/ByteBuf;
invokespecial io.netty.handler.codec.http.websocketx.PongWebSocketFrame.<init>:(Lio/netty/buffer/ByteBuf;)V
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.writeToChannel:(Ljava/lang/Object;)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.pongHandler:()Lio/vertx/core/Handler;
astore 3
start local 3 5: aload 3
ifnull 9
6: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aload 2
invokeinterface io.vertx.core.http.impl.ws.WebSocketFrameInternal.binaryData:()Lio/vertx/core/buffer/Buffer;
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
7: goto 9
end local 3 8: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.handleCloseFrame:(Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
aload 2
invokevirtual io.vertx.core.streams.impl.InboundBuffer.write:(Ljava/lang/Object;)Z
ifne 11
10: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.doPause:()V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 12 1 msg Lio/netty/handler/codec/http/websocketx/WebSocketFrame;
1 12 2 frame Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;
5 8 3 pongHandler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
MethodParameters:
Name Flags
msg
private void handleCloseFrame(io.netty.handler.codec.http.websocketx.CloseWebSocketFrame);
descriptor: (Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closeStatusCode:Ljava/lang/Short;
ifnonnull 2
iconst_1
goto 3
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.netty.handler.codec.http.websocketx.CloseWebSocketFrame top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 0
iconst_1
putfield io.vertx.core.http.impl.WebSocketImplBase.closed:Z
5: aload 0
aload 1
invokevirtual io.netty.handler.codec.http.websocketx.CloseWebSocketFrame.statusCode:()I
i2s
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
putfield io.vertx.core.http.impl.WebSocketImplBase.closeStatusCode:Ljava/lang/Short;
6: aload 0
aload 1
invokevirtual io.netty.handler.codec.http.websocketx.CloseWebSocketFrame.reasonText:()Ljava/lang/String;
putfield io.vertx.core.http.impl.WebSocketImplBase.closeReason:Ljava/lang/String;
7: aload 3
monitorexit
8: goto 11
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
start local 2 11: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.netty.handler.codec.http.websocketx.CloseWebSocketFrame int
StackMap stack:
aload 0
iconst_1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.handleClose:(Z)V
12: iload 2
ifeq 17
13: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.channelFuture:()Lio/netty/channel/ChannelPromise;
astore 3
start local 3 14: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
aload 1
invokevirtual io.netty.handler.codec.http.websocketx.CloseWebSocketFrame.retainedDuplicate:()Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;
aload 3
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.writeToChannel:(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V
15: aload 3
aload 0
invokedynamic operationComplete(Lio/vertx/core/http/impl/WebSocketImplBase;)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/WebSocketImplBase.lambda$4(Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelPromise.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise;
pop
end local 3 16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.closeConnection:()V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 19 1 closeFrame Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;
4 9 2 echo Z
11 19 2 echo Z
14 16 3 fut Lio/netty/channel/ChannelPromise;
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
closeFrame
protected void handleClose(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 6
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closeHandler:Lio/vertx/core/Handler;
astore 4
start local 4 2: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.exceptionHandler:Lio/vertx/core/Handler;
astore 5
start local 5 3: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.binaryHandlerRegistration:Lio/vertx/core/eventbus/MessageConsumer;
astore 2
start local 2 4: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.textHandlerRegistration:Lio/vertx/core/eventbus/MessageConsumer;
astore 3
start local 3 5: aload 0
aconst_null
putfield io.vertx.core.http.impl.WebSocketImplBase.binaryHandlerRegistration:Lio/vertx/core/eventbus/MessageConsumer;
6: aload 0
aconst_null
putfield io.vertx.core.http.impl.WebSocketImplBase.textHandlerRegistration:Lio/vertx/core/eventbus/MessageConsumer;
7: aload 0
aconst_null
putfield io.vertx.core.http.impl.WebSocketImplBase.closeHandler:Lio/vertx/core/Handler;
8: aload 0
aconst_null
putfield io.vertx.core.http.impl.WebSocketImplBase.exceptionHandler:Lio/vertx/core/Handler;
9: aload 6
monitorexit
10: goto 13
end local 5 end local 4 end local 3 end local 2 StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int top top top top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
11: aload 6
monitorexit
12: athrow
start local 2 start local 3 start local 4 start local 5 13: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int io.vertx.core.eventbus.MessageConsumer io.vertx.core.eventbus.MessageConsumer io.vertx.core.Handler io.vertx.core.Handler
StackMap stack:
aload 2
ifnull 15
14: aload 2
invokeinterface io.vertx.core.eventbus.MessageConsumer.unregister:()Lio/vertx/core/Future;
pop
15: StackMap locals:
StackMap stack:
aload 3
ifnull 17
16: aload 3
invokeinterface io.vertx.core.eventbus.MessageConsumer.unregister:()Lio/vertx/core/Future;
pop
17: StackMap locals:
StackMap stack:
aload 5
ifnull 19
iload 1
ifne 19
18: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
getstatic io.vertx.core.net.impl.ConnectionBase.CLOSED_EXCEPTION:Lio/vertx/core/VertxException;
aload 5
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
19: StackMap locals:
StackMap stack:
aload 4
ifnull 21
20: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 4
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
21: StackMap locals:
StackMap stack:
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 22 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 22 1 graceful Z
4 11 2 binaryConsumer Lio/vertx/core/eventbus/MessageConsumer<*>;
13 22 2 binaryConsumer Lio/vertx/core/eventbus/MessageConsumer<*>;
5 11 3 textConsumer Lio/vertx/core/eventbus/MessageConsumer<*>;
13 22 3 textConsumer Lio/vertx/core/eventbus/MessageConsumer<*>;
2 11 4 closeHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
13 22 4 closeHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
3 11 5 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
13 22 5 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 10 11 any
11 12 11 any
MethodParameters:
Name Flags
graceful
private void receiveFrame(io.vertx.core.http.impl.ws.WebSocketFrameInternal);
descriptor: (Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
astore 2
start local 2 2: aload 3
monitorexit
3: goto 6
end local 2 StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.ws.WebSocketFrameInternal top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
start local 2 6: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.ws.WebSocketFrameInternal io.vertx.core.Handler
StackMap stack:
aload 2
ifnull 8
7: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
8: StackMap locals:
StackMap stack:
invokestatic io.vertx.core.http.impl.WebSocketImplBase.$SWITCH_TABLE$io$vertx$core$http$impl$FrameType:()[I
aload 1
invokeinterface io.vertx.core.http.impl.ws.WebSocketFrameInternal.type:()Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 13
2: 13
3: 13
4: 9
default: 16
}
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.endHandler:()Lio/vertx/core/Handler;
astore 3
start local 3 10: aload 3
ifnull 16
11: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Lio/vertx/core/Handler;)V
12: goto 16
end local 3 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.handler:()Lio/vertx/core/Handler;
astore 4
start local 4 14: aload 4
ifnull 16
15: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aload 1
invokeinterface io.vertx.core.http.impl.ws.WebSocketFrameInternal.binaryData:()Lio/vertx/core/buffer/Buffer;
aload 4
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
end local 4 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 17 1 frame Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;
2 4 2 frameHandler Lio/vertx/core/Handler<Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;>;
6 17 2 frameHandler Lio/vertx/core/Handler<Lio/vertx/core/http/impl/ws/WebSocketFrameInternal;>;
10 13 3 endHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
14 16 4 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
frame
protected abstract void closeConnection();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public S frameHandler(io.vertx.core.Handler<io.vertx.core.http.WebSocketFrame>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
3: aload 0
aload 2
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.Handler io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 handler Lio/vertx/core/Handler<Lio/vertx/core/http/WebSocketFrame;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/http/WebSocketFrame;>;)TS;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.WebSocketBase textMessageHandler(io.vertx.core.Handler<java.lang.String>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
ifnull 3
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lio/vertx/core/http/impl/WebSocketImplBase$FrameAggregator;
if_acmpeq 4
3: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
new io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator
dup
aload 0
invokespecial io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator.<init>:(Lio/vertx/core/http/impl/WebSocketImplBase;)V
putfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
checkcast io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator.textMessageHandler:Lio/vertx/core/Handler;
5: aload 0
aload 2
monitorexit
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
8: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 9 1 handler Lio/vertx/core/Handler<Ljava/lang/String;>;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/String;>;)Lio/vertx/core/http/WebSocketBase;
MethodParameters:
Name Flags
handler
public S binaryMessageHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
ifnull 3
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lio/vertx/core/http/impl/WebSocketImplBase$FrameAggregator;
if_acmpeq 4
3: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
new io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator
dup
aload 0
invokespecial io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator.<init>:(Lio/vertx/core/http/impl/WebSocketImplBase;)V
putfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.frameHandler:Lio/vertx/core/Handler;
checkcast io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator.binaryMessageHandler:Lio/vertx/core/Handler;
5: aload 0
aload 2
monitorexit
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
8: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 9 1 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)TS;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.WebSocketBase pongHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.pongHandler:Lio/vertx/core/Handler;
3: aload 0
aload 2
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.Handler io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)Lio/vertx/core/http/WebSocketBase;
MethodParameters:
Name Flags
handler
private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> pongHandler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pongHandler:Lio/vertx/core/Handler;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
void handleWritabilityChanged(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.writable:Z
ifeq 2
iload 1
ifne 2
iconst_1
goto 3
StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: aload 0
iload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.writable:Z
5: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.drainHandler:Lio/vertx/core/Handler;
astore 2
start local 2 6: aload 2
ifnull 7
iload 4
ifeq 9
7: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int io.vertx.core.Handler io.vertx.core.http.impl.Http1xConnectionBase int
StackMap stack:
aload 3
monitorexit
8: return
end local 4 9: StackMap locals:
StackMap stack:
aload 3
monitorexit
10: goto 13
end local 2 StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
start local 2 13: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int io.vertx.core.Handler
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 15 1 writable Z
6 11 2 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
13 15 2 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
4 9 4 skip Z
Exception table:
from to target type
1 8 11 any
9 10 11 any
11 12 11 any
MethodParameters:
Name Flags
writable
void handleException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.exceptionHandler:Lio/vertx/core/Handler;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: aload 3
monitorexit
4: return
5: StackMap locals: io.vertx.core.Handler io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 3
monitorexit
6: goto 9
end local 2 StackMap locals: io.vertx.core.http.impl.WebSocketImplBase java.lang.Throwable top io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
start local 2 9: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase java.lang.Throwable io.vertx.core.Handler
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 11 1 t Ljava/lang/Throwable;
2 7 2 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
9 11 2 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 4 7 any
5 6 7 any
7 8 7 any
MethodParameters:
Name Flags
t
void handleConnectionClosed();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.closed:Z
ifeq 4
2: aload 1
monitorexit
3: return
4: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.http.impl.WebSocketImplBase.closed:Z
5: aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.handleClose:(Z)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
synchronized void setMetric(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.metric:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 2 1 metric Ljava/lang/Object;
MethodParameters:
Name Flags
metric
synchronized java.lang.Object getMetric();
descriptor: ()Ljava/lang/Object;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.metric:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
public S handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.handler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 8 1 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)TS;
MethodParameters:
Name Flags
handler
private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.handler:Lio/vertx/core/Handler;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
public S endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.endHandler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 8 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)TS;
MethodParameters:
Name Flags
handler
private io.vertx.core.Handler<java.lang.Void> endHandler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.endHandler:Lio/vertx/core/Handler;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Lio/vertx/core/Handler<Ljava/lang/Void;>;
public S exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.exceptionHandler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 8 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)TS;
MethodParameters:
Name Flags
handler
public S closeHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.closeHandler:Lio/vertx/core/Handler;
3: aload 0
aload 2
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.Handler io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)TS;
MethodParameters:
Name Flags
handler
public S drainHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
aload 1
putfield io.vertx.core.http.impl.WebSocketImplBase.drainHandler:Lio/vertx/core/Handler;
3: aload 0
aload 2
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase io.vertx.core.Handler io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)TS;
MethodParameters:
Name Flags
handler
public S pause();
descriptor: ()Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
invokevirtual io.vertx.core.streams.impl.InboundBuffer.pause:()Lio/vertx/core/streams/impl/InboundBuffer;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Signature: ()TS;
public S resume();
descriptor: ()Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
invokevirtual io.vertx.core.streams.impl.InboundBuffer.resume:()Z
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Signature: ()TS;
public S fetch();
descriptor: (J)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.pending:Lio/vertx/core/streams/impl/InboundBuffer;
lload 1
invokevirtual io.vertx.core.streams.impl.InboundBuffer.fetch:(J)Z
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/WebSocketImplBase<TS;>;
0 2 1 amount J
Signature: (J)TS;
MethodParameters:
Name Flags
amount
public S setWriteQueueMaxSize();
descriptor: (I)Lio/vertx/core/http/WebSocketBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.checkClosed:()V
2: aload 0
getfield io.vertx.core.http.impl.WebSocketImplBase.conn:Lio/vertx/core/http/impl/Http1xConnectionBase;
iload 1
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.doSetWriteQueueMaxSize:(I)V
3: aload 0
aload 2
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.WebSocketImplBase int io.vertx.core.http.impl.Http1xConnectionBase
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 7 1 maxSize I
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (I)TS;
MethodParameters:
Name Flags
maxSize
public io.vertx.core.Future<java.lang.Void> end();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.close:()Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;
public void end(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=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.close:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.ReadStream pause();
descriptor: ()Lio/vertx/core/streams/ReadStream;
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.WebSocketImplBase.pause:()Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
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.Handler
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
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.WebSocketImplBase.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void write(java.lang.Object, io.vertx.core.Handler);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
aload 2
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
return
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future write(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/Future;
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.buffer.Buffer
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.WriteStream setWriteQueueMaxSize(int);
descriptor: (I)Lio/vertx/core/streams/WriteStream;
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.WebSocketImplBase.setWriteQueueMaxSize:(I)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream resume();
descriptor: ()Lio/vertx/core/streams/ReadStream;
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.WebSocketImplBase.resume:()Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream fetch(long);
descriptor: (J)Lio/vertx/core/streams/ReadStream;
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.WebSocketImplBase.fetch:(J)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
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.WebSocketImplBase.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
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.WebSocketImplBase.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.WriteStream exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
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.WebSocketImplBase.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.WriteStream drainHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
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.WebSocketImplBase.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocketBase;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$io$vertx$core$http$impl$FrameType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.core.http.impl.WebSocketImplBase.$SWITCH_TABLE$io$vertx$core$http$impl$FrameType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.core.http.impl.FrameType.values:()[Lio/vertx/core/http/impl/FrameType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.core.http.impl.FrameType.BINARY:Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.core.http.impl.FrameType.CLOSE:Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.core.http.impl.FrameType.CONTINUATION:Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.vertx.core.http.impl.FrameType.PING:Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.vertx.core.http.impl.FrameType.PONG:Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
bipush 6
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic io.vertx.core.http.impl.FrameType.TEXT:Lio/vertx/core/http/impl/FrameType;
invokevirtual io.vertx.core.http.impl.FrameType.ordinal:()I
iconst_2
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic io.vertx.core.http.impl.WebSocketImplBase.$SWITCH_TABLE$io$vertx$core$http$impl$FrameType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
private static void lambda$1(io.vertx.core.http.impl.Http1xConnectionBase, java.lang.Void);
descriptor: (Lio/vertx/core/http/impl/Http1xConnectionBase;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.Http1xConnectionBase.doResume:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private void lambda$2(io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/core/eventbus/Message;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
checkcast io.vertx.core.buffer.Buffer
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeBinaryFrameInternal:(Lio/vertx/core/buffer/Buffer;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 1 1 msg Lio/vertx/core/eventbus/Message<Lio/vertx/core/buffer/Buffer;>;
private void lambda$3(io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/core/eventbus/Message;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.writeTextFrameInternal:(Ljava/lang/String;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 1 1 msg Lio/vertx/core/eventbus/Message<Ljava/lang/String;>;
private void lambda$4(io.netty.util.concurrent.Future);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.WebSocketImplBase.closeConnection:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/WebSocketImplBase<TS;>;
0 1 1 v Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
}
Signature: <S::Lio/vertx/core/http/WebSocketBase;>Ljava/lang/Object;Lio/vertx/core/http/impl/WebSocketInternal;
SourceFile: "WebSocketImplBase.java"
NestMembers:
io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator
InnerClasses:
private FrameAggregator = io.vertx.core.http.impl.WebSocketImplBase$FrameAggregator of io.vertx.core.http.impl.WebSocketImplBase
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles