Package io.getstream.client
Class ImageStorageClient
- java.lang.Object
-
- io.getstream.client.ImageStorageClient
-
public final class ImageStorageClient extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java8.util.concurrent.CompletableFuture<java.lang.Void>
delete(java.net.URL url)
java8.util.concurrent.CompletableFuture<java.net.URL>
process(java.net.URL url, Crop crop)
java8.util.concurrent.CompletableFuture<java.net.URL>
process(java.net.URL url, Resize resize)
java8.util.concurrent.CompletableFuture<java.net.URL>
upload(java.io.File content)
java8.util.concurrent.CompletableFuture<java.net.URL>
upload(java.lang.String fileName, byte[] content)
-
-
-
Method Detail
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(java.lang.String fileName, byte[] content) throws StreamException
- Throws:
StreamException
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(java.io.File content) throws StreamException
- Throws:
StreamException
-
delete
public java8.util.concurrent.CompletableFuture<java.lang.Void> delete(java.net.URL url) throws StreamException
- Throws:
StreamException
-
process
public java8.util.concurrent.CompletableFuture<java.net.URL> process(java.net.URL url, Crop crop) throws StreamException
- Throws:
StreamException
-
process
public java8.util.concurrent.CompletableFuture<java.net.URL> process(java.net.URL url, Resize resize) throws StreamException
- Throws:
StreamException
-
-