Class NullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.glassfish.jersey.message.internal.NullOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
@Deprecated(since="3.1.7", forRemoval=true) public class NullOutputStream extends OutputStream
Deprecated, for removal: This API element is subject to removal in a future version.Since JDK 11 is replaced byOutputStream.nullOutputStream()
-
-
Constructor Summary
Constructors Constructor Description NullOutputStream()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated, for removal: This API element is subject to removal in a future version.voidflush()Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(byte[] b, int off, int len)Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(int b)Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
-
-
-
Method Detail
-
write
public void write(int b) throws IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
public void close() throws IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
-