Class LoggingOutputStream

    • Field Summary

      • Fields inherited from class org.apache.cxf.io.CachedOutputStream

        currentStream, outputLocked
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void closeFlowthroughStream()
      Override, because there is no need to flush the flow-through stream.
      protected void doFlush()
      Flush the flow-through stream if the current stream is also flushed.
      protected void postClose()
      Override, because there is no need to flush the flow-through stream.
      void writeCacheTo​(StringBuilder out, String charsetName, long limit)  
      • Methods inherited from class org.apache.cxf.io.CacheAndWriteOutputStream

        getFlowThroughStream, onWrite, setCacheLimit, write, write, write
      • Methods inherited from class org.apache.cxf.io.CachedOutputStream

        close, copyStream, deregisterCallback, doClose, equals, flush, getBytes, getCallbacks, getInputStream, getOut, getTempFile, getThreshold, hashCode, holdTempFile, isThresholdSysPropSet, lockOutputStream, registerCallback, releaseTempFileHold, resetOut, setCipherTransformation, setDefaultCipherTransformation, setDefaultMaxSize, setDefaultThreshold, setMaxSize, setOutputDir, setThreshold, size, toString, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo
    • Method Detail

      • closeFlowthroughStream

        public void closeFlowthroughStream()
                                    throws IOException
        Override, because there is no need to flush the flow-through stream. Flushing will be done by the underlying OutputStream.
        Overrides:
        closeFlowthroughStream in class org.apache.cxf.io.CacheAndWriteOutputStream
        Throws:
        IOException
        See Also:
        AbstractThresholdOutputStream.close()
      • postClose

        protected void postClose()
                          throws IOException
        Override, because there is no need to flush the flow-through stream. Flushing will be done by the underlying OutputStream.
        Overrides:
        postClose in class org.apache.cxf.io.CacheAndWriteOutputStream
        Throws:
        IOException
        See Also:
        AbstractThresholdOutputStream.close()
      • doFlush

        protected void doFlush()
                        throws IOException
        Flush the flow-through stream if the current stream is also flushed.
        Overrides:
        doFlush in class org.apache.cxf.io.CachedOutputStream
        Throws:
        IOException
      • writeCacheTo

        public void writeCacheTo​(StringBuilder out,
                                 String charsetName,
                                 long limit)
                          throws IOException
        Overrides:
        writeCacheTo in class org.apache.cxf.io.CachedOutputStream
        Throws:
        IOException