Class AppendableByteArrayInputStream
java.lang.Object
java.io.InputStream
org.apache.druid.java.util.http.client.io.AppendableByteArrayInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
AppendableByteArrayInputStream
public AppendableByteArrayInputStream()
-
-
Method Details
-
add
public void add(byte[] bytesToAdd) -
done
public void done() -
exceptionCaught
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
public int available()- Overrides:
availablein classInputStream
-