public class CacheAndWriteOutputStream extends CachedOutputStream
currentStream, outputLocked
Constructor and Description |
---|
CacheAndWriteOutputStream(OutputStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
closeFlowthroughStream() |
OutputStream |
getFlowThroughStream() |
protected void |
onWrite() |
protected void |
postClose()
Perform any actions required after stream closure (close the other related stream etc.)
|
void |
setCacheLimit(long l) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, copyStream, deregisterCallback, doClose, doFlush, equals, flush, getBytes, getCallbacks, getInputStream, getOut, getTempFile, getThreshold, hashCode, holdTempFile, lockOutputStream, registerCallback, releaseTempFileHold, resetOut, setCipherTransformation, setDefaultCipherTransformation, setDefaultMaxSize, setDefaultThreshold, setMaxSize, setOutputDir, setThreshold, size, toString, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo
public CacheAndWriteOutputStream(OutputStream stream)
public void setCacheLimit(long l)
public void closeFlowthroughStream() throws IOException
IOException
protected void postClose() throws IOException
CachedOutputStream
postClose
in class CachedOutputStream
IOException
public OutputStream getFlowThroughStream()
protected void onWrite() throws IOException
onWrite
in class CachedOutputStream
IOException
public void write(int b) throws IOException
write
in class CachedOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class CachedOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class CachedOutputStream
IOException
Apache CXF