Enum HttpMethods

java.lang.Object
java.lang.Enum<HttpMethods>
software.amazon.awscdk.services.s3.HttpMethods
All Implemented Interfaces:
Serializable, Comparable<HttpMethods>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:36.556Z") @Stability(Stable) public enum HttpMethods extends Enum<HttpMethods>
All http request methods.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The DELETE method deletes the specified resource.
    The GET method requests a representation of the specified resource.
    The HEAD method asks for a response identical to that of a GET request, but without the response body.
    The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
    The PUT method replaces all current representations of the target resource with the request payload.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    static HttpMethods[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • GET

      @Stability(Stable) public static final HttpMethods GET
      The GET method requests a representation of the specified resource.
    • PUT

      @Stability(Stable) public static final HttpMethods PUT
      The PUT method replaces all current representations of the target resource with the request payload.
    • POST

      @Stability(Stable) public static final HttpMethods POST
      The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
    • DELETE

      @Stability(Stable) public static final HttpMethods DELETE
      The DELETE method deletes the specified resource.
  • Method Details

    • values

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