Package org.kohsuke.stapler.interceptor
Annotation Interface InterceptorAnnotation
Marks the annotation as an interceptor annotation,
which executes before/after the method invocation of domain objects happen
as a part of the request processing.
This mechanism is useful for performing declarative processing/check on domain objects, such as checking HTTP headers, performing the access control, etc.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends Interceptor>
Actual interceptor logic. -
Optional Element Summary
-
Element Details
-
value
Class<? extends Interceptor> valueActual interceptor logic. Must have a default constructor.
-
-
-
stage
Stage stageThe point of invocation of this interceptor.- Default:
- PREINVOKE
-