public class io.vertx.core.http.impl.ws.WebSocketFrameImpl implements io.vertx.core.http.impl.ws.WebSocketFrameInternal, io.netty.util.ReferenceCounted
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.ws.WebSocketFrameImpl
super_class: java.lang.Object
{
private final io.vertx.core.http.impl.FrameType type;
descriptor: Lio/vertx/core/http/impl/FrameType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isFinalFrame;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.netty.buffer.ByteBuf binaryData;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x0002) ACC_PRIVATE
private boolean closeParsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private short closeStatusCode;
descriptor: S
flags: (0x0002) ACC_PRIVATE
private java.lang.String closeReason;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public static io.vertx.core.http.WebSocketFrame binaryFrame(io.vertx.core.buffer.Buffer, boolean);
descriptor: (Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 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 0
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
iload 1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data Lio/vertx/core/buffer/Buffer;
0 1 1 isFinal Z
MethodParameters:
Name Flags
data
isFinal
public static io.vertx.core.http.WebSocketFrame textFrame(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lio/vertx/core/http/WebSocketFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
aload 0
iload 1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Ljava/lang/String;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
0 1 1 isFinal Z
MethodParameters:
Name Flags
str
isFinal
public static io.vertx.core.http.WebSocketFrame continuationFrame(io.vertx.core.buffer.Buffer, boolean);
descriptor: (Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
getstatic io.vertx.core.http.impl.FrameType.CONTINUATION:Lio/vertx/core/http/impl/FrameType;
aload 0
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
iload 1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data Lio/vertx/core/buffer/Buffer;
0 1 1 isFinal Z
MethodParameters:
Name Flags
data
isFinal
public static io.vertx.core.http.WebSocketFrame pingFrame(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
getstatic io.vertx.core.http.impl.FrameType.PING:Lio/vertx/core/http/impl/FrameType;
aload 0
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
iconst_1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
data
public static io.vertx.core.http.WebSocketFrame pongFrame(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocketFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new io.vertx.core.http.impl.ws.WebSocketFrameImpl
dup
getstatic io.vertx.core.http.impl.FrameType.PONG:Lio/vertx/core/http/impl/FrameType;
aload 0
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
iconst_1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
data
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
iconst_1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public void <init>(io.vertx.core.http.impl.FrameType);
descriptor: (Lio/vertx/core/http/impl/FrameType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
iconst_1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 2 1 frameType Lio/vertx/core/http/impl/FrameType;
MethodParameters:
Name Flags
frameType
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
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
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Ljava/lang/String;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 2 1 textData Ljava/lang/String;
MethodParameters:
Name Flags
textData
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeParsed:Z
2: aload 0
getstatic io.vertx.core.http.impl.FrameType.TEXT:Lio/vertx/core/http/impl/FrameType;
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
3: aload 0
iload 2
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.isFinalFrame:Z
4: aload 0
aload 1
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.netty.buffer.Unpooled.copiedBuffer:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 6 1 textData Ljava/lang/String;
0 6 2 isFinalFrame Z
MethodParameters:
Name Flags
textData
isFinalFrame
public void <init>(io.vertx.core.http.impl.FrameType, io.netty.buffer.ByteBuf);
descriptor: (Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokespecial io.vertx.core.http.impl.ws.WebSocketFrameImpl.<init>:(Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 2 1 type Lio/vertx/core/http/impl/FrameType;
0 2 2 binaryData Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
type
binaryData
public void <init>(io.vertx.core.http.impl.FrameType, io.netty.buffer.ByteBuf, boolean);
descriptor: (Lio/vertx/core/http/impl/FrameType;Lio/netty/buffer/ByteBuf;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeParsed:Z
2: aload 0
aload 1
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
3: aload 0
iload 3
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.isFinalFrame:Z
4: aload 0
aload 2
invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 6 1 type Lio/vertx/core/http/impl/FrameType;
0 6 2 binaryData Lio/netty/buffer/ByteBuf;
0 6 3 isFinalFrame Z
MethodParameters:
Name Flags
type
binaryData
isFinalFrame
public boolean isText();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
getstatic io.vertx.core.http.impl.FrameType.TEXT:Lio/vertx/core/http/impl/FrameType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public boolean isBinary();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
getstatic io.vertx.core.http.impl.FrameType.BINARY:Lio/vertx/core/http/impl/FrameType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public boolean isContinuation();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
getstatic io.vertx.core.http.impl.FrameType.CONTINUATION:Lio/vertx/core/http/impl/FrameType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public boolean isClose();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
getstatic io.vertx.core.http.impl.FrameType.CLOSE:Lio/vertx/core/http/impl/FrameType;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public io.netty.buffer.ByteBuf getBinaryData();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public java.lang.String textData();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.getBinaryData:()Lio/netty/buffer/ByteBuf;
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public io.vertx.core.buffer.Buffer binaryData();
descriptor: ()Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Lio/netty/buffer/ByteBuf;)Lio/vertx/core/buffer/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public void setBinaryData(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
ifnull 2
1: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 4 1 binaryData Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
binaryData
public void setTextData(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
ifnull 2
1: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.netty.buffer.Unpooled.copiedBuffer:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 4 1 textData Ljava/lang/String;
MethodParameters:
Name Flags
textData
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: ldc "(type: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "data: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.getBinaryData:()Lio/netty/buffer/ByteBuf;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public int refCnt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.refCnt:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public io.netty.util.ReferenceCounted retain();
descriptor: ()Lio/netty/util/ReferenceCounted;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public io.netty.util.ReferenceCounted retain(int);
descriptor: (I)Lio/netty/util/ReferenceCounted;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.retain:(I)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 1 1 increment I
MethodParameters:
Name Flags
increment
public boolean release();
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.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public boolean release(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
iload 1
invokevirtual io.netty.buffer.ByteBuf.release:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
0 1 1 decrement I
MethodParameters:
Name Flags
decrement
public io.netty.util.ReferenceCounted touch();
descriptor: ()Lio/netty/util/ReferenceCounted;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.touch:()Lio/netty/buffer/ByteBuf;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public io.netty.util.ReferenceCounted touch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/util/ReferenceCounted;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
aload 1
invokevirtual io.netty.buffer.ByteBuf.touch:(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
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/ws/WebSocketFrameImpl;
0 2 1 hint Ljava/lang/Object;
MethodParameters:
Name Flags
hint
public boolean isFinal();
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.ws.WebSocketFrameImpl.isFinalFrame:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
private void parseCloseFrame();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.length:()I
istore 1
start local 1 1: iload 1
iconst_2
if_icmpge 5
2: aload 0
sipush 1000
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeStatusCode:S
3: aload 0
aconst_null
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeReason:Ljava/lang/String;
4: goto 11
5: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
istore 2
start local 2 6: aload 0
aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
iload 2
invokevirtual io.netty.buffer.ByteBuf.getShort:(I)S
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeStatusCode:S
7: iload 1
iconst_2
if_icmpne 10
8: aload 0
aconst_null
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeReason:Ljava/lang/String;
9: goto 11
10: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.binaryData:Lio/netty/buffer/ByteBuf;
iload 2
iconst_2
iadd
iload 1
iconst_2
isub
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.toString:(IILjava/nio/charset/Charset;)Ljava/lang/String;
putfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeReason:Ljava/lang/String;
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
1 12 1 length I
6 11 2 index I
private void checkClose();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.isClose:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "This should be a close frame"
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/ws/WebSocketFrameImpl;
public short closeStatusCode();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.checkClose:()V
1: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeParsed:Z
ifne 3
2: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.parseCloseFrame:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeStatusCode:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public java.lang.String closeReason();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.checkClose:()V
1: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeParsed:Z
ifne 3
2: aload 0
invokevirtual io.vertx.core.http.impl.ws.WebSocketFrameImpl.parseCloseFrame:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.closeReason:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
public io.vertx.core.http.impl.FrameType type();
descriptor: ()Lio/vertx/core/http/impl/FrameType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.ws.WebSocketFrameImpl.type:Lio/vertx/core/http/impl/FrameType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/ws/WebSocketFrameImpl;
}
SourceFile: "WebSocketFrameImpl.java"