class org.springframework.boot.devtools.livereload.ConnectionOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.livereload.ConnectionOutputStream
super_class: java.io.FilterOutputStream
{
void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)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.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/livereload/ConnectionOutputStream;
0 2 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.boot.devtools.livereload.ConnectionOutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/livereload/ConnectionOutputStream;
0 2 1 b [B
0 2 2 off I
0 2 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
void writeHttp(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.springframework.util.FileCopyUtils.copyToByteArray:(Ljava/io/InputStream;)[B
astore 3
start local 3 1: aload 0
iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "HTTP/1.1 200 OK"
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "Content-Type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_2
new java.lang.StringBuilder
dup
ldc "Content-Length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_3
2: ldc "Connection: close"
aastore
3: invokevirtual org.springframework.boot.devtools.livereload.ConnectionOutputStream.writeHeaders:([Ljava/lang/String;)V
4: aload 0
aload 3
invokevirtual org.springframework.boot.devtools.livereload.ConnectionOutputStream.write:([B)V
5: aload 0
invokevirtual org.springframework.boot.devtools.livereload.ConnectionOutputStream.flush:()V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/devtools/livereload/ConnectionOutputStream;
0 7 1 content Ljava/io/InputStream;
0 7 2 contentType Ljava/lang/String;
1 7 3 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
content
contentType
void (java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.springframework.boot.devtools.livereload.ConnectionOutputStream java.lang.String[] java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: aload 2
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 0
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.springframework.boot.devtools.livereload.ConnectionOutputStream.write:([B)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/boot/devtools/livereload/ConnectionOutputStream;
0 9 1 headers [Ljava/lang/String;
1 9 2 response Ljava/lang/StringBuilder;
3 4 3 header Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
}
SourceFile: "ConnectionOutputStream.java"