public class UploadFileRequest extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
File
File to upload
|
String |
path
Path where to upload including filename and extension e.g.
|
String |
storageName
Storage name
|
Constructor and Description |
---|
UploadFileRequest(String path,
byte[] file,
String storageName)
Initializes a new instance of the UploadFileRequest class.
|
public String path
public byte[] File
public String storageName
public UploadFileRequest(String path, byte[] file, String storageName)
path
- Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.file
- File to uploadstorageName
- Storage nameCopyright © 2019 Aspose Pty Ltd. All rights reserved.