Series enum
Enumeration of HTTP status series.
Retrievable via {@link HttpStatus#series()}.
Values
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
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
-
resolve(
int statusCode) → Series? - Resolve the given status code to an {status-code: HttpStatus.Series}, if possible. @param statusCode the HTTP status code (potentially non-standard) @return the corresponding {status-code: Series}, or {status-code: null} if not found @since 0.0.1.beta
-
valueOf(
int statusCode) → Series - Return the {status-code: Series} enum constant for the supplied status code. @param statusCode the HTTP status code (potentially non-standard) @return the {status-code: Series} enum constant for the supplied status code @throws IllegalArgumentException if this enum has no corresponding constant