Package org.eclipse.jetty.io
Class ByteBufferOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.ByteBufferOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
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 Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
ByteBufferOutputStream
Deprecated.
-
-
Method Details
-
close
public void close()Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
flush
public void flush()Deprecated.- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
write
public void write(byte[] b) Deprecated.- Overrides:
write
in classOutputStream
-
write
public void write(byte[] b, int off, int len) Deprecated.- Overrides:
write
in classOutputStream
-
write
public void write(int b) Deprecated.- Specified by:
write
in classOutputStream
-