Enum Class URIs.RequestTargetForm

java.lang.Object
java.lang.Enum<URIs.RequestTargetForm>
io.inverno.mod.base.net.URIs.RequestTargetForm
All Implemented Interfaces:
Serializable, Comparable<URIs.RequestTargetForm>, Constable
Enclosing class:
URIs

public static enum URIs.RequestTargetForm extends Enum<URIs.RequestTargetForm>

Defines the forms supported when building a URI from a request-target as defined by RFC 7230 Section 5.3.

Since:
1.3
Author:
Jeremy Kuhn
  • Enum Constant Details

  • Method Details

    • values

      public static URIs.RequestTargetForm[] 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 URIs.RequestTargetForm 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