Enum Class UrlResolution

java.lang.Object
java.lang.Enum<UrlResolution>
org.zalando.riptide.UrlResolution
All Implemented Interfaces:
Serializable, Comparable<UrlResolution>, Constable

@API(status=EXPERIMENTAL) public enum UrlResolution extends Enum<UrlResolution>
  • Enum Constant Details

    • RFC

      public static final UrlResolution RFC
      Resolves a given relative URI by following the rules defined in RFC 3986.
      See Also:
    • APPEND

      public static final UrlResolution APPEND
      Resolves a given relative URI by appending its path to and merging its query parameters with the given base URL.
      See Also:
      • UriComponentsBuilder.pathSegment(String...)
  • Method Details

    • values

      public static UrlResolution[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UrlResolution valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null