Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletConfig |
servlet |
Constructor and Description |
---|
JeeServletConfig(javax.servlet.ServletConfig servlet) |
Modifier and Type | Method and Description |
---|---|
String |
findInitParameter(String key)
Looks for the specified init-param in the servlet/filter config
(i.e.
|
String |
getInitParameter(String name)
Returns an initialization parameter.
|
Enumeration |
getInitParameterNames()
Returns all the parameter names.
|
String |
getName()
Returns the name of the servlet (or filter) being used.
|
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context.
|
public String getInitParameter(String name)
getInitParameter
in interface JeeConfig
name
- The name of the initialization parameter.public String findInitParameter(String key)
JeeConfig.getInitParameter(java.lang.String)
). If no such init-param is
found there, it checks the ServletContext
's init-params
for the specified parameter.findInitParameter
in interface JeeConfig
key
- The name of the initialization parameter.public Enumeration getInitParameterNames()
getInitParameterNames
in interface JeeConfig
public String getName()
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface JeeConfig
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.