Package org.restlet.engine.io
Class UnclosableOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.restlet.engine.io.UnclosableOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class UnclosableOutputStream extends java.io.FilterOutputStream
OutputStream decorator to trap close() calls so that the decorated stream does not get closed.- Author:
- Kevin Conaway
-
-
Constructor Summary
Constructors Constructor Description UnclosableOutputStream(java.io.OutputStream source)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-