Class EmptyInputStream
java.lang.Object
java.io.InputStream
org.apache.hc.core5.http.impl.io.EmptyInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Returns0.voidclose()Deprecated.Noop.voidmark(int readLimit) Deprecated.Noop.booleanDeprecated.Returnstrue.intread()Deprecated.Returns-1.intread(byte[] buf) Deprecated.Returns-1.intread(byte[] buf, int off, int len) Deprecated.Returns-1.voidreset()Deprecated.Noop.longskip(long n) Deprecated.Returns0.
-
Field Details
-
INSTANCE
Deprecated.
-
-
Constructor Details
-
EmptyInputStream
private EmptyInputStream()Deprecated.
-
-
Method Details
-
available
-
close
public void close()Deprecated.Noop.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
mark
-
markSupported
public boolean markSupported()Deprecated.Returnstrue.- Overrides:
markSupportedin classInputStream
-
read
-
read
-
read
public int read(byte[] buf, int off, int len) Deprecated.Returns-1.- Overrides:
readin classInputStream
-
reset
-
skip
-
EmptyInputStream