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.orgMAX_OUTPUT_CHARS| Constructor | Description |
|---|---|
Utf8HttpWriter(HttpOutput out) |
| Modifier and Type | Method | 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.IOExceptionCopyright © 1995–2018 Webtide. All rights reserved.