class org.springframework.boot.devtools.livereload.Frame
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.livereload.Frame
super_class: java.lang.Object
{
private static final byte[] NO_BYTES;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.springframework.boot.devtools.livereload.Frame$Type type;
descriptor: Lorg/springframework/boot/devtools/livereload/Frame$Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] payload;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
newarray 8
putstatic org.springframework.boot.devtools.livereload.Frame.NO_BYTES:[B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
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 1
ldc "Payload must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
getstatic org.springframework.boot.devtools.livereload.Frame$Type.TEXT:Lorg/springframework/boot/devtools/livereload/Frame$Type;
putfield org.springframework.boot.devtools.livereload.Frame.type:Lorg/springframework/boot/devtools/livereload/Frame$Type;
3: aload 0
aload 1
invokevirtual java.lang.String.getBytes:()[B
putfield org.springframework.boot.devtools.livereload.Frame.payload:[B
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/livereload/Frame;
0 5 1 payload Ljava/lang/String;
MethodParameters:
Name Flags
payload
void <init>(org.springframework.boot.devtools.livereload.Frame$Type);
descriptor: (Lorg/springframework/boot/devtools/livereload/Frame$Type;)V
flags: (0x0000)
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 1
ldc "Type must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.boot.devtools.livereload.Frame.type:Lorg/springframework/boot/devtools/livereload/Frame$Type;
3: aload 0
getstatic org.springframework.boot.devtools.livereload.Frame.NO_BYTES:[B
putfield org.springframework.boot.devtools.livereload.Frame.payload:[B
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/livereload/Frame;
0 5 1 type Lorg/springframework/boot/devtools/livereload/Frame$Type;
MethodParameters:
Name Flags
type
void <init>(org.springframework.boot.devtools.livereload.Frame$Type, byte[]);
descriptor: (Lorg/springframework/boot/devtools/livereload/Frame$Type;[B)V
flags: (0x0000)
Code:
stack=2, 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
aload 1
putfield org.springframework.boot.devtools.livereload.Frame.type:Lorg/springframework/boot/devtools/livereload/Frame$Type;
2: aload 0
aload 2
putfield org.springframework.boot.devtools.livereload.Frame.payload:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/devtools/livereload/Frame;
0 4 1 type Lorg/springframework/boot/devtools/livereload/Frame$Type;
0 4 2 payload [B
MethodParameters:
Name Flags
type
payload
org.springframework.boot.devtools.livereload.Frame$Type getType();
descriptor: ()Lorg/springframework/boot/devtools/livereload/Frame$Type;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.livereload.Frame.type:Lorg/springframework/boot/devtools/livereload/Frame$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/livereload/Frame;
byte[] getPayload();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/livereload/Frame;
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.String
dup
aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
invokespecial java.lang.String.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/livereload/Frame;
void write(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
sipush 128
aload 0
getfield org.springframework.boot.devtools.livereload.Frame.type:Lorg/springframework/boot/devtools/livereload/Frame$Type;
getfield org.springframework.boot.devtools.livereload.Frame$Type.code:I
ior
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
arraylength
bipush 126
if_icmpge 4
2: aload 1
aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
arraylength
bipush 127
iand
invokevirtual java.io.OutputStream.write:(I)V
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
bipush 126
invokevirtual java.io.OutputStream.write:(I)V
5: aload 1
aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
arraylength
bipush 8
ishr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
6: aload 1
aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
arraylength
iconst_0
ishr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.springframework.boot.devtools.livereload.Frame.payload:[B
invokevirtual java.io.OutputStream.write:([B)V
8: aload 1
invokevirtual java.io.OutputStream.flush:()V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/devtools/livereload/Frame;
0 10 1 outputStream Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
outputStream
static org.springframework.boot.devtools.livereload.Frame read(org.springframework.boot.devtools.livereload.ConnectionInputStream);
descriptor: (Lorg/springframework/boot/devtools/livereload/ConnectionInputStream;)Lorg/springframework/boot/devtools/livereload/Frame;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.checkedRead:()I
istore 1
start local 1 1: iload 1
sipush 128
iand
ifeq 2
iconst_1
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "Fragmented frames are not supported"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 0
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.checkedRead:()I
istore 2
start local 2 5: iload 2
sipush 128
iand
ifeq 6
iconst_1
goto 7
StackMap locals: int
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 3
start local 3 8: iload 2
bipush 127
iand
istore 4
start local 4 9: iload 4
bipush 127
if_icmpeq 10
iconst_1
goto 11
StackMap locals: int int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: ldc "Large frames are not supported"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
12: iload 4
bipush 126
if_icmpne 14
13: aload 0
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.checkedRead:()I
bipush 8
ishl
aload 0
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.checkedRead:()I
ior
istore 4
14: StackMap locals:
StackMap stack:
iconst_4
newarray 8
astore 5
start local 5 15: iload 3
ifeq 17
16: aload 0
aload 5
iconst_0
aload 5
arraylength
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.readFully:([BII)V
17: StackMap locals: byte[]
StackMap stack:
iload 4
newarray 8
astore 6
start local 6 18: aload 0
aload 6
iconst_0
iload 4
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.readFully:([BII)V
19: iload 3
ifeq 25
20: iconst_0
istore 7
start local 7 21: goto 24
22: StackMap locals: byte[] int
StackMap stack:
aload 6
iload 7
dup2
baload
aload 5
iload 7
iconst_4
irem
baload
ixor
i2b
bastore
23: iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
aload 6
arraylength
if_icmplt 22
end local 7 25: StackMap locals:
StackMap stack:
new org.springframework.boot.devtools.livereload.Frame
dup
iload 1
bipush 15
iand
invokestatic org.springframework.boot.devtools.livereload.Frame$Type.forCode:(I)Lorg/springframework/boot/devtools/livereload/Frame$Type;
aload 6
invokespecial org.springframework.boot.devtools.livereload.Frame.<init>:(Lorg/springframework/boot/devtools/livereload/Frame$Type;[B)V
areturn
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 26 0 inputStream Lorg/springframework/boot/devtools/livereload/ConnectionInputStream;
1 26 1 firstByte I
5 26 2 maskAndLength I
8 26 3 hasMask Z
9 26 4 length I
15 26 5 mask [B
18 26 6 payload [B
21 25 7 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
}
SourceFile: "Frame.java"
NestMembers:
org.springframework.boot.devtools.livereload.Frame$Type
InnerClasses:
final Type = org.springframework.boot.devtools.livereload.Frame$Type of org.springframework.boot.devtools.livereload.Frame