public class org.eclipse.jetty.server.Utf8HttpWriter 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.Utf8HttpWriter
super_class: org.eclipse.jetty.server.HttpWriter
{
int _surrogate;
descriptor: I
flags: (0x0000)
public void <init>(org.eclipse.jetty.server.HttpOutput);
descriptor: (Lorg/eclipse/jetty/server/HttpOutput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.eclipse.jetty.server.Utf8HttpWriter this
start local 1 // org.eclipse.jetty.server.HttpOutput out
0: .line 38
aload 0 /* this */
aload 1 /* out */
invokespecial org.eclipse.jetty.server.HttpWriter.<init>:(Lorg/eclipse/jetty/server/HttpOutput;)V
1: .line 34
aload 0 /* this */
iconst_0
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
2: .line 39
return
end local 1 // org.eclipse.jetty.server.HttpOutput out
end local 0 // org.eclipse.jetty.server.Utf8HttpWriter this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/Utf8HttpWriter;
0 3 1 out Lorg/eclipse/jetty/server/HttpOutput;
MethodParameters:
Name Flags
out
public void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 // org.eclipse.jetty.server.Utf8HttpWriter this
start local 1 // char[] s
start local 2 // int offset
start local 3 // int length
0: .line 44
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._out:Lorg/eclipse/jetty/server/HttpOutput;
astore 4 /* out */
start local 4 // org.eclipse.jetty.server.HttpOutput out
1: .line 45
iload 3 /* length */
ifne 87
aload 4 /* out */
invokevirtual org.eclipse.jetty.server.HttpOutput.isAllContentWritten:()Z
ifeq 87
2: .line 47
aload 0 /* this */
invokevirtual org.eclipse.jetty.server.Utf8HttpWriter.close:()V
3: .line 48
return
4: .line 53
StackMap locals: org.eclipse.jetty.server.HttpOutput
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.reset:()V
5: .line 54
iload 3 /* length */
sipush 512
if_icmple 6
sipush 512
goto 7
StackMap locals:
StackMap stack:
6: iload 3 /* length */
StackMap locals:
StackMap stack: int
7: istore 5 /* chars */
start local 5 // int chars
8: .line 56
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.getBuf:()[B
astore 6 /* buffer */
start local 6 // byte[] buffer
9: .line 57
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.getCount:()I
istore 7 /* bytes */
start local 7 // int bytes
10: .line 59
iload 7 /* bytes */
iload 5 /* chars */
iadd
aload 6 /* buffer */
arraylength
if_icmple 12
11: .line 60
aload 6 /* buffer */
arraylength
iload 7 /* bytes */
isub
istore 5 /* chars */
12: .line 62
StackMap locals: int byte[] int
StackMap stack:
iconst_0
istore 8 /* i */
start local 8 // int i
13: goto 82
14: .line 64
StackMap locals: int
StackMap stack:
aload 1 /* s */
iload 2 /* offset */
iload 8 /* i */
iadd
caload
istore 9 /* code */
start local 9 // int code
15: .line 67
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
ifne 19
16: .line 70
iload 9 /* code */
i2c
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 25
17: .line 72
aload 0 /* this */
iload 9 /* code */
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
18: .line 73
goto 81
19: .line 77
StackMap locals: int
StackMap stack:
iload 9 /* code */
i2c
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 22
20: .line 79
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
i2c
iload 9 /* code */
i2c
invokestatic java.lang.Character.toCodePoint:(CC)I
istore 9 /* code */
21: .line 80
goto 25
22: .line 84
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
istore 9 /* code */
23: .line 85
aload 0 /* this */
iconst_0
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
24: .line 86
iinc 8 /* i */ -1
25: .line 89
StackMap locals:
StackMap stack:
iload 9 /* code */
bipush -128
iand
ifne 31
26: .line 92
iload 7 /* bytes */
aload 6 /* buffer */
arraylength
if_icmplt 29
27: .line 94
iload 8 /* i */
istore 5 /* chars */
28: .line 95
goto 83
29: .line 97
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
iload 9 /* code */
i2b
bastore
30: .line 98
goto 81
31: .line 101
StackMap locals:
StackMap stack:
iload 9 /* code */
sipush -2048
iand
ifne 38
32: .line 104
iload 7 /* bytes */
iconst_2
iadd
aload 6 /* buffer */
arraylength
if_icmple 35
33: .line 106
iload 8 /* i */
istore 5 /* chars */
34: .line 107
goto 83
35: .line 109
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 192
iload 9 /* code */
bipush 6
ishr
ior
i2b
bastore
36: .line 110
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
37: .line 111
goto 77
38: .line 112
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -65536
iand
ifne 46
39: .line 115
iload 7 /* bytes */
iconst_3
iadd
aload 6 /* buffer */
arraylength
if_icmple 42
40: .line 117
iload 8 /* i */
istore 5 /* chars */
41: .line 118
goto 83
42: .line 120
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 224
iload 9 /* code */
bipush 12
ishr
ior
i2b
bastore
43: .line 121
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
44: .line 122
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
45: .line 123
goto 77
46: .line 124
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -14680064
iand
ifne 55
47: .line 127
iload 7 /* bytes */
iconst_4
iadd
aload 6 /* buffer */
arraylength
if_icmple 50
48: .line 129
iload 8 /* i */
istore 5 /* chars */
49: .line 130
goto 83
50: .line 132
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 240
iload 9 /* code */
bipush 18
ishr
ior
i2b
bastore
51: .line 133
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
52: .line 134
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
53: .line 135
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
54: .line 136
goto 77
55: .line 137
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -201326592
iand
ifne 65
56: .line 140
iload 7 /* bytes */
iconst_5
iadd
aload 6 /* buffer */
arraylength
if_icmple 59
57: .line 142
iload 8 /* i */
istore 5 /* chars */
58: .line 143
goto 83
59: .line 145
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 248
iload 9 /* code */
bipush 24
ishr
ior
i2b
bastore
60: .line 146
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 18
ishr
bipush 63
iand
ior
i2b
bastore
61: .line 147
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
62: .line 148
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
63: .line 149
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
64: .line 150
goto 77
65: .line 151
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -2147483648
iand
ifne 76
66: .line 154
iload 7 /* bytes */
bipush 6
iadd
aload 6 /* buffer */
arraylength
if_icmple 69
67: .line 156
iload 8 /* i */
istore 5 /* chars */
68: .line 157
goto 83
69: .line 159
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 252
iload 9 /* code */
bipush 30
ishr
ior
i2b
bastore
70: .line 160
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 24
ishr
bipush 63
iand
ior
i2b
bastore
71: .line 161
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 18
ishr
bipush 63
iand
ior
i2b
bastore
72: .line 162
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
73: .line 163
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
74: .line 164
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
75: .line 165
goto 77
76: .line 168
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
bipush 63
bastore
77: .line 171
StackMap locals:
StackMap stack:
aload 0 /* this */
iconst_0
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
78: .line 173
iload 7 /* bytes */
aload 6 /* buffer */
arraylength
if_icmpne 81
79: .line 175
iload 8 /* i */
iconst_1
iadd
istore 5 /* chars */
80: .line 176
goto 83
end local 9 // int code
81: .line 62
StackMap locals:
StackMap stack:
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
82: iload 8 /* i */
iload 5 /* chars */
if_icmplt 14
end local 8 // int i
83: .line 180
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
iload 7 /* bytes */
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.setCount:(I)V
84: .line 182
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._bytes:Lorg/eclipse/jetty/util/ByteArrayOutputStream2;
aload 4 /* out */
invokevirtual org.eclipse.jetty.util.ByteArrayOutputStream2.writeTo:(Ljava/io/OutputStream;)V
85: .line 183
iload 3 /* length */
iload 5 /* chars */
isub
istore 3 /* length */
86: .line 184
iload 2 /* offset */
iload 5 /* chars */
iadd
istore 2 /* offset */
end local 7 // int bytes
end local 6 // byte[] buffer
end local 5 // int chars
87: .line 51
StackMap locals:
StackMap stack:
iload 3 /* length */
ifgt 4
88: .line 186
return
end local 4 // org.eclipse.jetty.server.HttpOutput out
end local 3 // int length
end local 2 // int offset
end local 1 // char[] s
end local 0 // org.eclipse.jetty.server.Utf8HttpWriter this
LocalVariableTable:
Start End Slot Name Signature
0 89 0 this Lorg/eclipse/jetty/server/Utf8HttpWriter;
0 89 1 s [C
0 89 2 offset I
0 89 3 length I
1 89 4 out Lorg/eclipse/jetty/server/HttpOutput;
8 87 5 chars I
9 87 6 buffer [B
10 87 7 bytes I
13 83 8 i I
15 81 9 code I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
offset
length
}
SourceFile: "Utf8HttpWriter.java"