Class WriterInterceptorExecutor.UnCloseableOutputStream

java.lang.Object
java.io.OutputStream
org.glassfish.jersey.message.internal.WriterInterceptorExecutor.UnCloseableOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
WriterInterceptorExecutor

private static class WriterInterceptorExecutor.UnCloseableOutputStream extends OutputStream
MessageBodyWriters should not close the given stream. This output stream makes sure that the stream is not closed even if MBW tries to do it.