public interface FileUploadRequest
HTMLIFrameFileUpload.processFileUploadRequest(ItsNatServletRequest request, ItsNatServletResponse response)| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the content type of the file being uploaded as specified by browser.
|
String |
getFieldName()
Returns the value of the name attribute specified in the <input type=file> element
which was used for file uploading.
|
String |
getFileName()
Returns the file name as it was specified by end user in the <input type=file> element
which was used for file uploading.
|
long |
getFileSize()
Returns the file size of the file being uploaded.
|
InputStream |
getFileUploadInputStream()
Returns a stream of the file being uploaded.
|
String getFieldName()
If no name attribute is specified in the original <input type=file> element ItsNat provides a temporary one.
String getFileName()
String getContentType()
long getFileSize()
InputStream getFileUploadInputStream()
The size of this stream must be the same as the value returned by getFileSize(),
and content is the same as the original file in client.
Copyright © Innowhere Software, Jose Maria Arranz Santamaria.