Package org.restlet.engine.io
Class UnclosableInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.restlet.engine.io.UnclosableInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class UnclosableInputStream extends java.io.FilterInputStream
InputStream decorator to trapclose()
calls so that the underlying stream is not closed.- Author:
- Kevin Conaway
-
-
Constructor Summary
Constructors Constructor Description UnclosableInputStream(java.io.InputStream source)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
-