Package org.eclipse.jetty.server
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
Fields inherited from class org.eclipse.jetty.server.HttpWriter
MAX_OUTPUT_CHARS
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.server.HttpWriter
close, complete, flush, write
-
Constructor Details
-
Utf8HttpWriter
-
-
Method Details
-
write
- Overrides:
write
in classHttpWriter
- Throws:
IOException
-