public class MultipartDecoderImpl extends AbstractMultipartDecoder implements ServletMultipartDecoder
MultipartDecoder
that is based on Jakarta FileUpload .Modifier and Type | Field and Description |
---|---|
protected long |
_maxSize |
_encoding, _repositoryPath, _thresholdSize, _uploadParts
Constructor and Description |
---|
MultipartDecoderImpl() |
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. |
void |
setMaxSize(long maxSize)
Sets the maximum size that an uploaded file will be allowed to have.
|
buildParameterMap, cleanup, getFileUpload, processFileItems
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cleanup, getFileUpload
protected long _maxSize
public MultipartDecoderImpl()
public javax.servlet.http.HttpServletRequest decode(javax.servlet.http.HttpServletRequest request)
ServletMultipartDecoder
HttpServletRequest
implementation that will allow access to the form fields submitted in the request (but omits
uploaded files.decode
in interface ServletMultipartDecoder
request
- The incoming servlet requestpublic void setMaxSize(long maxSize)
maxSize
- The maximum size, in bytes.