org.freehep.webutil.filter
Class RequestParameterCashFilter
java.lang.Object
org.freehep.webutil.filter.RequestParameterCashFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class RequestParameterCashFilter
- extends Object
- implements javax.servlet.Filter
This filter saves specified request parameters in the session.
You need to specify "attributeList" as init-param in the
declaration of the filter. The value of the parameter is
a comma separated list of attributes that need cashing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestParameterCashFilter
public RequestParameterCashFilter()
getAttributeList
public String getAttributeList()
setAttributeList
public void setAttributeList(String list)
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright © 2000-2009 FreeHEP. All Rights Reserved.