Package org.mule.soap.internal.util
Class DelegatingOutputStream
java.lang.Object
java.io.OutputStream
org.mule.soap.internal.util.DelegatingOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
This class allows to keep track of the original OutputStream throughout all CXF' stages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOutputStream(ByteArrayOutputStream outputStream) voidwrite(byte[] b) voidwrite(byte[] b, int off, int len) voidwrite(int b) Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
DelegatingOutputStream
public DelegatingOutputStream()
-
-
Method Details
-
write
public void write(byte[] b, int off, int len) - Overrides:
writein classOutputStream
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(int b) - Specified by:
writein classOutputStream
-
getOutputStream
-
setOutputStream
-