net.sourceforge.stripes.mock
Class MockFilterConfig

java.lang.Object
  extended by net.sourceforge.stripes.mock.MockBaseConfig
      extended by net.sourceforge.stripes.mock.MockFilterConfig
All Implemented Interfaces:
FilterConfig

public class MockFilterConfig
extends MockBaseConfig
implements FilterConfig

Mock implementation of the FilterConfig interface from the Http Servlet spec.

Since:
Stripes 1.1.1
Author:
Tim Fennell

Constructor Summary
MockFilterConfig()
           
 
Method Summary
 String getFilterName()
          Returns the name of the filter for which this is the config.
 void setFilterName(String filterName)
          Sets the filter name that will be retrieved by getFilterName().
 
Methods inherited from class net.sourceforge.stripes.mock.MockBaseConfig
addAllInitParameters, addInitParameter, getInitParameter, getInitParameterNames, getServletContext, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.FilterConfig
getInitParameter, getInitParameterNames, getServletContext
 

Constructor Detail

MockFilterConfig

public MockFilterConfig()
Method Detail

setFilterName

public void setFilterName(String filterName)
Sets the filter name that will be retrieved by getFilterName().


getFilterName

public String getFilterName()
Returns the name of the filter for which this is the config.

Specified by:
getFilterName in interface FilterConfig


? Copyright 2005-2006, Stripes Development Team.