public class DeferredForwardOutputStream extends OutputStream
OutputStream that forwards its
write invokations to another stream. It's deferred because
it supports accepting write operations even before
the delegate stream has been provided, applying all
its contents once it becomes available. Any write operations
received after the delegate was provided are dispatched
directly| Constructor and Description |
|---|
DeferredForwardOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
setDelegate(OutputStream delegate) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush, writepublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void setDelegate(OutputStream delegate) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.