org.apache.cxf.io
Class DelegatingInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.cxf.io.DelegatingInputStream
- All Implemented Interfaces:
- Closeable
public class DelegatingInputStream
- extends FilterInputStream
Field Summary |
protected boolean |
cached
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cached
protected boolean cached
DelegatingInputStream
public DelegatingInputStream(InputStream is)
setInputStream
public void setInputStream(InputStream inputStream)
getInputStream
public InputStream getInputStream()
cacheInput
public void cacheInput()
- Read the entire original input stream and cache it. Useful
if switching threads or doing something where the original
stream may not be valid by the time the next read() occurs
Apache CXF