Class MimeEntity.NoCloseOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.camel.component.as2.api.entity.MimeEntity.NoCloseOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
MimeEntity
An OuputStream wrapper that doesn't close its underlying output stream.
Instances of this stream are used by entities to attach encoding streams to underlying output stream in order to write out their encoded content and then flush and close these encoding streams without closing the underlying output stream.
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush, write, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
NoCloseOutputStream
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream
-