Class ContentLengthInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.github.sardine.impl.io.ContentLengthInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields inherited from class FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionContentLengthInputStream(InputStream in, Long length) ContentLengthInputStream(org.apache.http.HttpResponse response) -
Method Summary
Methods inherited from class FilterInputStream
available, close, mark, markSupported, reset, skipMethods inherited from class InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ContentLengthInputStream
- Throws:
IOException
-
ContentLengthInputStream
-
-
Method Details
-
getLength
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-