public static class HTTPRequestImpl.HTTPUploadedFileImpl extends java.lang.Object implements HTTPUploadedFile
| Constructor and Description |
|---|
HTTPUploadedFileImpl(java.lang.String filename,
java.lang.String contentType,
Bucket data)
Creates a new file with the specified filename, content type, and
data.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Returns the MIME type of the file.
|
Bucket |
getData()
Returns the data of the file.
|
java.lang.String |
getFilename()
Returns the name of the file.
|
public HTTPUploadedFileImpl(java.lang.String filename,
java.lang.String contentType,
Bucket data)
filename - The name of the filecontentType - The content type of the filedata - The data of the filepublic java.lang.String getContentType()
HTTPUploadedFilegetContentType in interface HTTPUploadedFilepublic Bucket getData()
HTTPUploadedFilegetData in interface HTTPUploadedFilepublic java.lang.String getFilename()
HTTPUploadedFilegetFilename in interface HTTPUploadedFile