public interface FileUploadRequest
HTMLIFrameFileUpload.processFileUploadRequest(ItsNatServletRequest request, ItsNatServletResponse response)
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Returns the content type of the file being uploaded as specified by browser.
|
java.lang.String |
getFieldName()
Returns the value of the name attribute specified in the <input type=file> element
which was used for file uploading.
|
java.lang.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.
|
java.io.InputStream |
getFileUploadInputStream()
Returns a stream of the file being uploaded.
|
java.lang.String getFieldName()
If no name attribute is specified in the original <input type=file> element ItsNat provides a temporary one.
java.lang.String getFileName()
java.lang.String getContentType()
long getFileSize()
java.io.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 © 2007 Innowhere Software Services S.L. All Rights Reserved.