public interface MultipartDecoder
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
decode(javax.servlet.http.HttpServletRequest request)
Decodes the request, returning a new
HttpServletRequest implementation that will allow
access to the form fields submitted in the request (but omits uploaded files). |
UploadedFile |
getFileUpload(java.lang.String parameterName) |
org.apache.commons.fileupload.FileUploadException |
getUploadException()
Returns the exception the occured during the file upload, or null if the processing of the multipart upload
stream was succesful.
|
UploadedFile getFileUpload(java.lang.String parameterName)
parameterName
- Name of the query parameter associated with the uploaded filejavax.servlet.http.HttpServletRequest decode(javax.servlet.http.HttpServletRequest request)
HttpServletRequest
implementation that will allow
access to the form fields submitted in the request (but omits uploaded files).request
- The incoming servlet requestorg.apache.commons.fileupload.FileUploadException getUploadException()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.