org.apache.cxf.transport.jbi
Class JBIConduitOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.apache.cxf.io.CachedOutputStream
          extended by org.apache.cxf.transport.jbi.JBIConduitOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class JBIConduitOutputStream
extends CachedOutputStream


Field Summary
 
Fields inherited from class org.apache.cxf.io.CachedOutputStream
currentStream, outputLocked
 
Constructor Summary
JBIConduitOutputStream(Message m, javax.jbi.messaging.DeliveryChannel channel, EndpointReferenceType target, JBIConduit conduit)
           
 
Method Summary
protected  void doClose()
          Perform any actions required on stream closure (handle response etc.)
protected  void doFlush()
          Perform any actions required on stream flush (freeze headers, reset output stream ...
protected  void onWrite()
           
 
Methods inherited from class org.apache.cxf.io.CachedOutputStream
close, copyStream, deregisterCallback, equals, flush, getBytes, getCallbacks, getInputStream, getOut, getTempFile, hashCode, holdTempFile, lockOutputStream, postClose, registerCallback, releaseTempFileHold, resetOut, setOutputDir, setThreshold, size, toString, write, write, write, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JBIConduitOutputStream

public JBIConduitOutputStream(Message m,
                              javax.jbi.messaging.DeliveryChannel channel,
                              EndpointReferenceType target,
                              JBIConduit conduit)
Method Detail

doFlush

protected void doFlush()
                throws IOException
Description copied from class: CachedOutputStream
Perform any actions required on stream flush (freeze headers, reset output stream ... etc.)

Overrides:
doFlush in class CachedOutputStream
Throws:
IOException

doClose

protected void doClose()
                throws IOException
Description copied from class: CachedOutputStream
Perform any actions required on stream closure (handle response etc.)

Overrides:
doClose in class CachedOutputStream
Throws:
IOException

onWrite

protected void onWrite()
                throws IOException
Overrides:
onWrite in class CachedOutputStream
Throws:
IOException


Apache CXF