Package kalix.javasdk
Enum StatusCode.Redirect
- All Implemented Interfaces:
Serializable
,Comparable<StatusCode.Redirect>
,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 TypeMethodDescriptionint
value()
static StatusCode.Redirect
Returns the enum constant of this type with the specified name.static StatusCode.Redirect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MULTIPLE_CHOICES
-
MOVED_PERMANENTLY
-
FOUND
-
SEE_OTHER
-
NOT_MODIFIED
-
USE_PROXY
-
TEMPORARY_REDIRECT
-
PERMANENT_REDIRECT
-
-
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
-