Class Utf8HttpWriter

  • All Implemented Interfaces:,, java.lang.Appendable, java.lang.AutoCloseable

    public class Utf8HttpWriter
    extends HttpWriter
    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
    • Field Summary

      • Fields inherited from class

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(char[] s, int offset, int length)  
      • Methods inherited from class

        append, append, append, nullWriter, write, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utf8HttpWriter

        public Utf8HttpWriter​(HttpOutput out)
    • Method Detail

      • write

        public void write​(char[] s,
                          int offset,
                          int length)
        write in class HttpWriter