org.riotfamily.forms.fileupload
Class FormsMultipartResolver
java.lang.Object
org.riotfamily.forms.fileupload.FormsMultipartResolver
- All Implemented Interfaces:
- MultipartResolver
public class FormsMultipartResolver
- extends Object
- implements MultipartResolver
MultipartResolver implementation to track the progress of file uploads.
Acts as wrapper so that the actual work is performed by the implementation
passed as constructor argument. Instead of the original request a
HttpUploadRequest
is
passed to the underlying resolver which provides the progress information.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormsMultipartResolver
public FormsMultipartResolver(MultipartResolver resolver)
isMultipart
public boolean isMultipart(HttpServletRequest request)
- Specified by:
isMultipart
in interface MultipartResolver
resolveMultipart
public MultipartHttpServletRequest resolveMultipart(HttpServletRequest request)
throws MultipartException
- Specified by:
resolveMultipart
in interface MultipartResolver
- Throws:
MultipartException
cleanupMultipart
public void cleanupMultipart(MultipartHttpServletRequest request)
- Specified by:
cleanupMultipart
in interface MultipartResolver