| |
|
| java.lang.Object org.apache.cactus.server.FilterConfigWrapper
FilterConfigWrapper | public class FilterConfigWrapper implements FilterConfig(Code) | | Wrapper around FilterConfig which overrides the
getServletContext() method to return our own wrapper around
ServletContext .
version: $Id: FilterConfigWrapper.java 239054 2004-10-24 01:30:23Z felipeal $ See Also: ServletContext |
FilterConfigWrapper | public FilterConfigWrapper(FilterConfig theOriginalConfig)(Code) | | Parameters: theOriginalConfig - the original filter config object |
getFilterName | public String getFilterName()(Code) | | the simulated filter's name if defined or the redirectorfilter's name |
getInitParameter | public String getInitParameter(String theName)(Code) | | Parameters: theName - the name of the parameter's value to return the value of the parameter, looking for it first in the list ofparameters set using the setInitParameter() methodand then in those set in web.xml . |
getInitParameterNames | public Enumeration getInitParameterNames()(Code) | | Return the union of the parameters defined in the Redirector
web.xml file and the one set using the
setInitParameter() method. The parameters with the same
name (and same case) are only returned once.
the init parameters |
getServletContext | public ServletContext getServletContext()(Code) | | our own wrapped servlet context object |
setFilterName | public void setFilterName(String theFilterName)(Code) | | Sets the filter name. That will be the value returned by the
getFilterName() method.
Parameters: theFilterName - the filter name |
setInitParameter | public void setInitParameter(String theName, String theValue)(Code) | | Sets a parameter as if it were set in the web.xml file.
Parameters: theName - the parameter's name Parameters: theValue - the parameter's value |
|
|
|