Package com.yahoo.jdisc.http.filter
Interface FilterConfig
-
public interface FilterConfig
Legacy filter config. Prefer to use a regular stringly typed config class for new filters.- Author:
- tejalk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getBooleanInitParameter(java.lang.String name, boolean defaultValue)
Returns the boolean value of the init parameter.java.lang.String
getFilterClass()
Returns the filter-class of this filterjava.lang.String
getFilterName()
Returns the filter-name of this filterjava.lang.String
getInitParameter(java.lang.String name)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.java.util.Collection<java.lang.String>
getInitParameterNames()
Returns the names of the filter's initialization parameters as an Collection of String objects, or an empty Collection if the filter has no initialization parameters.
-
-
-
Method Detail
-
getFilterName
java.lang.String getFilterName()
Returns the filter-name of this filter
-
getFilterClass
java.lang.String getFilterClass()
Returns the filter-class of this filter
-
getInitParameter
java.lang.String getInitParameter(java.lang.String name)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.- Parameters:
name
- a String specifying the name of the initialization parameter- Returns:
- a String containing the value of the initialization parameter
-
getBooleanInitParameter
boolean getBooleanInitParameter(java.lang.String name, boolean defaultValue)
Returns the boolean value of the init parameter. If not present returns default value- Returns:
- boolean value of init parameter
-
getInitParameterNames
java.util.Collection<java.lang.String> getInitParameterNames()
Returns the names of the filter's initialization parameters as an Collection of String objects, or an empty Collection if the filter has no initialization parameters.
-
-