org.apache.tapestry.multipart
Class MultipartDecoderImpl
java.lang.Object
org.apache.tapestry.multipart.AbstractMultipartDecoder
org.apache.tapestry.multipart.MultipartDecoderImpl
- All Implemented Interfaces:
- MultipartDecoder, ServletMultipartDecoder
public class MultipartDecoderImpl
- extends AbstractMultipartDecoder
- implements ServletMultipartDecoder
Implementation of MultipartDecoder
that
is based on Jakarta
FileUpload .
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship, Joe Panico
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_maxSize
protected long _maxSize
MultipartDecoderImpl
public MultipartDecoderImpl()
decode
public HttpServletRequest decode(HttpServletRequest request)
- Description copied from interface:
ServletMultipartDecoder
- Decodes the request, returning a new
HttpServletRequest
implementation that will
allow access to the form fields submitted in the request (but omits
uploaded files.
- Specified by:
decode
in interface ServletMultipartDecoder
- Parameters:
request
- The incoming servlet request
setMaxSize
public void setMaxSize(long maxSize)
- Sets the maximum size that an uploaded file will be allowed to have.
- Parameters:
maxSize
- The maximum size, in bytes.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.