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