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:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-