org.mortbay.servlet
public class MultiPartFilter extends Object implements Filter
This class decodes the multipart/form-data stream sent by a HTML form that uses a file input item. Any files sent are stored to a tempary file and a File object added to the request as an attribute. All other values are made available via the normal getParameter API and the setCharacterEncoding mechanism is respected when converting bytes to Strings.
Version: $Id: MultiPartFilter.java,v 1.7 2005/11/03 18:21:59 gregwilkins Exp $
Method Summary | |
---|---|
void | destroy() |
void | doFilter(ServletRequest request, ServletResponse response, FilterChain chain) |
void | init(FilterConfig filterConfig) |
See Also: destroy
See Also: Filter
See Also: init