|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.mock.web.MockFilterConfig
public class MockFilterConfig
Mock implementation of FilterConfig
.
Constructor Summary | |
---|---|
MockFilterConfig()
|
Method Summary | |
---|---|
void |
clearInitParameters()
|
java.lang.String |
getFilterName()
|
java.lang.String |
getInitParameter(java.lang.String name)
Clears the init parameters. |
java.util.Enumeration |
getInitParameterNames()
|
javax.servlet.ServletContext |
getServletContext()
|
void |
setFilterName(java.lang.String name)
|
void |
setInitParameter(java.lang.String name,
java.lang.String value)
Sets an init parameter. |
void |
setInitParameters(java.util.Map parameters)
Sets several init parameters. |
void |
setupServletContext(javax.servlet.ServletContext context)
Sets the ServletContext . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockFilterConfig()
Method Detail |
---|
public void setupServletContext(javax.servlet.ServletContext context)
ServletContext
.
context
- the ServletContext
public java.lang.String getFilterName()
getFilterName
in interface javax.servlet.FilterConfig
public void setFilterName(java.lang.String name)
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.FilterConfig
public void clearInitParameters()
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter
in interface javax.servlet.FilterConfig
public void setInitParameter(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic void setInitParameters(java.util.Map parameters)
parameters
- the parameter mappublic java.util.Enumeration getInitParameterNames()
getInitParameterNames
in interface javax.servlet.FilterConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |