Package com.avoka.tm.vo
Class RestCFG.FileParam
- java.lang.Object
-
- com.avoka.tm.vo.RestCFG.FileParam
-
-
Constructor Summary
Constructors Constructor Description FileParam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getFileData()
Return the file data.String
getFileName()
Return the file data file name.String
getName()
Get the request parameter name.void
setFileData(String fileData)
Set the file data for adding to the file parameter in a multi-part request.void
setFileName(String fileName)
Set the file data file name.void
setName(String name)
Set the request parameter name.
-
-
-
Method Detail
-
getFileData
public byte[] getFileData()
Return the file data.- Returns:
- the file data to add to file parameter for a multi-part request.
-
setFileData
public void setFileData(String fileData)
Set the file data for adding to the file parameter in a multi-part request.- Parameters:
fileData
- the Base64 String of file data
-
getFileName
public String getFileName()
Return the file data file name.- Returns:
- the file data file name
-
setFileName
public void setFileName(String fileName)
Set the file data file name.- Parameters:
fileName
- the file data file name
-
setName
public void setName(String name)
Set the request parameter name.- Parameters:
name
- the request parameter name
-
getName
public String getName()
Get the request parameter name.- Returns:
- the request parameter name
-
-