Enum PathMatchType.MatchType

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<PathMatchType.MatchType>
    Enclosing class:
    PathMatchType

    public static enum PathMatchType.MatchType
    extends Enum<PathMatchType.MatchType>
    implements BmcEnum
    Specifies how the load balancing service compares a pathRoute object’s path string against the incoming URI.

    **EXACT_MATCH** - Looks for a path string that exactly matches the incoming URI path.

    **FORCE_LONGEST_PREFIX_MATCH** - Looks for the path string with the best, longest match of the beginning portion of the incoming URI path.

    **PREFIX_MATCH** - Looks for a path string that matches the beginning portion of the incoming URI path.

    **SUFFIX_MATCH** - Looks for a path string that matches the ending portion of the incoming URI path.

    For a full description of how the system handles matchType in a path route set containing multiple rules, see [Managing Request Routing](https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm).

    • Method Detail

      • values

        public static PathMatchType.MatchType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PathMatchType.MatchType c : PathMatchType.MatchType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PathMatchType.MatchType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null