Class NoopCloseAndFlushOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.resteasy.reactive.server.NoopCloseAndFlushOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
This class is needed because some message writers don't give us a way to control if the output stream is going to be closed
or not.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
NoopCloseAndFlushOutputStream
-
-
Method Details
-
flush
public void flush()- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-