Package org.apache.cxf.io
Class DelegatingInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- java.io.FilterInputStream
- 
- org.apache.cxf.io.DelegatingInputStream
 
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public class DelegatingInputStream extends FilterInputStream 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleancached- 
Fields inherited from class java.io.FilterInputStreamin
 
- 
 - 
Constructor SummaryConstructors Constructor Description DelegatingInputStream(InputStream is)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcacheInput()Read the entire original input stream and cache it.InputStreamgetInputStream()voidsetInputStream(InputStream inputStream)- 
Methods inherited from class java.io.FilterInputStreamavailable, close, mark, markSupported, read, read, read, reset, skip
 - 
Methods inherited from class java.io.InputStreamnullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
 
- 
 
- 
- 
- 
Constructor Detail- 
DelegatingInputStreampublic DelegatingInputStream(InputStream is) 
 
- 
 - 
Method Detail- 
setInputStreampublic void setInputStream(InputStream inputStream) 
 - 
getInputStreampublic InputStream getInputStream() 
 - 
cacheInputpublic 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
 
- 
 
-