Class NullOutputStream
java.lang.Object
java.io.OutputStream
org.glassfish.jersey.message.internal.NullOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
Since JDK 11 is replaced by
OutputStream.nullOutputStream()-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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
-
Constructor Details
-
NullOutputStream
public NullOutputStream()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein classOutputStream- Throws:
IOException
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
Deprecated, 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
-