Class Utf8HttpWriter
java.lang.Object
java.io.Writer
org.eclipse.jetty.server.HttpWriter
org.eclipse.jetty.server.Utf8HttpWriter
- All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
OutputWriter.
A writer that can wrap a
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-
Field Summary
FieldsFields inherited from class HttpWriter
_bytes, _chars, _out, MAX_OUTPUT_CHARS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HttpWriter
close, complete, flush, write
-
Field Details
-
_surrogate
int _surrogate
-
-
Constructor Details
-
Utf8HttpWriter
-
-
Method Details
-
write
- Overrides:
writein classHttpWriter- Throws:
IOException
-