Search in sources :

Example 1 with InterruptableOutputStream

use of org.apache.nifi.remote.io.InterruptableOutputStream in project nifi by apache.

the class HttpOutput method setOutputStream.

public void setOutputStream(OutputStream outputStream) {
    interruptableOut = new InterruptableOutputStream(outputStream);
    this.countingOut = new ByteCountingOutputStream(interruptableOut);
}
Also used : InterruptableOutputStream(org.apache.nifi.remote.io.InterruptableOutputStream) ByteCountingOutputStream(org.apache.nifi.stream.io.ByteCountingOutputStream)

Aggregations

InterruptableOutputStream (org.apache.nifi.remote.io.InterruptableOutputStream)1 ByteCountingOutputStream (org.apache.nifi.stream.io.ByteCountingOutputStream)1