Enum Rest.RestMethod

java.lang.Object
java.lang.Enum<Rest.RestMethod>
org.qubership.atp.mia.model.impl.executable.Rest.RestMethod
All Implemented Interfaces:
Serializable, Comparable<Rest.RestMethod>, java.lang.constant.Constable
Enclosing class:
Rest

public static enum Rest.RestMethod extends Enum<Rest.RestMethod>
  • Enum Constant Details

  • Method Details

    • values

      public static Rest.RestMethod[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Rest.RestMethod valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getHttpRequest

      public org.apache.http.client.methods.HttpRequestBase getHttpRequest(String url)
      return rest request by rest method.