public class MockBaseConfig extends Object
| Constructor and Description |
|---|
MockBaseConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllInitParameters(Map<String,String> parameters)
Adds all the values in the provided Map to the set of init parameters.
|
void |
addInitParameter(String name,
String value)
Adds a value to the set of init parameters.
|
String |
getInitParameter(String name)
Gets the named init parameter if it exists, or null if it doesn't.
|
Enumeration<String> |
getInitParameterNames()
Gets an enumeration of all the init parameter names present.
|
ServletContext |
getServletContext()
Gets the ServletContext in whiich the filter is running.
|
void |
setServletContext(ServletContext ctx)
Sets the ServletContext that will be returned by getServletContext().
|
public void setServletContext(ServletContext ctx)
public ServletContext getServletContext()
public void addInitParameter(String name, String value)
public void addAllInitParameters(Map<String,String> parameters)
public String getInitParameter(String name)
public Enumeration<String> getInitParameterNames()
© Copyright 2005-2006, Stripes Development Team.