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 46
goto 83
2: .line 48
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
3: .line 49
iload 3 /* length */
sipush 512
invokestatic java.lang.Math.min:(II)I
istore 5 /* chars */
start local 5 // int chars
4: .line 51
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
5: .line 52
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
6: .line 54
iload 7 /* bytes */
iload 5 /* chars */
iadd
aload 6 /* buffer */
arraylength
if_icmple 8
7: .line 55
aload 6 /* buffer */
arraylength
iload 7 /* bytes */
isub
istore 5 /* chars */
8: .line 57
StackMap locals: int byte[] int
StackMap stack:
iconst_0
istore 8 /* i */
start local 8 // int i
9: goto 78
10: .line 59
StackMap locals: int
StackMap stack:
aload 1 /* s */
iload 2 /* offset */
iload 8 /* i */
iadd
caload
istore 9 /* code */
start local 9 // int code
11: .line 62
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
ifne 15
12: .line 65
iload 9 /* code */
i2c
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 21
13: .line 67
aload 0 /* this */
iload 9 /* code */
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
14: .line 68
goto 77
15: .line 72
StackMap locals: int
StackMap stack:
iload 9 /* code */
i2c
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 18
16: .line 74
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 */
17: .line 75
goto 21
18: .line 79
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
istore 9 /* code */
19: .line 80
aload 0 /* this */
iconst_0
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
20: .line 81
iinc 8 /* i */ -1
21: .line 84
StackMap locals:
StackMap stack:
iload 9 /* code */
bipush -128
iand
ifne 27
22: .line 87
iload 7 /* bytes */
aload 6 /* buffer */
arraylength
if_icmplt 25
23: .line 89
iload 8 /* i */
istore 5 /* chars */
24: .line 90
goto 79
25: .line 92
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
iload 9 /* code */
i2b
bastore
26: .line 93
goto 77
27: .line 96
StackMap locals:
StackMap stack:
iload 9 /* code */
sipush -2048
iand
ifne 34
28: .line 99
iload 7 /* bytes */
iconst_2
iadd
aload 6 /* buffer */
arraylength
if_icmple 31
29: .line 101
iload 8 /* i */
istore 5 /* chars */
30: .line 102
goto 79
31: .line 104
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
32: .line 105
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
33: .line 106
goto 73
34: .line 107
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -65536
iand
ifne 42
35: .line 110
iload 7 /* bytes */
iconst_3
iadd
aload 6 /* buffer */
arraylength
if_icmple 38
36: .line 112
iload 8 /* i */
istore 5 /* chars */
37: .line 113
goto 79
38: .line 115
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
39: .line 116
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
40: .line 117
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
41: .line 118
goto 73
42: .line 119
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -14680064
iand
ifne 51
43: .line 122
iload 7 /* bytes */
iconst_4
iadd
aload 6 /* buffer */
arraylength
if_icmple 46
44: .line 124
iload 8 /* i */
istore 5 /* chars */
45: .line 125
goto 79
46: .line 127
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
47: .line 128
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
48: .line 129
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
49: .line 130
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
50: .line 131
goto 73
51: .line 132
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -201326592
iand
ifne 61
52: .line 135
iload 7 /* bytes */
iconst_5
iadd
aload 6 /* buffer */
arraylength
if_icmple 55
53: .line 137
iload 8 /* i */
istore 5 /* chars */
54: .line 138
goto 79
55: .line 140
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
56: .line 141
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 18
ishr
bipush 63
iand
ior
i2b
bastore
57: .line 142
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
58: .line 143
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
59: .line 144
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
60: .line 145
goto 73
61: .line 146
StackMap locals:
StackMap stack:
iload 9 /* code */
ldc -2147483648
iand
ifne 72
62: .line 149
iload 7 /* bytes */
bipush 6
iadd
aload 6 /* buffer */
arraylength
if_icmple 65
63: .line 151
iload 8 /* i */
istore 5 /* chars */
64: .line 152
goto 79
65: .line 154
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
66: .line 155
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 24
ishr
bipush 63
iand
ior
i2b
bastore
67: .line 156
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 18
ishr
bipush 63
iand
ior
i2b
bastore
68: .line 157
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 12
ishr
bipush 63
iand
ior
i2b
bastore
69: .line 158
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 6
ishr
bipush 63
iand
ior
i2b
bastore
70: .line 159
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
sipush 128
iload 9 /* code */
bipush 63
iand
ior
i2b
bastore
71: .line 160
goto 73
72: .line 163
StackMap locals:
StackMap stack:
aload 6 /* buffer */
iload 7 /* bytes */
iinc 7 /* bytes */ 1
bipush 63
bastore
73: .line 166
StackMap locals:
StackMap stack:
aload 0 /* this */
iconst_0
putfield org.eclipse.jetty.server.Utf8HttpWriter._surrogate:I
74: .line 168
iload 7 /* bytes */
aload 6 /* buffer */
arraylength
if_icmpne 77
75: .line 170
iload 8 /* i */
iconst_1
iadd
istore 5 /* chars */
76: .line 171
goto 79
end local 9 // int code
77: .line 57
StackMap locals:
StackMap stack:
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
78: iload 8 /* i */
iload 5 /* chars */
if_icmplt 10
end local 8 // int i
79: .line 175
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
80: .line 177
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
81: .line 178
iload 3 /* length */
iload 5 /* chars */
isub
istore 3 /* length */
82: .line 179
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
83: .line 46
StackMap locals:
StackMap stack:
iload 3 /* length */
ifgt 2
84: .line 181
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 85 0 this Lorg/eclipse/jetty/server/Utf8HttpWriter;
0 85 1 s [C
0 85 2 offset I
0 85 3 length I
1 85 4 out Lorg/eclipse/jetty/server/HttpOutput;
4 83 5 chars I
5 83 6 buffer [B
6 83 7 bytes I
9 79 8 i I
11 77 9 code I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
offset
length
}
SourceFile: "Utf8HttpWriter.java"