Class InterceptingOutputStream

java.lang.Object
java.io.OutputStream
org.glassfish.jersey.jdk.connector.internal.InterceptingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

class InterceptingOutputStream extends OutputStream
A stream that invokes InterceptingOutputStream.FirstCallListener when any operation is invoked. InterceptingOutputStream.FirstCallListener is invoked only once in the stream lifetime.