Enum Class UriHost.Kind

java.lang.Object
java.lang.Enum<UriHost.Kind>
io.helidon.common.uri.UriHost.Kind
All Implemented Interfaces:
Serializable, Comparable<UriHost.Kind>, Constable
Enclosing class:
UriHost

public static enum UriHost.Kind extends Enum<UriHost.Kind>
Host kind.
  • Enum Constant Details

    • DNS

      public static final UriHost.Kind DNS
      DNS name.
    • IPV4

      public static final UriHost.Kind IPV4
      IPv4 literal.
    • IPV6

      public static final UriHost.Kind IPV6
      IPv6 literal.
    • REGISTERED_NAME

      public static final UriHost.Kind REGISTERED_NAME
      URI registered name that is not a DNS name or IP literal.
  • Method Details

    • values

      public static UriHost.Kind[] 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 UriHost.Kind 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