类 JeeFilterConfig
java.lang.Object
org.apache.velocity.tools.view.JeeFilterConfig
- 所有已实现的接口:
JeeConfig
Implements
JeeConfig
with a FilterConfig
.- 从以下版本开始:
- 2.0
- 版本:
- $Id$
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明findInitParameter
(String key) Looks for the specified init-param in the servlet/filter config (i.e.getInitParameter
(String name) Returns an initialization parameter.Returns all the parameter names.getName()
Returns the name of the servlet (or filter) being used.ServletContext
Returns the servlet context.
-
字段详细资料
-
filter
protected FilterConfig filter
-
-
构造器详细资料
-
JeeFilterConfig
public JeeFilterConfig(FilterConfig filter)
-
-
方法详细资料
-
getInitParameter
Returns an initialization parameter.- 指定者:
getInitParameter
在接口中JeeConfig
- 参数:
name
- The name of the initialization parameter.- 返回:
- The value of the parameter.
-
findInitParameter
Looks for the specified init-param in the servlet/filter config (i.e. callsJeeConfig.getInitParameter(java.lang.String)
). If no such init-param is found there, it checks theServletContext
's init-params for the specified parameter.- 指定者:
findInitParameter
在接口中JeeConfig
- 参数:
key
- The name of the initialization parameter.- 返回:
- The value of the initialization parameter.
-
getInitParameterNames
Returns all the parameter names.- 指定者:
getInitParameterNames
在接口中JeeConfig
- 返回:
- The enumeration containing the parameter names.
-
getName
Returns the name of the servlet (or filter) being used. -
getServletContext
public ServletContext getServletContext()Returns the servlet context.- 指定者:
getServletContext
在接口中JeeConfig
- 返回:
- The servlet context.
-