Interface ByteBodyFactory.BufferingOutputStream

All Superinterfaces:
AutoCloseable, Closeable
Enclosing class:
ByteBodyFactory

public static interface ByteBodyFactory.BufferingOutputStream extends Closeable
Wrapper around a OutputStream that buffers into a CloseableAvailableByteBody. Must be closed after use, even if finishBuffer() has not been called (e.g. on error), to avoid resource leaks.
Since:
4.10.0