public class HttpOutput extends Object implements CommunicationsOutput
| Modifier and Type | Field and Description |
|---|---|
private ByteCountingOutputStream |
countingOut |
private InterruptableOutputStream |
interruptableOut |
| Constructor and Description |
|---|
HttpOutput() |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesWritten() |
OutputStream |
getOutputStream() |
void |
interrupt() |
void |
setOutputStream(OutputStream outputStream) |
private ByteCountingOutputStream countingOut
private InterruptableOutputStream interruptableOut
public OutputStream getOutputStream() throws IOException
getOutputStream in interface CommunicationsOutputIOExceptionpublic long getBytesWritten()
getBytesWritten in interface CommunicationsOutputpublic void setOutputStream(OutputStream outputStream)
public void interrupt()
Copyright © 2023 Apache NiFi Project. All rights reserved.