Enum Class MethodType

java.lang.Object
java.lang.Enum<MethodType>
org.iplass.mtp.webapi.definition.MethodType
All Implemented Interfaces:
Serializable, Comparable<MethodType>, Constable

public enum MethodType extends Enum<MethodType>
WebAPI(REST)時のMethod種別を表すenum。
  • Enum Constant Details

    • GET

      public static final MethodType GET
      Http GET メソッド
    • POST

      public static final MethodType POST
      Http POST メソッド
    • PUT

      public static final MethodType PUT
      Http PUT メソッド
    • DELETE

      public static final MethodType DELETE
      Http DELETE メソッド
    • PATCH

      public static final MethodType PATCH
      Http PATCH メソッド
  • Field Details

    • METHOD_ALL

      public static MethodType[] METHOD_ALL
      全てのMethod
  • Method Details

    • values

      public static MethodType[] 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 MethodType 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