Interface WebUtil.ParameterFilter

  • Enclosing class:
    WebUtil

    public static interface WebUtil.ParameterFilter
    Query string parameters filter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String paramName, java.lang.String paramValue)
      Returns true if specified pair of parameter name and value accepted by the filter and false otherwise.
    • Method Detail

      • accept

        boolean accept​(@NotNull
                       java.lang.String paramName,
                       @NotNull
                       java.lang.String paramValue)
        Returns true if specified pair of parameter name and value accepted by the filter and false otherwise. If more than one value was specified for a parameter the method will be invoked for all values of the parameter in order of their appearance in the request.
        Parameters:
        paramName - parameter name
        paramValue - parameter value
        Returns:
        true if parameter should be accepted and false otherwise