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, isThresholdSysPropSet, lockOutputStream, registerCallback, releaseTempFileHold, resetOut, setCipherTransformation, setDefaultCipherTransformation, setDefaultMaxSize, setDefaultThreshold, setMaxSize, setOutputDir, setThreshold, size, toString, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTo, writeCacheTopublic CacheAndWriteOutputStream(OutputStream stream)
public void setCacheLimit(long l)
public void closeFlowthroughStream()
throws IOException
IOExceptionprotected void postClose()
throws IOException
CachedOutputStreampostClose in class CachedOutputStreamIOExceptionpublic OutputStream getFlowThroughStream()
protected void onWrite()
throws IOException
onWrite in class CachedOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class CachedOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class CachedOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class CachedOutputStreamIOExceptionApache CXF