class org.springframework.boot.devtools.livereload.ConnectionInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.livereload.ConnectionInputStream
super_class: java.io.FilterInputStream
{
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\r\n\r\n"
private static final int BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/livereload/ConnectionInputStream;
0 2 1 in Ljava/io/InputStream;
MethodParameters:
Name Flags
in
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=6, locals=4, args_size=1
start local 0 0: sipush 4096
newarray 8
astore 1
start local 1 1: new java.lang.StringBuilder
dup
sipush 4096
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 2: goto 5
3: StackMap locals: byte[] java.lang.StringBuilder
StackMap stack:
aload 0
aload 1
iconst_0
sipush 4096
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.checkedRead:([BII)I
istore 3
start local 3 4: aload 2
new java.lang.String
dup
aload 1
iconst_0
iload 3
invokespecial java.lang.String.<init>:([BII)V
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 2
ldc "\r\n\r\n"
invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 3
6: aload 2
iconst_0
aload 2
ldc "\r\n\r\n"
invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;)I
invokevirtual java.lang.StringBuilder.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/devtools/livereload/ConnectionInputStream;
1 7 1 buffer [B
2 7 2 content Ljava/lang/StringBuilder;
4 5 3 amountRead I
Exceptions:
throws java.io.IOException
void readFully(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.checkedRead:([BII)I
istore 4
start local 4 2: iload 2
iload 4
iadd
istore 2
3: iload 3
iload 4
isub
istore 3
end local 4 4: StackMap locals:
StackMap stack:
iload 3
ifgt 1
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/springframework/boot/devtools/livereload/ConnectionInputStream;
0 6 1 buffer [B
0 6 2 offset I
0 6 3 length I
2 4 4 amountRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
offset
length
int checkedRead();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: new java.io.IOException
dup
ldc "End of stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
sipush 255
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/devtools/livereload/ConnectionInputStream;
1 4 1 b I
Exceptions:
throws java.io.IOException
int checkedRead(byte[], int, int);
descriptor: ([BII)I
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokevirtual org.springframework.boot.devtools.livereload.ConnectionInputStream.read:([BII)I
istore 4
start local 4 1: iload 4
iconst_m1
if_icmpne 3
2: new java.io.IOException
dup
ldc "End of stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 4
ireturn
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 Lorg/springframework/boot/devtools/livereload/ConnectionInputStream;
0 4 1 buffer [B
0 4 2 offset I
0 4 3 length I
1 4 4 amountRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
offset
length
}
SourceFile: "ConnectionInputStream.java"