com.jalios.jcms.test
Class MockFilterConfig
java.lang.Object
com.jalios.jcms.test.MockFilterConfig
- All Implemented Interfaces:
- javax.servlet.FilterConfig
public class MockFilterConfig
- extends Object
- implements javax.servlet.FilterConfig
Mock FilterConfig to be used for testing purpose only.
- Since:
- jcms-5.7.4
- Version:
- $Revision: 20783 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFilterConfig
public MockFilterConfig(javax.servlet.ServletContext pContext,
String pFilterName,
HashMap pInitParamMap)
addInitParam
public void addInitParam(String key,
String value)
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext
in interface javax.servlet.FilterConfig
getFilterName
public String getFilterName()
- Specified by:
getFilterName
in interface javax.servlet.FilterConfig
getInitParameter
public String getInitParameter(String name)
- Specified by:
getInitParameter
in interface javax.servlet.FilterConfig
getInitParameterNames
public Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames
in interface javax.servlet.FilterConfig
Copyright © 2001-2010 Jalios SA. All Rights Reserved.