Interface IInterceptorConfig
public interface IInterceptorConfig
Configuration of the Interceptor passed during the interceptor
initialization
IServerServicesInterceptor.init(IInterceptorConfig, IServerServicesInterceptorHelper, IServerInterceptorLogger)
-
Method Summary
Modifier and TypeMethodDescriptionint
Get chaining order of the interceptor.Get description of the interceptorGet display name of the interceptorGet interceptor classGet name of the interceptorGet custom properties of the interceptor.String[]
Get URL pattern configuration of the interceptor.
-
Method Details
-
getInterceptorName
Get name of the interceptor -
getDisplayName
Get display name of the interceptor -
getDescription
Get description of the interceptor -
getInterceptorClass
Get interceptor class -
getUrlPatterns
String[] getUrlPatterns()Get URL pattern configuration of the interceptor. Requests matching the URL pattern will be intercepted by this interceptor- Returns:
- Array of URL pattern
-
getProperties
Get custom properties of the interceptor. These properties can be changed through the Admin API and passed to the interceptor init method- Returns:
- Map of custom interceptor properties
-
getChainingOrder
int getChainingOrder()Get chaining order of the interceptor. Chaining order controls the order of execution when there are more interceptors matching a given URL. This order can be updated using Admin API- Returns:
- Configured chaining order of the interceptor
-