Package kalix.javasdk
Enum StatusCode.Success
- All Implemented Interfaces:
Serializable
,Comparable<StatusCode.Success>
,StatusCode
- Enclosing interface:
StatusCode
-
Nested Class Summary
Nested classes/interfaces inherited from interface kalix.javasdk.StatusCode
StatusCode.ErrorCode, StatusCode.Redirect, StatusCode.Success
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusCode.Success
from
(int statusCode) int
value()
static StatusCode.Success
Returns the enum constant of this type with the specified name.static StatusCode.Success[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
-
CREATED
-
ACCEPTED
-
NON_AUTHORITATIVE_INFORMATION
-
NO_CONTENT
-
RESET_CONTENT
-
PARTIAL_CONTENT
-
MULTI_STATUS
-
ALREADY_REPORTED
-
IM_USED
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
value
public int value()- Specified by:
value
in interfaceStatusCode
-
from
-