Package org.arvados.client.logic.keep
Class FileTransferHandler
- java.lang.Object
-
- org.arvados.client.logic.keep.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)
-
-
-
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(KeepLocator locator)
-
get
public byte[] get(java.lang.String blockLocator, java.lang.String authToken)
-
-