public class Utf8HttpWriter extends HttpWriter
HttpOutput stream and provide
character encodings.
The UTF-8 encoding is done by this class and no additional
buffers or Writers are used.
The UTF-8 code was inspired by http://javolution.org| Modifier and Type | Field and Description |
|---|---|
(package private) int |
_surrogate |
_bytes, _chars, _out, MAX_OUTPUT_CHARS| Constructor and Description |
|---|
Utf8HttpWriter(HttpOutput out) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(char[] s,
int offset,
int length) |
close, flush, writepublic Utf8HttpWriter(HttpOutput out)
public void write(char[] s,
int offset,
int length)
throws java.io.IOException
write in class HttpWriterjava.io.IOException