Annotation Interface Interceptor
The
Interceptor annotation is used to mark implementations of the
IServerServicesInterceptor interface. It provides metadata about the interceptor,
such as its name, display name, description, URL patterns it applies to, and configurable properties.
This annotation should be applied at the type level to register an interceptor with the framework.
Elements:
name- The unique name of the interceptor.displayName- A human-readable display name for the interceptor.description- A brief description of the interceptor's purpose.urlPatterns- The URL patterns to which the interceptor applies.properties- The configurable properties for the interceptor.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintConfigurable chaining order for the interceptor
-
Element Details
-
name
String nameName of the interceptor -
displayName
String displayNameDisplay name of the interceptor -
description
String descriptionDescription of the interceptor -
urlPatterns
String[] urlPatternsURL patterns to which the interceptor applies -
properties
String[] propertiesConfigurable properties for the interceptor
-
-
-
chainingOrder
int chainingOrderConfigurable chaining order for the interceptor- Default:
- 1
-