Class FileStorageClient


  • public final class FileStorageClient
    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> upload​(java.io.File content)  
      java8.util.concurrent.CompletableFuture<java.net.URL> upload​(java.lang.String fileName, byte[] content)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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