Package jakarta.portlet.filter
Interface FilterConfig
-
public interface FilterConfigA filter configuration object used by a portlet container to pass information to a filter during initialization.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFilterName()Returns the filter-name of this filter as defined in the portlet deployment descriptor.StringgetInitParameter(String name)Returns a String containing the value of the named initialization parameter, ornullif the parameter does not exist.Enumeration<String>getInitParameterNames()Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.PortletContextgetPortletContext()Returns a reference to thePortletContextin which the caller is executing.
-
-
-
Method Detail
-
getFilterName
String getFilterName()
Returns the filter-name of this filter as defined in the portlet deployment descriptor.- Returns:
- the filter name
-
getPortletContext
PortletContext getPortletContext()
Returns a reference to thePortletContextin which the caller is executing.- Returns:
- the portlet context
-
getInitParameter
String getInitParameter(String name)
Returns a String containing the value of the named initialization parameter, ornullif the parameter does not exist.Initialization parameters are defined in the portlet deployment descriptor.
- Parameters:
name- the name of the initialization parameter to return- Returns:
- initialization parameter, or
nullif the parameter does not exist.
-
getInitParameterNames
Enumeration<String> getInitParameterNames()
Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.Initialization parameters are defined in the portlet deployment descriptor.
- Returns:
- the names of the filter's initialization parameters, or an empty Enumeration if the filter has no initialization parameters.
-
-