Package org.apache.cxf.io
Class WriteOnCloseOutputStream
java.lang.Object
java.io.OutputStream
org.apache.cxf.io.CachedOutputStream
org.apache.cxf.io.WriteOnCloseOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
This outputstream implementation will cache the message until close()
 is called, at which point it will write the message to the OutputStream
 supplied via the constructor.
- 
Field SummaryFields inherited from class org.apache.cxf.io.CachedOutputStreamcurrentStream, outputLocked
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddoClose()Perform any actions required on stream closure (handle response etc.)Methods inherited from class org.apache.cxf.io.CachedOutputStreamclose, copyStream, deregisterCallback, doFlush, equals, flush, getBytes, getCallbacks, getInputStream, getOut, getTempFile, getThreshold, hashCode, holdTempFile, isThresholdSysPropSet, lockOutputStream, onWrite, postClose, registerCallback, releaseTempFileHold, resetOut, setCipherTransformation, setDefaultCipherTransformation, setDefaultMaxSize, setDefaultThreshold, setMaxSize, setOutputDir, setThreshold, size, toString, write, write, write, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheToMethods inherited from class java.io.OutputStreamnullOutputStream
- 
Constructor Details- 
WriteOnCloseOutputStream
 
- 
- 
Method Details- 
doCloseDescription copied from class:CachedOutputStreamPerform any actions required on stream closure (handle response etc.)- Overrides:
- doClosein class- CachedOutputStream
- Throws:
- IOException
 
 
-