Enum Class Verb

java.lang.Object
java.lang.Enum<Verb>
com.github.scribejava.core.model.Verb
All Implemented Interfaces:
Serializable, Comparable<Verb>, Constable

public enum Verb extends Enum<Verb>
An enumeration containing the most common HTTP Verbs.
  • Enum Constant Details

    • GET

      public static final Verb GET
    • POST

      public static final Verb POST
    • PUT

      public static final Verb PUT
    • DELETE

      public static final Verb DELETE
    • OPTIONS

      public static final Verb OPTIONS
    • TRACE

      public static final Verb TRACE
    • PATCH

      public static final Verb PATCH
  • Method Details

    • values

      public static Verb[] 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 Verb 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
    • isRequiresBody

      public boolean isRequiresBody()
    • isPermitBody

      public boolean isPermitBody()