public class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler extends org.glassfish.grizzly.websockets.ProtocolHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
super_class: org.glassfish.grizzly.websockets.ProtocolHandler
{
private final org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState state;
descriptor: Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial org.glassfish.grizzly.websockets.ProtocolHandler.<init>:(Z)V
1: aload 0
new org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState
dup
invokespecial org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.<init>:()V
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 3 1 mask Z
MethodParameters:
Name Flags
mask
public org.glassfish.grizzly.websockets.HandShake createClientHandShake(java.net.URI);
descriptor: (Ljava/net/URI;)Lorg/glassfish/grizzly/websockets/HandShake;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
dup
aload 1
invokespecial org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake.<init>:(Ljava/net/URI;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 1 1 uri Ljava/net/URI;
MethodParameters:
Name Flags
uri
public org.glassfish.grizzly.websockets.HandShake createServerHandShake(org.glassfish.grizzly.http.HttpContent);
descriptor: (Lorg/glassfish/grizzly/http/HttpContent;)Lorg/glassfish/grizzly/websockets/HandShake;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
dup
aload 1
invokevirtual org.glassfish.grizzly.http.HttpContent.getHttpHeader:()Lorg/glassfish/grizzly/http/HttpHeader;
checkcast org.glassfish.grizzly.http.HttpRequestPacket
invokespecial org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake.<init>:(Lorg/glassfish/grizzly/http/HttpRequestPacket;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 1 1 requestContent Lorg/glassfish/grizzly/http/HttpContent;
MethodParameters:
Name Flags
requestContent
public byte[] frame(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
aload 1
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getType:()Lorg/glassfish/grizzly/websockets/FrameType;
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.getOpcode:(Lorg/glassfish/grizzly/websockets/FrameType;)B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.checkForLastFrame:(Lorg/glassfish/grizzly/websockets/DataFrame;B)B
istore 2
start local 2 1: aload 1
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getType:()Lorg/glassfish/grizzly/websockets/FrameType;
aload 1
invokeinterface org.glassfish.grizzly.websockets.FrameType.getBytes:(Lorg/glassfish/grizzly/websockets/DataFrame;)[B
astore 3
start local 3 2: aload 0
aload 3
arraylength
i2l
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.encodeLength:(J)[B
astore 4
start local 4 3: iconst_1
aload 4
arraylength
iadd
aload 3
arraylength
iadd
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.maskData:Z
ifeq 4
iconst_4
goto 5
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.websockets.DataFrame int byte[] byte[]
StackMap stack: int
4: iconst_0
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.websockets.DataFrame int byte[] byte[]
StackMap stack: int int
5: iadd
istore 5
start local 5 6: iconst_1
aload 4
arraylength
iadd
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.maskData:Z
ifeq 7
iconst_4
goto 8
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.websockets.DataFrame int byte[] byte[] int
StackMap stack: int
7: iconst_0
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.websockets.DataFrame int byte[] byte[] int
StackMap stack: int int
8: iadd
istore 6
start local 6 9: iload 5
newarray 8
astore 7
start local 7 10: aload 7
iconst_0
iload 2
bastore
11: aload 4
iconst_0
aload 7
iconst_1
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.maskData:Z
ifeq 18
13: new org.glassfish.grizzly.websockets.Masker
dup
invokespecial org.glassfish.grizzly.websockets.Masker.<init>:()V
astore 8
start local 8 14: aload 7
iconst_1
dup2
baload
sipush 128
ior
i2b
bastore
15: aload 8
aload 7
iload 6
aload 3
invokevirtual org.glassfish.grizzly.websockets.Masker.mask:([BI[B)V
16: aload 8
invokevirtual org.glassfish.grizzly.websockets.Masker.getMask:()[B
iconst_0
aload 7
iload 6
iconst_4
isub
iconst_4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 8 17: goto 19
18: StackMap locals: int byte[]
StackMap stack:
aload 3
iconst_0
aload 7
iload 6
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: StackMap locals:
StackMap stack:
aload 7
areturn
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 20 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 20 1 frame Lorg/glassfish/grizzly/websockets/DataFrame;
1 20 2 opcode B
2 20 3 bytes [B
3 20 4 lengthBytes [B
6 20 5 length I
9 20 6 payloadStart I
10 20 7 packet [B
14 17 8 masker Lorg/glassfish/grizzly/websockets/Masker;
MethodParameters:
Name Flags
frame
public org.glassfish.grizzly.websockets.DataFrame parse(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/websockets/DataFrame;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
tableswitch { // 0 - 3
0: 1
1: 34
2: 47
3: 53
default: 67
}
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_2
if_icmpge 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.get:()B
istore 3
start local 3 4: aload 0
iload 3
bipush 6
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isBitSet:(BI)Z
ifne 5
aload 0
iload 3
iconst_5
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isBitSet:(BI)Z
ifne 5
aload 0
iload 3
iconst_4
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isBitSet:(BI)Z
ifne 5
iconst_0
goto 6
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer top int
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: iload 4
ifeq 9
8: new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "RSV bit(s) incorrectly set."
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
aload 0
iload 3
bipush 7
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isBitSet:(BI)Z
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
10: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
aload 0
iload 3
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isControlFrame:(B)Z
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.controlFrame:Z
11: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
iload 3
bipush 127
iand
i2b
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
12: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.inFragmentedType:B
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.valueOf:(BB)Lorg/glassfish/grizzly/websockets/FrameType;
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.frameType:Lorg/glassfish/grizzly/websockets/FrameType;
13: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
ifne 15
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.controlFrame:Z
ifeq 15
14: new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "Fragmented control frame"
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.controlFrame:Z
ifne 25
16: aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isContinuationFrame:(B)Z
ifeq 18
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.processingFragment:Z
ifne 18
17: new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "End fragment sent, but wasn't processing any previous fragments"
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.processingFragment:Z
ifeq 20
aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isContinuationFrame:(B)Z
ifne 20
19: new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "Fragment sent but opcode was not 0"
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
ifne 22
aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isContinuationFrame:(B)Z
ifne 22
21: aload 0
iconst_1
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.processingFragment:Z
22: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
ifne 25
23: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.inFragmentedType:B
ifne 25
24: aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.inFragmentedType:B
25: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.get:()B
istore 5
start local 5 26: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
iload 5
sipush 128
iand
sipush 128
if_icmpne 27
iconst_1
goto 28
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer top int int int
StackMap stack: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState
27: iconst_0
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer top int int int
StackMap stack: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState int
28: putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masked:Z
29: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
new org.glassfish.grizzly.websockets.Masker
dup
aload 1
invokespecial org.glassfish.grizzly.websockets.Masker.<init>:(Lorg/glassfish/grizzly/Buffer;)V
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
30: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masked:Z
ifeq 32
31: iload 5
sipush 128
ixor
i2b
istore 5
32: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
iload 5
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.lengthCode:B
33: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
dup
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
iconst_1
iadd
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
end local 5 end local 4 end local 3 34: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.lengthCode:B
bipush 125
if_icmpgt 37
35: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.lengthCode:B
i2l
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.length:J
36: goto 46
37: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.controlFrame:Z
ifeq 39
38: new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "Control frame payloads must be no greater than 125 bytes."
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.lengthCode:B
bipush 126
if_icmpne 40
iconst_2
goto 41
StackMap locals:
StackMap stack:
40: bipush 8
StackMap locals:
StackMap stack: int
41: istore 6
start local 6 42: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 6
if_icmpge 44
43: aconst_null
areturn
44: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer top top top top int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
aload 1
invokevirtual org.glassfish.grizzly.websockets.Masker.setBuffer:(Lorg/glassfish/grizzly/Buffer;)V
45: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
iload 6
invokevirtual org.glassfish.grizzly.websockets.Masker.unmask:(I)[B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.decodeLength:([B)J
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.length:J
end local 6 46: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
dup
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
iconst_1
iadd
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
47: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masked:Z
ifeq 52
48: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_4
if_icmpge 50
49: aconst_null
areturn
50: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
aload 1
invokevirtual org.glassfish.grizzly.websockets.Masker.setBuffer:(Lorg/glassfish/grizzly/Buffer;)V
51: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
invokevirtual org.glassfish.grizzly.websockets.Masker.readMask:()V
52: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
dup
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
iconst_1
iadd
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
53: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
i2l
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.length:J
lcmp
ifge 55
54: aconst_null
areturn
55: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
aload 1
invokevirtual org.glassfish.grizzly.websockets.Masker.setBuffer:(Lorg/glassfish/grizzly/Buffer;)V
56: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.masker:Lorg/glassfish/grizzly/websockets/Masker;
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.length:J
l2i
invokevirtual org.glassfish.grizzly.websockets.Masker.unmask:(I)[B
astore 6
start local 6 57: aload 6
arraylength
i2l
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.length:J
lcmp
ifeq 59
58: new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "Data read (%s) is not the expected size (%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.length:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
59: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer top top top top byte[]
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.frameType:Lorg/glassfish/grizzly/websockets/FrameType;
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
aload 6
invokeinterface org.glassfish.grizzly.websockets.FrameType.create:(Z[B)Lorg/glassfish/grizzly/websockets/DataFrame;
astore 2
start local 2 60: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.controlFrame:Z
ifne 62
aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.opcode:B
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.isTextFrame:(B)Z
ifne 61
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.inFragmentedType:B
iconst_1
if_icmpne 62
61: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer org.glassfish.grizzly.websockets.DataFrame top top top byte[]
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
aload 6
aload 2
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.utf8Decode:(Z[BLorg/glassfish/grizzly/websockets/DataFrame;)V
62: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.controlFrame:Z
ifne 65
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.finalFragment:Z
ifeq 65
63: aload 0
iconst_0
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.inFragmentedType:B
64: aload 0
iconst_0
putfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.processingFragment:Z
65: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.recycle:()V
66: goto 73
end local 6 end local 2 67: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
68: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 69: aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.state:Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler$ParsingState;
invokevirtual org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState.recycle:()V
70: aload 3
instanceof java.lang.RuntimeException
ifeq 72
71: aload 3
checkcast java.lang.RuntimeException
athrow
72: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer top java.lang.Exception
StackMap stack:
new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 73: StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler org.glassfish.grizzly.Buffer org.glassfish.grizzly.websockets.DataFrame
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 74 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 74 1 buffer Lorg/glassfish/grizzly/Buffer;
60 67 2 dataFrame Lorg/glassfish/grizzly/websockets/DataFrame;
73 74 2 dataFrame Lorg/glassfish/grizzly/websockets/DataFrame;
4 34 3 opcode B
7 34 4 rsvBitSet Z
26 34 5 lengthCode B
42 46 6 lengthBytes I
57 67 6 data [B
69 73 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 68 Class java.lang.Exception
3 43 68 Class java.lang.Exception
44 49 68 Class java.lang.Exception
50 54 68 Class java.lang.Exception
55 68 68 Class java.lang.Exception
MethodParameters:
Name Flags
buffer
protected boolean isControlFrame(byte);
descriptor: (B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 8
iand
bipush 8
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 2 1 opcode B
MethodParameters:
Name Flags
opcode
private boolean isBitSet(byte, int);
descriptor: (BI)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
ishr
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 2 1 b B
0 2 2 bit I
MethodParameters:
Name Flags
b final
bit
private boolean isContinuationFrame(byte);
descriptor: (B)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 2 1 opcode B
MethodParameters:
Name Flags
opcode
private boolean isTextFrame(byte);
descriptor: (B)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 2 1 opcode B
MethodParameters:
Name Flags
opcode
private byte getOpcode(org.glassfish.grizzly.websockets.FrameType);
descriptor: (Lorg/glassfish/grizzly/websockets/FrameType;)B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.glassfish.grizzly.websockets.frametypes.TextFrameType
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.glassfish.grizzly.websockets.frametypes.BinaryFrameType
ifeq 4
3: iconst_2
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
ifeq 6
5: bipush 8
ireturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof org.glassfish.grizzly.websockets.frametypes.PingFrameType
ifeq 8
7: bipush 9
ireturn
8: StackMap locals:
StackMap stack:
aload 1
instanceof org.glassfish.grizzly.websockets.frametypes.PongFrameType
ifeq 10
9: bipush 10
ireturn
10: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.ProtocolError
dup
new java.lang.StringBuilder
dup
ldc "Unknown frame type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 11 1 type Lorg/glassfish/grizzly/websockets/FrameType;
MethodParameters:
Name Flags
type
private org.glassfish.grizzly.websockets.FrameType valueOf(byte, byte);
descriptor: (BB)Lorg/glassfish/grizzly/websockets/FrameType;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush 15
iand
istore 3
start local 3 1: iload 3
tableswitch { // 0 - 10
0: 2
1: 5
2: 6
3: 10
4: 10
5: 10
6: 10
7: 10
8: 7
9: 8
10: 9
default: 10
}
2: StackMap locals: int
StackMap stack:
new org.glassfish.grizzly.websockets.frametypes.ContinuationFrameType
dup
iload 1
iconst_1
iand
iconst_1
if_icmpne 3
iconst_1
goto 4
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler int int int
StackMap stack: new 2 new 2
3: iconst_0
StackMap locals: org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler int int int
StackMap stack: new 2 new 2 int
4: invokespecial org.glassfish.grizzly.websockets.frametypes.ContinuationFrameType.<init>:(Z)V
areturn
5: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.frametypes.TextFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.TextFrameType.<init>:()V
areturn
6: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.frametypes.BinaryFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.BinaryFrameType.<init>:()V
areturn
7: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.ClosingFrameType.<init>:()V
areturn
8: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.frametypes.PingFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.PingFrameType.<init>:()V
areturn
9: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.frametypes.PongFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.PongFrameType.<init>:()V
areturn
10: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.websockets.ProtocolError
dup
ldc "Unknown frame type: %s, %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 3
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler.connection:Lorg/glassfish/grizzly/Connection;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/websockets/rfc6455/RFC6455Handler;
0 11 1 fragmentType B
0 11 2 value B
1 11 3 opcode I
MethodParameters:
Name Flags
fragmentType
value
}
SourceFile: "RFC6455Handler.java"
NestMembers:
org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState
InnerClasses:
private ParsingState = org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler$ParsingState of org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler