Package io.undertow.servlet.spec
Class FilterConfigImpl
java.lang.Object
io.undertow.servlet.spec.FilterConfigImpl
- All Implemented Interfaces:
FilterConfig
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the filter-name of this filter as defined in the deployment descriptor.getInitParameter(String name) Returns aStringcontaining the value of the named initialization parameter, ornullif the initialization parameter does not exist.Returns the names of the filter's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the filter has no initialization parameters.Returns a reference to theServletContextin which the caller is executing.
-
Constructor Details
-
FilterConfigImpl
-
-
Method Details
-
getFilterName
Description copied from interface:FilterConfigReturns the filter-name of this filter as defined in the deployment descriptor.- Specified by:
getFilterNamein interfaceFilterConfig- Returns:
- the filter name of this filter
-
getServletContext
Description copied from interface:FilterConfigReturns a reference to theServletContextin which the caller is executing.- Specified by:
getServletContextin interfaceFilterConfig- Returns:
- a
ServletContextobject, used by the caller to interact with its servlet container - See Also:
-
getInitParameter
Description copied from interface:FilterConfigReturns aStringcontaining the value of the named initialization parameter, ornullif the initialization parameter does not exist.- Specified by:
getInitParameterin interfaceFilterConfig- Parameters:
name- aStringspecifying the name of the initialization parameter- Returns:
- a
Stringcontaining the value of the initialization parameter, ornullif the initialization parameter does not exist
-
getInitParameterNames
Description copied from interface:FilterConfigReturns the names of the filter's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the filter has no initialization parameters.- Specified by:
getInitParameterNamesin interfaceFilterConfig- Returns:
- an
EnumerationofStringobjects containing the names of the filter's initialization parameters
-