Enum UriRelativity

java.lang.Object
java.lang.Enum<UriRelativity>
org.apache.juneau.UriRelativity
All Implemented Interfaces:
Serializable, Comparable<UriRelativity>, java.lang.constant.Constable

public enum UriRelativity extends Enum<UriRelativity>
Identifies what relative URIs are relative to.
See Also:
  • Enum Constant Details

    • RESOURCE

      public static final UriRelativity RESOURCE
      Relative URIs should be considered relative to the servlet URI.
    • PATH_INFO

      public static final UriRelativity PATH_INFO
      Relative URIs should be considered relative to the request URI.
  • Method Details

    • values

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

      public static UriRelativity 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