| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
except
Optionally specify the actions that should not be intercepted by this after interceptor
|
String[] |
only
Optionally specify the only actions that should be intercepted by this after interceptor
|
int |
priority
Optionally specify
priority of the after interceptor. |
public abstract int priority
Optionally specify priority of the after interceptor. it’s up to the framework to decide how to interpret the priority in terms of int value
public abstract String[] only
Optionally specify the only actions that should be intercepted by this after interceptor
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 after interceptor
except()Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.