DelegatingInputStream (Apache CXF API 2.5.0.fuse-70-097 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`DelegatingInputStream(InputStream is)`

Method Summary
`void` | `cacheInput()` Read the entire original input stream and cache it.
`InputStream` | `getInputStream()`
`void` | `setInputStream(InputStream inputStream)`

Methods inherited from class java.io.FilterInputStream
`available, close, mark, markSupported, read, read, read, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### cached

    protected boolean cached

Constructor Detail

### DelegatingInputStream

    public DelegatingInputStream(InputStream is)

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF