org.richfaces.org.jboss.seam.web
Class MultipartFilter
java.lang.Object
org.richfaces.org.jboss.seam.web.MultipartFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class MultipartFilter
- extends java.lang.Object
- implements javax.servlet.Filter
A filter for decoding multipart requests, for
use with the file upload control.
- Author:
- Shane Bryzak
Field Summary |
static java.lang.String |
MULTIPART
|
static java.lang.String |
PERCENT_BEAN_NAME
Session bean name where progress bar's percent map will be stored |
static java.lang.String |
REQUESTS_SESSIONS_BEAN_NAME
Session bean name where multipart requests map will be stored |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULTIPART
public static final java.lang.String MULTIPART
- See Also:
- Constant Field Values
REQUESTS_SESSIONS_BEAN_NAME
public static final java.lang.String REQUESTS_SESSIONS_BEAN_NAME
- Session bean name where multipart requests map will be stored
- See Also:
- Constant Field Values
PERCENT_BEAN_NAME
public static final java.lang.String PERCENT_BEAN_NAME
- Session bean name where progress bar's percent map will be stored
- See Also:
- Constant Field Values
MultipartFilter
public MultipartFilter()
getCreateTempFiles
public boolean getCreateTempFiles()
setCreateTempFiles
public void setCreateTempFiles(boolean createTempFiles)
getMaxRequestSize
public int getMaxRequestSize()
setMaxRequestSize
public void setMaxRequestSize(int maxFileSize)
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
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
Copyright © 2008. All Rights Reserved.