Class ParameterFilter

  • All Implemented Interfaces:
    Serializable

    public class ParameterFilter
    extends Object
    implements Serializable
    Defines a filter identifying which parameters are not to be included within url parameter handling. Therefore, it filters parameter prefixed with "javax.faces", depending on excludeFacesParameter and additionally a given list of parameter names.

    Author:
    Oliver Wolff
    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • isExcluded

        public boolean isExcluded​(String value)
        Parameters:
        value - as key of view parameter. Must not be null
        Returns:
        true if value belongs to excluded values
      • getExcludes

        @NonNull
        public @NonNull List<String> getExcludes()
        The list of string to be excluded from the parameter-list. Because the test utilizes toLowerCase() the members of the list must all be lowercase. Otherwise, they are not considered.