public class GetFile extends RPCRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_APP_SERVICE_ID |
static String |
KEY_FILE_NAME |
static String |
KEY_FILE_TYPE |
static String |
KEY_LENGTH |
static String |
KEY_OFFSET |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
GetFile() |
GetFile(Hashtable<String,Object> hash) |
GetFile(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppServiceId()
ID of the service that should have uploaded the requested file
|
String |
getFileName()
File name that should be retrieved.
|
FileType |
getFileType()
Selected file type.
|
Integer |
getLength()
Optional length in bytes for resuming partial data chunks if offset is set to 0, then length
is the total length of the file to be downloaded
minvalue="0" maxvalue="2000000000"
|
Integer |
getOffset()
Optional offset in bytes for resuming partial data chunks
minvalue="0" maxvalue="2000000000"
|
GetFile |
setAppServiceId(String appServiceId)
ID of the service that should have uploaded the requested file
|
GetFile |
setFileName(String fileName)
File name that should be retrieved.
|
GetFile |
setFileType(FileType fileType)
Selected file type.
|
GetFile |
setLength(Integer length)
Optional length in bytes for resuming partial data chunks if offset is set to 0, then length
is the total length of the file to be downloaded
minvalue="0" maxvalue="2000000000"
|
GetFile |
setOffset(Integer offset)
Optional offset in bytes for resuming partial data chunks
minvalue="0" maxvalue="2000000000"
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_FILE_NAME
public static final String KEY_APP_SERVICE_ID
public static final String KEY_FILE_TYPE
public static final String KEY_OFFSET
public static final String KEY_LENGTH
public GetFile()
public GetFile(@NonNull
String fileName)
public GetFile setFileName(@NonNull String fileName)
fileName - -public String getFileName()
public GetFile setAppServiceId(String appServiceId)
appServiceId - -public String getAppServiceId()
public GetFile setFileType(FileType fileType)
fileType - -public FileType getFileType()
public GetFile setOffset(Integer offset)
offset - -public Integer getOffset()
public GetFile setLength(Integer length)
length - -public Integer getLength()