Class URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatch


  • public final class URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatch
    extends java.lang.Object
    • Method Detail

      • exactMatch

        public java.util.Optional<java.lang.String> exactMatch()
        Returns:
        The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch and regexMatch must be set.
      • name

        public java.lang.String name()
        Returns:
        The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
      • presentMatch

        public java.util.Optional<java.lang.Boolean> presentMatch()
        Returns:
        Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch and regexMatch must be set.
      • regexMatch

        public java.util.Optional<java.lang.String> regexMatch()
        Returns:
        The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For the regular expression grammar, please see en.cppreference.com/w/cpp/regex/ecmascript Only one of presentMatch, exactMatch and regexMatch must be set.