public class ServletWrapperConfig extends Object implements ServletConfig
Modifier and Type | Field and Description |
---|---|
private Enumeration<String> |
_enumParameters |
private Map<String,String> |
_parameters |
private ServletContext |
_servletContext |
private String |
_servletName |
Constructor and Description |
---|
ServletWrapperConfig(String servletName,
ServletContext servletContext,
Map<String,String> parameters)
set the configuration
|
Modifier and Type | Method and Description |
---|---|
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
ServletContext |
getServletContext() |
String |
getServletName() |
private String _servletName
private ServletContext _servletContext
private Map<String,String> _parameters
private Enumeration<String> _enumParameters
public ServletWrapperConfig(String servletName, ServletContext servletContext, Map<String,String> parameters)
servletName
- servlet-nameservletContext
- Contextparameters
- init-parampublic String getServletName()
getServletName
in interface ServletConfig
public ServletContext getServletContext()
getServletContext
in interface ServletConfig
public String getInitParameter(String name)
getInitParameter
in interface ServletConfig
public Enumeration<String> getInitParameterNames()
getInitParameterNames
in interface ServletConfig