Class UploadFileRequest
- java.lang.Object
-
- com.aspose.cad.cloud.model.requests.UploadFileRequest
-
public class UploadFileRequest extends Object
Class that holds parameters for UploadFile request invocation.
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
File
File to uploadString
path
Path where to upload including filename and extension e.g.String
storageName
Storage name
-
Constructor Summary
Constructors Constructor Description UploadFileRequest(String path, byte[] file, String storageName)
Initializes a new instance of the UploadFileRequest class.
-
-
-
Field Detail
-
path
public String 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
public byte[] File
File to upload
-
storageName
public String storageName
Storage name
-
-
Constructor Detail
-
UploadFileRequest
public UploadFileRequest(String path, byte[] file, String storageName)
Initializes a new instance of the UploadFileRequest class.- Parameters:
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 name
-
-