Package org.apache.cxf.io
Class AbstractWrappedOutputStream
java.lang.Object
java.io.OutputStream
org.apache.cxf.io.AbstractWrappedOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
- Direct Known Subclasses:
- AbstractThresholdOutputStream
Provides a convenient hook onFirstWrite() for those needing
 to wrap an output stream.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotected
- 
Method SummaryMethods inherited from class java.io.OutputStreamnullOutputStream
- 
Field Details- 
wrappedStream
- 
writtenprotected boolean written
- 
allowFlushprotected boolean allowFlush
 
- 
- 
Constructor Details- 
AbstractWrappedOutputStreamprotected AbstractWrappedOutputStream()
- 
AbstractWrappedOutputStream
 
- 
- 
Method Details- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
onFirstWrite- Throws:
- IOException
 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
write- Specified by:
- writein class- OutputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- OutputStream
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- OutputStream
- Throws:
- IOException
 
- 
allowFlushpublic void allowFlush(boolean b) 
 
-