Retry

enum class Retry : Enum<Retry>

What a retry of a request answered with an error may do, as the error catalog declares it for the error's code and every problem carries it (retry, with Retry-After when a retry may get past it). On the wire, lower-kebab: none, same-request, new-request.

Entries

Link copied to clipboard

A retry fails alike: the request, or the state it meets, must change first.

Link copied to clipboard

Send it again with the same request id (Wow-Request-Id): a command that did commit is then answered as the duplicate it is, so a retry never commits it twice.

Link copied to clipboard

Send it again as it is, a new request: nothing was done that a retry could repeat.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): Retry

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.