Class ByteArrayOutputStream2

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    @Deprecated(since="2021-05-27")
    public class ByteArrayOutputStream2
    extends java.io.ByteArrayOutputStream
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    ByteArrayOutputStream with public internals
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      byte[] getBuf()
      Deprecated.
       
      int getCount()
      Deprecated.
       
      void reset​(int minSize)
      Deprecated.
       
      void setCount​(int count)
      Deprecated.
       
      java.lang.String toString​(java.nio.charset.Charset charset)
      Deprecated.
       
      void writeUnchecked​(int b)
      Deprecated.
       
      • Methods inherited from class java.io.ByteArrayOutputStream

        close, reset, size, toByteArray, toString, toString, toString, write, write, writeBytes, writeTo
      • Methods inherited from class java.io.OutputStream

        flush, nullOutputStream, write
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ByteArrayOutputStream2

        public ByteArrayOutputStream2()
        Deprecated.
      • ByteArrayOutputStream2

        public ByteArrayOutputStream2​(int size)
        Deprecated.
    • Method Detail

      • getBuf

        public byte[] getBuf()
        Deprecated.
      • getCount

        public int getCount()
        Deprecated.
      • setCount

        public void setCount​(int count)
        Deprecated.
      • reset

        public void reset​(int minSize)
        Deprecated.
      • writeUnchecked

        public void writeUnchecked​(int b)
        Deprecated.
      • toString

        public java.lang.String toString​(java.nio.charset.Charset charset)
        Deprecated.
        Overrides:
        toString in class java.io.ByteArrayOutputStream