Class UndertowOutputStream

java.lang.Object
java.io.OutputStream
io.undertow.io.UndertowOutputStream
All Implemented Interfaces:
BufferWritableOutputStream, Closeable, Flushable, AutoCloseable

public class UndertowOutputStream extends OutputStream implements BufferWritableOutputStream
Buffering output stream that wraps a channel.

This stream delays channel creation, so if a response will fit in the buffer it is not necessary to set the content length header.

Author:
Stuart Douglas