net.sourceforge.stripes.controller.multipart
Interface MultipartWrapperFactory
- All Superinterfaces:
- ConfigurableComponent
- All Known Implementing Classes:
- DefaultMultipartWrapperFactory
public interface MultipartWrapperFactory
- extends ConfigurableComponent
Factory for classes that implement MultipartWrapper
. The factory may chose to
always supply the same kind of wrapper, or vary the implementation request by request
as it sees fit.
- Since:
- Stripes 1.4
- Author:
- Tim Fennell
Method Summary |
MultipartWrapper |
wrap(HttpServletRequest request)
Wraps the request in an appropriate implementation of MultipartWrapper that is capable
of providing access to request parameters and any file parts contained within the
request. |
wrap
MultipartWrapper wrap(HttpServletRequest request)
throws IOException,
FileUploadLimitExceededException
- Wraps the request in an appropriate implementation of MultipartWrapper that is capable
of providing access to request parameters and any file parts contained within the
request.
- Parameters:
request
- an active HttpServletRequest
- Returns:
- an implementation of the appropriate wrapper
- Throws:
IOException
- if encountered when consuming the contents of the request
FileUploadLimitExceededException
- if the post size of the request exceeds
any configured limits
? Copyright 2005-2006, Stripes Development Team.