com.oreilly.servlet
Class MultipartFilter

java.lang.Object
  extended by com.oreilly.servlet.MultipartFilter

public class MultipartFilter
extends java.lang.Object

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

Constructor Summary
MultipartFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartFilter

public MultipartFilter()
Method Detail

init

public void init(FilterConfig config)
          throws ServletException
Throws:
ServletException

destroy

public void destroy()

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws java.io.IOException,
                     ServletException
Throws:
java.io.IOException
ServletException