public interface MultipartWrapperFactory extends ConfigurableComponent
MultipartWrapper
. The factory may chose to
always supply the same kind of wrapper, or vary the implementation request by request
as it sees fit.Modifier and Type | Method and Description |
---|---|
MultipartWrapper |
wrap(javax.servlet.http.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.
|
init
MultipartWrapper wrap(javax.servlet.http.HttpServletRequest request) throws java.io.IOException, FileUploadLimitExceededException
request
- an active HttpServletRequestjava.io.IOException
- if encountered when consuming the contents of the requestFileUploadLimitExceededException
- if the post size of the request exceeds
any configured limits? Copyright 2005-2006, Stripes Development Team.