AWSHttpMethod enum
Valid HTTP methods for AWS requests.
Constructors
- AWSHttpMethod()
-
const
Values
- get → const AWSHttpMethod
-
HTTP GET
- head → const AWSHttpMethod
-
HTTP HEAD
- post → const AWSHttpMethod
-
HTTP POST
- put → const AWSHttpMethod
-
HTTP PUT
- patch → const AWSHttpMethod
-
HTTP PATCH
- delete → const AWSHttpMethod
-
HTTP DELETE
- connect → const AWSHttpMethod
-
HTTP CONNECT
- options → const AWSHttpMethod
-
HTTP OPTIONS
- trace → const AWSHttpMethod
-
HTTP TRACE
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Returns the uppercased HTTP method, e.g. 'POST'.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String method) → AWSHttpMethod -
Parses the HTTP method from
method
.
Constants
-
values
→ const List<
AWSHttpMethod> - A constant List of the values in this enum, in order of their declaration.