Package io.airlift.http.client
Class GatheringByteArrayInputStream
java.lang.Object
java.io.InputStream
io.airlift.http.client.GatheringByteArrayInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
GatheringByteArrayInputStream
-
-
Method Details
-
read
public int read(byte[] buffer) - Overrides:
readin classInputStream
-
read
public int read()- Specified by:
readin classInputStream
-
skip
public long skip(long n) - Overrides:
skipin classInputStream
-
read
public int read(byte[] buffer, int offset, int length) - Overrides:
readin classInputStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-