Class HttpWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
    Direct Known Subclasses:
    EncodingHttpWriter, Iso88591HttpWriter, Utf8HttpWriter

    @Deprecated(since="2021-05-27")
    public abstract class HttpWriter
    extends java.io.Writer
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MAX_OUTPUT_CHARS
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpWriter​(HttpOutput out)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated.
       
      void complete​(Callback callback)
      Deprecated.
       
      void flush()
      Deprecated.
       
      void write​(char[] s, int offset, int length)
      Deprecated.
       
      void write​(java.lang.String s, int offset, int length)
      Deprecated.
       
      • Methods inherited from class java.io.Writer

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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • HttpWriter

        public HttpWriter​(HttpOutput out)
        Deprecated.
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in class java.io.Writer
        Throws:
        java.io.IOException
      • complete

        public void complete​(Callback callback)
        Deprecated.
      • flush

        public void flush()
                   throws java.io.IOException
        Deprecated.
        Specified by:
        flush in interface java.io.Flushable
        Specified by:
        flush in class java.io.Writer
        Throws:
        java.io.IOException
      • write

        public void write​(java.lang.String s,
                          int offset,
                          int length)
                   throws java.io.IOException
        Deprecated.
        Overrides:
        write in class java.io.Writer
        Throws:
        java.io.IOException
      • write

        public void write​(char[] s,
                          int offset,
                          int length)
                   throws java.io.IOException
        Deprecated.
        Specified by:
        write in class java.io.Writer
        Throws:
        java.io.IOException