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 StringgetFilterName()Returns the filter-name of this filter as defined in the deployment descriptor.StringgetInitParameter(String name)Returns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.EnumerationgetInitParameterNames()Returns the names of the filter's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the filter has no initialization parameters.javax.servlet.ServletContextgetServletContext()Returns a reference to theServletContextin which the caller is executing.voidsetFilterName(String name)Sets the name of the filter.voidsetParameter(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:
getFilterNamein interfacejavax.servlet.FilterConfig
-
getServletContext
public javax.servlet.ServletContext getServletContext()
Returns a reference to theServletContextin which the caller is executing.- Specified by:
getServletContextin interfacejavax.servlet.FilterConfig- Returns:
- a
ServletContextobject, used by the caller to interact with its servlet container - See Also:
ServletContext
-
getInitParameter
public String getInitParameter(String name)
Returns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.- Specified by:
getInitParameterin interfacejavax.servlet.FilterConfig- Parameters:
name- aStringspecifying the name of the initialization parameter- Returns:
- a
Stringcontaining the value of the initialization parameter
-
getInitParameterNames
public Enumeration getInitParameterNames()
Returns the names of the filter's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the filter has no initialization parameters.- Specified by:
getInitParameterNamesin interfacejavax.servlet.FilterConfig- Returns:
- an
EnumerationofStringobjects 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-
-
-