public class org.glassfish.grizzly.websockets.DataFrame
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.DataFrame
super_class: java.lang.Object
{
private java.lang.String payload;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private byte[] bytes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private final org.glassfish.grizzly.websockets.FrameType type;
descriptor: Lorg/glassfish/grizzly/websockets/FrameType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean last;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static boolean isDataFrame(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.glassfish.grizzly.websockets.DataFrame
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o final
public void <init>(org.glassfish.grizzly.websockets.FrameType);
descriptor: (Lorg/glassfish/grizzly/websockets/FrameType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.websockets.DataFrame.last:Z
2: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.DataFrame.type:Lorg/glassfish/grizzly/websockets/FrameType;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 4 1 type Lorg/glassfish/grizzly/websockets/FrameType;
MethodParameters:
Name Flags
type
public void <init>(org.glassfish.grizzly.websockets.FrameType, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/websockets/FrameType;Ljava/lang/String;)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 org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;Ljava/lang/String;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 2 1 type Lorg/glassfish/grizzly/websockets/FrameType;
0 2 2 data Ljava/lang/String;
MethodParameters:
Name Flags
type
data
public void <init>(org.glassfish.grizzly.websockets.FrameType, java.lang.String, boolean);
descriptor: (Lorg/glassfish/grizzly/websockets/FrameType;Ljava/lang/String;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_1
putfield org.glassfish.grizzly.websockets.DataFrame.last:Z
2: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.DataFrame.type:Lorg/glassfish/grizzly/websockets/FrameType;
3: aload 0
aload 2
invokevirtual org.glassfish.grizzly.websockets.DataFrame.setPayload:(Ljava/lang/String;)V
4: aload 0
iload 3
putfield org.glassfish.grizzly.websockets.DataFrame.last:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 6 1 type Lorg/glassfish/grizzly/websockets/FrameType;
0 6 2 data Ljava/lang/String;
0 6 3 fin Z
MethodParameters:
Name Flags
type
data
fin
public void <init>(org.glassfish.grizzly.websockets.FrameType, byte[]);
descriptor: (Lorg/glassfish/grizzly/websockets/FrameType;[B)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 org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;[BZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 2 1 type Lorg/glassfish/grizzly/websockets/FrameType;
0 2 2 data [B
MethodParameters:
Name Flags
type
data
public void <init>(org.glassfish.grizzly.websockets.FrameType, byte[], boolean);
descriptor: (Lorg/glassfish/grizzly/websockets/FrameType;[BZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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_1
putfield org.glassfish.grizzly.websockets.DataFrame.last:Z
2: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.DataFrame.type:Lorg/glassfish/grizzly/websockets/FrameType;
3: aload 1
aload 0
aload 2
invokeinterface org.glassfish.grizzly.websockets.FrameType.setPayload:(Lorg/glassfish/grizzly/websockets/DataFrame;[B)V
4: aload 0
iload 3
putfield org.glassfish.grizzly.websockets.DataFrame.last:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 6 1 type Lorg/glassfish/grizzly/websockets/FrameType;
0 6 2 data [B
0 6 3 fin Z
MethodParameters:
Name Flags
type
data
fin
public org.glassfish.grizzly.websockets.FrameType getType();
descriptor: ()Lorg/glassfish/grizzly/websockets/FrameType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.type:Lorg/glassfish/grizzly/websockets/FrameType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
public java.lang.String getTextPayload();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.payload:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
public final void setPayload(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.DataFrame.payload:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 2 1 payload Ljava/lang/String;
MethodParameters:
Name Flags
payload
public void setPayload(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.DataFrame.bytes:[B
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.payload:Ljava/lang/String;
ifnull 2
1: aload 0
getstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.payload:Ljava/lang/String;
invokestatic org.glassfish.grizzly.websockets.Utf8Utils.encode:(Ljava/nio/charset/Charset;Ljava/lang/String;)[B
putfield org.glassfish.grizzly.websockets.DataFrame.bytes:[B
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.bytes:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
public void toStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.payload:Ljava/lang/String;
ifnull 2
1: getstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.payload:Ljava/lang/String;
aload 1
invokestatic org.glassfish.grizzly.websockets.Utf8Utils.encode:(Ljava/nio/charset/Charset;Ljava/lang/String;Ljava/io/OutputStream;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 3 1 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os final
public void respond(org.glassfish.grizzly.websockets.WebSocket);
descriptor: (Lorg/glassfish/grizzly/websockets/WebSocket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getType:()Lorg/glassfish/grizzly/websockets/FrameType;
aload 1
aload 0
invokeinterface org.glassfish.grizzly.websockets.FrameType.respond:(Lorg/glassfish/grizzly/websockets/WebSocket;Lorg/glassfish/grizzly/websockets/DataFrame;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 2 1 socket Lorg/glassfish/grizzly/websockets/WebSocket;
MethodParameters:
Name Flags
socket
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
ldc "DataFrame"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "last="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.last:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc ", type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.type:Lorg/glassfish/grizzly/websockets/FrameType;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc ", payload='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getTextPayload:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc ", bytes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.bytes:[B
invokestatic org.glassfish.grizzly.websockets.Utils.toString:([B)Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
public boolean isLast();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DataFrame.last:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
public void setLast(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.websockets.DataFrame.last:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DataFrame;
0 2 1 last Z
MethodParameters:
Name Flags
last
}
SourceFile: "DataFrame.java"