Package io.getstream.core
Class StreamImages
- java.lang.Object
-
- io.getstream.core.StreamImages
-
public class StreamImages 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(Token token, java.net.URL targetURL)
java8.util.concurrent.CompletableFuture<java.net.URL>
process(Token token, java.net.URL targetURL, RequestOption option)
java8.util.concurrent.CompletableFuture<java.net.URL>
upload(Token token, java.io.File content)
java8.util.concurrent.CompletableFuture<java.net.URL>
upload(Token token, java.lang.String fileName, byte[] content)
-
-
-
Method Detail
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(Token token, java.lang.String fileName, byte[] content) throws StreamException
- Throws:
StreamException
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(Token token, java.io.File content) throws StreamException
- Throws:
StreamException
-
delete
public java8.util.concurrent.CompletableFuture<java.lang.Void> delete(Token token, java.net.URL targetURL) throws StreamException
- Throws:
StreamException
-
process
public java8.util.concurrent.CompletableFuture<java.net.URL> process(Token token, java.net.URL targetURL, RequestOption option) throws StreamException
- Throws:
StreamException
-
-