public class MultipartDecoderImpl extends AbstractMultipartDecoder implements ServletMultipartDecoder
MultipartDecoderthat 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, processFileItemsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanup, getFileUploadprotected long _maxSize
public MultipartDecoderImpl()
public javax.servlet.http.HttpServletRequest decode(javax.servlet.http.HttpServletRequest request)
ServletMultipartDecoderHttpServletRequest
implementation that will allow access to the form fields submitted in the request (but omits
uploaded files.decode in interface ServletMultipartDecoderrequest - The incoming servlet requestpublic void setMaxSize(long maxSize)
maxSize - The maximum size, in bytes.