| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
except
Optionally specify the actions that should not
be intercepted by this before interceptor
|
String[] |
only
Optionally specify the only actions that should
be intercepted by this before interceptor
|
int |
priority
Optionally specify
priority of the before interceptor. |
public abstract int priority
priority of the before interceptor.
it's up to the framework to decide how to interpret the
priority in terms of int valuepublic abstract String[] only
Note if both only() and except()
is specified, and an action method name appears
in both only() and except(), then
it will NOT be intercepted by this before interceptor
except()Copyright © 2017. All Rights Reserved.