Enum Class Http

java.lang.Object
java.lang.Enum<Http>
io.mangoo.enums.Http
All Implemented Interfaces:
Serializable, Comparable<Http>, Constable

public enum Http extends Enum<Http>
Author:
svenkubiak
  • Enum Constant Details

    • DELETE

      public static final Http DELETE
    • GET

      public static final Http GET
    • OPTIONS

      public static final Http OPTIONS
    • PATCH

      public static final Http PATCH
    • POST

      public static final Http POST
    • PUT

      public static final Http PUT
  • Method Details

    • values

      public static Http[] 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 Http 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
    • toHttpString

      public io.undertow.util.HttpString toHttpString()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Http>