org.apache.tapestry.multipart
Class MultipartDecoderFilter

java.lang.Object
  extended by org.apache.tapestry.multipart.MultipartDecoderFilter
All Implemented Interfaces:
ServletRequestServicerFilter

public class MultipartDecoderFilter
extends java.lang.Object
implements ServletRequestServicerFilter

Checks to see if the request is a file upload and, if so, uses the MultipartDecoder to obtain form parameters.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
MultipartDecoderFilter()
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ServletRequestServicer servicer)
           
 void setDecoder(ServletMultipartDecoder decoder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartDecoderFilter

public MultipartDecoderFilter()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    ServletRequestServicer servicer)
             throws java.io.IOException,
                    javax.servlet.ServletException
Specified by:
service in interface ServletRequestServicerFilter
Throws:
java.io.IOException
javax.servlet.ServletException

setDecoder

public void setDecoder(ServletMultipartDecoder decoder)