|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.tools.view.JeeServletConfig
public class JeeServletConfig
Implements JeeConfig
with a ServletConfig
.
Field Summary | |
---|---|
protected javax.servlet.ServletConfig |
servlet
|
Constructor Summary | |
---|---|
JeeServletConfig(javax.servlet.ServletConfig servlet)
|
Method Summary | |
---|---|
java.lang.String |
findInitParameter(java.lang.String key)
Looks for the specified init-param in the servlet/filter config (i.e. |
java.lang.String |
getInitParameter(java.lang.String name)
Returns an initialization parameter. |
java.util.Enumeration |
getInitParameterNames()
Returns all the parameter names. |
java.lang.String |
getName()
Returns the name of the servlet (or filter) being used. |
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.servlet.ServletConfig servlet
Constructor Detail |
---|
public JeeServletConfig(javax.servlet.ServletConfig servlet)
Method Detail |
---|
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter
in interface JeeConfig
name
- The name of the initialization parameter.
public java.lang.String findInitParameter(java.lang.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 java.util.Enumeration getInitParameterNames()
getInitParameterNames
in interface JeeConfig
public java.lang.String getName()
getName
in interface JeeConfig
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface JeeConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |