Class InputStreamClosingContext
java.lang.Object
java.io.InputStream
io.clonecloudstore.accessor.apache.client.internal.InputStreamClosingContext
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionInputStreamClosingContext(InputStream original, org.apache.hc.core5.http.ClassicHttpResponse response, org.apache.hc.client5.http.impl.classic.CloseableHttpClient client) -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()voidmark(int readlimit) booleanintread()intread(byte[] b) intread(byte[] b, int off, int len) voidreset()longskip(long n) longtransferTo(OutputStream out) Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes
-
Constructor Details
-
InputStreamClosingContext
public InputStreamClosingContext(InputStream original, org.apache.hc.core5.http.ClassicHttpResponse response, org.apache.hc.client5.http.impl.classic.CloseableHttpClient client)
-
-
Method Details
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classInputStream
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-