public class org.eclipse.jetty.server.EncodingHttpWriter extends org.eclipse.jetty.server.HttpWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.EncodingHttpWriter
super_class: org.eclipse.jetty.server.HttpWriter
{
final java.io.Writer _converter;
descriptor: Ljava/io/Writer;
flags: (0x0010) ACC_FINAL
public void <init>(org.eclipse.jetty.server.HttpOutput, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/HttpOutput;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.eclipse.jetty.server.HttpWriter.<init>:(Lorg/eclipse/jetty/server/HttpOutput;)V
1: aload 0
new java.io.OutputStreamWriter
dup
aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
aload 2
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
putfield org.eclipse.jetty.server.EncodingHttpWriter._converter:Ljava/io/Writer;
2: goto 5
3: StackMap locals: org.eclipse.jetty.server.EncodingHttpWriter org.eclipse.jetty.server.HttpOutput java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 4: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/EncodingHttpWriter;
0 6 1 out Lorg/eclipse/jetty/server/HttpOutput;
0 6 2 encoding Ljava/lang/String;
4 5 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
1 2 3 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
out
encoding
public void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._out:Lorg/eclipse/jetty/server/HttpOutput;
astore 4
start local 4 1: iload 3
ifne 13
aload 4
invokevirtual org.eclipse.jetty.server.HttpOutput.isAllContentWritten:()Z
ifeq 13
2: aload 4
invokevirtual org.eclipse.jetty.server.HttpOutput.close:()V
3: return
4: StackMap locals: org.eclipse.jetty.server.HttpOutput
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.reset:()V
5: iload 3
sipush 512
if_icmple 6
sipush 512
goto 7
StackMap locals:
StackMap stack:
6: iload 3
StackMap locals:
StackMap stack: int
7: istore 5
start local 5 8: aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._converter:Ljava/io/Writer;
aload 1
iload 2
iload 5
invokevirtual java.io.Writer.write:([CII)V
9: aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._converter:Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
10: aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
aload 4
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.writeTo:(Ljava/io/OutputStream;)V
11: iload 3
iload 5
isub
istore 3
12: iload 2
iload 5
iadd
istore 2
end local 5 13: StackMap locals:
StackMap stack:
iload 3
ifgt 4
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/server/EncodingHttpWriter;
0 15 1 s [C
0 15 2 offset I
0 15 3 length I
1 15 4 out Lorg/eclipse/jetty/server/HttpOutput;
8 13 5 chars I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
offset
length
}
SourceFile: "EncodingHttpWriter.java"