Class PathMatchCondition.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • attributeValue

        public PathMatchCondition.Builder attributeValue​(String attributeValue)
        The path string that the redirection rule applies to.

        Example: /example

        Parameters:
        attributeValue - the value to set
        Returns:
        this builder
      • operator

        public PathMatchCondition.Builder operator​(PathMatchCondition.Operator operator)
        A string that specifies how to compare the PathMatchCondition object’s attributeValue string to the incoming URI.

        **EXACT_MATCH** - The incoming URI path must exactly and completely match the attributeValue string.

        **FORCE_LONGEST_PREFIX_MATCH** - The system looks for the attributeValue string with the best, longest match of the beginning portion of the incoming URI path.

        **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the attributeValue string.

        **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the attributeValue string.

        Parameters:
        operator - the value to set
        Returns:
        this builder