|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.apache.cxf.io.CachedOutputStream
org.apache.cxf.io.WriteOnCloseOutputStream
public class WriteOnCloseOutputStream
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 Summary |
---|
Fields inherited from class org.apache.cxf.io.CachedOutputStream |
---|
currentStream, outputLocked |
Constructor Summary | |
---|---|
WriteOnCloseOutputStream(java.io.OutputStream stream)
|
Method Summary | |
---|---|
protected void |
doClose()
Perform any actions required on stream closure (handle response etc.) |
Methods inherited from class org.apache.cxf.io.CachedOutputStream |
---|
close, copyStream, deregisterCallback, doFlush, equals, flush, getBytes, getCallbacks, getInputStream, getOut, getTempFile, hashCode, lockOutputStream, onWrite, postClose, registerCallback, resetOut, setOutputDir, setThreshold, size, toString, write, write, write, writeCacheTo, writeCacheTo, writeCacheTo |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WriteOnCloseOutputStream(java.io.OutputStream stream)
Method Detail |
---|
protected void doClose() throws java.io.IOException
CachedOutputStream
doClose
in class CachedOutputStream
java.io.IOException
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |