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()
HTTPUploadedFile
getContentType
in interface HTTPUploadedFile
public Bucket getData()
HTTPUploadedFile
getData
in interface HTTPUploadedFile
public java.lang.String getFilename()
HTTPUploadedFile
getFilename
in interface HTTPUploadedFile