Package org.eclipse.jetty.util
Class ByteArrayOutputStream2
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.eclipse.jetty.util.ByteArrayOutputStream2
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
@Deprecated(since="2021-05-27") public class ByteArrayOutputStream2 extends ByteArrayOutputStream
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.ByteArrayOutputStream with public internals
-
-
Constructor Summary
Constructors Constructor Description ByteArrayOutputStream2()Deprecated.ByteArrayOutputStream2(int size)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]getBuf()Deprecated.intgetCount()Deprecated.voidreset(int minSize)Deprecated.voidsetCount(int count)Deprecated.StringtoString(Charset charset)Deprecated.voidwriteUnchecked(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
-
-
-
-
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 String toString(Charset charset)
Deprecated.- Overrides:
toStringin classByteArrayOutputStream
-
-