public class MockServletConfig extends MockBaseConfig implements javax.servlet.ServletConfig
Constructor and Description |
---|
MockServletConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServletName()
Returns the name of the servlet for which this is the config.
|
void |
setServletName(java.lang.String name)
Sets the name of the servlet for which this is the config.
|
addAllInitParameters, addInitParameter, getInitParameter, getInitParameterNames, getServletContext, setServletContext
public java.lang.String getServletName()
getServletName
in interface javax.servlet.ServletConfig
public void setServletName(java.lang.String name)
? Copyright 2005-2006, Stripes Development Team.