Class ResponseEntityProxy.NullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.hc.client5.http.impl.classic.ResponseEntityProxy.NullOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- ResponseEntityProxy
private static final class ResponseEntityProxy.NullOutputStream extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private static ResponseEntityProxy.NullOutputStreamINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateNullOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()java.lang.StringtoString()voidwrite(byte[] buffer)voidwrite(byte[] buffer, int off, int len)voidwrite(int byteValue)
-
-
-
Field Detail
-
INSTANCE
private static final ResponseEntityProxy.NullOutputStream INSTANCE
-
-
Method Detail
-
write
public void write(int byteValue)
- Specified by:
writein classjava.io.OutputStream
-
write
public void write(byte[] buffer)
- Overrides:
writein classjava.io.OutputStream
-
write
public void write(byte[] buffer, int off, int len)- Overrides:
writein classjava.io.OutputStream
-
flush
public void flush()
- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.OutputStream
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-