public class UploadFileRequest extends Object
Constructor | Description |
---|---|
UploadFileRequest() |
Initializes a new instance of the UploadFileRequest class.
|
UploadFileRequest(String path,
File file,
String storageName) |
Initializes a new instance of the UploadFileRequest class.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
File |
getFile() |
File to upload
|
String |
getpath() |
Path where to upload including filename and extension e.g.
|
String |
getstorageName() |
Storage name
|
int |
hashCode() |
|
void |
setFile(File file) |
|
void |
setpath(String path) |
|
void |
setstorageName(String storageName) |
|
String |
toString() |
public UploadFileRequest()
public UploadFileRequest(String path, File 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 namepublic String getpath()
public void setpath(String path)
public File getFile()
public void setFile(File file)
public String getstorageName()
public void setstorageName(String storageName)
Copyright © 2019. All rights reserved.