public enum HandlerResponse extends Enum<HandlerResponse>
Enum Constant and Description |
---|
CONTINUE
Value indicating that a notification should be passed to
the next handler in the handler chain
|
SUPPRESS
Value indicating that processing for this notification
stop traversing the handler chain.
|
Modifier and Type | Method and Description |
---|---|
static HandlerResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlerResponse CONTINUE
public static final HandlerResponse SUPPRESS
public static HandlerResponse[] values()
for (HandlerResponse c : HandlerResponse.values()) System.out.println(c);
public static HandlerResponse 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 null