Package org.jbpm.designer.web.filter
Class ConfigurableFilterConfig
- java.lang.Object
-
- org.jbpm.designer.web.filter.ConfigurableFilterConfig
-
- All Implemented Interfaces:
javax.servlet.FilterConfig
public class ConfigurableFilterConfig extends Object implements javax.servlet.FilterConfig
-
-
Constructor Summary
Constructors Constructor Description ConfigurableFilterConfig(javax.servlet.FilterConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFilterName()
Returns the filter-name of this filter as defined in the deployment descriptor.String
getInitParameter(String name)
Returns aString
containing the value of the named initialization parameter, ornull
if the parameter does not exist.Enumeration
getInitParameterNames()
Returns the names of the filter's initialization parameters as anEnumeration
ofString
objects, or an emptyEnumeration
if the filter has no initialization parameters.javax.servlet.ServletContext
getServletContext()
Returns a reference to theServletContext
in which the caller is executing.void
setFilterName(String name)
Sets the name of the filter.void
setParameter(String name, String value)
Sets the value of a parameter
-
-
-
Method Detail
-
getFilterName
public String getFilterName()
Returns the filter-name of this filter as defined in the deployment descriptor.- Specified by:
getFilterName
in interfacejavax.servlet.FilterConfig
-
getServletContext
public javax.servlet.ServletContext getServletContext()
Returns a reference to theServletContext
in which the caller is executing.- Specified by:
getServletContext
in interfacejavax.servlet.FilterConfig
- Returns:
- a
ServletContext
object, used by the caller to interact with its servlet container - See Also:
ServletContext
-
getInitParameter
public String getInitParameter(String name)
Returns aString
containing the value of the named initialization parameter, ornull
if the parameter does not exist.- Specified by:
getInitParameter
in interfacejavax.servlet.FilterConfig
- Parameters:
name
- aString
specifying the name of the initialization parameter- Returns:
- a
String
containing the value of the initialization parameter
-
getInitParameterNames
public Enumeration getInitParameterNames()
Returns the names of the filter's initialization parameters as anEnumeration
ofString
objects, or an emptyEnumeration
if the filter has no initialization parameters.- Specified by:
getInitParameterNames
in interfacejavax.servlet.FilterConfig
- Returns:
- an
Enumeration
ofString
objects containing the names of the filter's initialization parameters
-
setParameter
public void setParameter(String name, String value)
Sets the value of a parameter- Parameters:
name
- the name of the parametervalue
- the value of the parameter
-
setFilterName
public void setFilterName(String name)
Sets the name of the filter.- Parameters:
name
-
-
-