Class LimitedOutputStream

java.lang.Object
java.io.OutputStream
com.atlassian.jira.util.LimitedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LimitedOutputStream extends OutputStream
An OutputStream that throws an LimitedOutputStream.TooBigIOException if more than the configured number of bytes are ever written to the output stream.
Since:
v4.4