Class HttpMethodReleaseInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.github.sardine.impl.io.ByteCountInputStream
com.github.sardine.impl.io.HttpMethodReleaseInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields inherited from class FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This will force close the connection if the content has not been fully consumedMethods inherited from class ByteCountInputStream
getByteCount, read, read, read, skipMethods inherited from class FilterInputStream
available, mark, markSupported, resetMethods inherited from class InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
HttpMethodReleaseInputStream
- Parameters:
response- The HTTP response to read from- Throws:
IOException- If there is a problem reading from the responseNullPointerException- If the response has no message entity
-
-
Method Details
-
close
This will force close the connection if the content has not been fully consumed- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException- if an I/O error occurs- See Also:
-