|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.multipart.AbstractMultipartDecoder
org.apache.tapestry.multipart.MultipartDecoderImpl
public class MultipartDecoderImpl
Implementation of MultipartDecoder
that is based on Jakarta FileUpload .
Field Summary | |
---|---|
protected long |
_maxSize
|
Fields inherited from class org.apache.tapestry.multipart.AbstractMultipartDecoder |
---|
_encoding, _repositoryPath, _thresholdSize, _uploadParts |
Constructor Summary | |
---|---|
MultipartDecoderImpl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.tapestry.multipart.AbstractMultipartDecoder |
---|
buildParameterMap, cleanup, getFileUpload, processFileItems |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.multipart.MultipartDecoder |
---|
cleanup, getFileUpload |
Field Detail |
---|
protected long _maxSize
Constructor Detail |
---|
public MultipartDecoderImpl()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |