public enum ServerFilterPhase extends java.lang.Enum<ServerFilterPhase>
ServerFilterPhase.TRACING.before() - 500
is considered an invalid usage of the TRACING
phase because that would place the order at 18251, which is outside of the range of the
phase (18501-19500).Enum Constant and Description |
---|
FIRST
The first phase, invoked before all others.
|
LAST
The last phase, invoked after all other phases.
|
METRICS
Any filters related to collecting metrics.
|
RENDERING
Any filters related to rendering the response body.
|
SECURITY
Any filters related to authentication or authorization.
|
SESSION
Any filters related to creating or reading the HTTP session.
|
TRACING
Any filters related to tracing HTTP calls.
|
Modifier and Type | Method and Description |
---|---|
int |
after() |
int |
before() |
int |
order() |
static ServerFilterPhase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerFilterPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerFilterPhase FIRST
public static final ServerFilterPhase METRICS
public static final ServerFilterPhase TRACING
public static final ServerFilterPhase SESSION
public static final ServerFilterPhase SECURITY
public static final ServerFilterPhase RENDERING
public static final ServerFilterPhase LAST
public static ServerFilterPhase[] values()
for (ServerFilterPhase c : ServerFilterPhase.values()) System.out.println(c);
public static ServerFilterPhase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int order()
public int before()
public int after()