Package io.jmix.restds.filestorage
Class RestFileStorage.ResponseInputStream
java.lang.Object
java.io.InputStream
io.jmix.restds.filestorage.RestFileStorage.ResponseInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- RestFileStorage
-
Constructor Summary
ConstructorsConstructorDescriptionResponseInputStream(org.springframework.http.client.ClientHttpResponse response, InputStream inputStream) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ResponseInputStream
public ResponseInputStream(org.springframework.http.client.ClientHttpResponse response, InputStream inputStream)
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-