public enum RouterOption extends Enum<RouterOption>
case sensitive
.
/
(slashes).
Enum Constant and Description |
---|
IGNORE_CASE
Indicates whenever routing algorithm does case-sensitive matching on incoming request path.
|
IGNORE_TRAILING_SLASH
Indicates whenever a trailing slash is ignored on incoming request path.
|
NORMALIZE_SLASH
Normalize incoming request path by removing multiple slash sequences.
|
RESET_HEADERS_ON_ERROR
Indicates whenever response headers are clear/reset in case of exception.
|
Modifier and Type | Method and Description |
---|---|
static RouterOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterOption IGNORE_CASE
case sensitive
.public static final RouterOption IGNORE_TRAILING_SLASH
public static final RouterOption NORMALIZE_SLASH
public static final RouterOption RESET_HEADERS_ON_ERROR
public static RouterOption[] values()
for (RouterOption c : RouterOption.values()) System.out.println(c);
public static RouterOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.