net.sourceforge.blogentis.utils.filters
Class MultipartFilter
java.lang.Object
net.sourceforge.blogentis.utils.filters.MultipartFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- public class MultipartFilter
- extends java.lang.Object
- implements javax.servlet.Filter
A filter for easy semi-automatic handling of multipart/form-data requests
(file uploads). The filter capability requires Servlet API 2.3.
See Jason Hunter's June 2001 article in JavaWorld for a full explanation of
the class usage.
- Version:
- 1.0, 2001/06/19
- Author:
- Jason Hunter , Copyright © 2001
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipartFilter
public MultipartFilter()
init
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.