Class FileTransferHandler


  • public class FileTransferHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FileTransferHandler​(java.lang.String host, java.util.Map<java.lang.String,​java.lang.String> headers, ConfigProvider config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] get​(java.lang.String blockLocator, java.lang.String authToken)  
      byte[] get​(KeepLocator locator)  
      java.lang.String put​(java.lang.String hashString, java.io.File body)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileTransferHandler

        public FileTransferHandler​(java.lang.String host,
                                   java.util.Map<java.lang.String,​java.lang.String> headers,
                                   ConfigProvider config)
    • Method Detail

      • put

        public java.lang.String put​(java.lang.String hashString,
                                    java.io.File body)
      • get

        public byte[] get​(java.lang.String blockLocator,
                          java.lang.String authToken)