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: goto 9
2: 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
3: iload 3
sipush 512
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 4: 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
5: aload 0
getfield org.eclipse.jetty.server.EncodingHttpWriter._converter:Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
6: 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
7: iload 3
iload 5
isub
istore 3
8: iload 2
iload 5
iadd
istore 2
end local 5 9: StackMap locals:
StackMap stack:
iload 3
ifgt 2
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/EncodingHttpWriter;
0 11 1 s [C
0 11 2 offset I
0 11 3 length I
1 11 4 out Lorg/eclipse/jetty/server/HttpOutput;
4 9 5 chars I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
offset
length
}
SourceFile: "EncodingHttpWriter.java"