public static enum InterceptorResponse.InterceptorCommand extends Enum<InterceptorResponse.InterceptorCommand>
Enum Constant and Description |
---|
ABORT
Abort the request, an exception should be attached to this response and thrown by the DiMe code.
|
CONTINUE
Proceed with request.
|
OVERWRITE_RETURN_AND_CONTINUE
Overwrite the return value, but allow the call to be executed regularly.
|
RETURN
Don't further process the call and return a preset value instead.
|
Modifier and Type | Method and Description |
---|---|
static InterceptorResponse.InterceptorCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterceptorResponse.InterceptorCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptorResponse.InterceptorCommand CONTINUE
public static final InterceptorResponse.InterceptorCommand ABORT
public static final InterceptorResponse.InterceptorCommand RETURN
public static final InterceptorResponse.InterceptorCommand OVERWRITE_RETURN_AND_CONTINUE
public static InterceptorResponse.InterceptorCommand[] values()
for (InterceptorResponse.InterceptorCommand c : InterceptorResponse.InterceptorCommand.values()) System.out.println(c);
public static InterceptorResponse.InterceptorCommand 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 © 2010-2014 anotheria.net. All Rights Reserved.