Class ByteBufferOutputStream

java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.ByteBufferOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

@Deprecated(since="2021-05-27") public class ByteBufferOutputStream extends OutputStream
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Simple wrapper of a ByteBuffer as an OutputStream. The buffer does not grow and this class will throw an BufferOverflowException if the buffer capacity is exceeded.
  • Constructor Details

    • ByteBufferOutputStream

      public ByteBufferOutputStream(ByteBuffer buffer)
      Deprecated.
  • Method Details