Package ortus.boxlang.runtime.events
Interface IInterceptorLambda
- All Superinterfaces:
IInterceptor
- All Known Implementing Classes:
IInterceptorLambda
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface is used to define a Java interceptor.
An interceptor is a class that can be used to intercept events in BoxLang and discovered by Module Services.
-
Method Summary
Methods inherited from interface ortus.boxlang.runtime.events.IInterceptor
configure
-
Method Details
-
intercept
This method is called by the BoxLang runtime to intercept an event- Parameters:
data- The data to intercept- Returns:
- True, if you want to stop the chain. False or null if you want to continue the chain.
-
configure
This method is called by the BoxLang runtime to configure the interceptor with a Struct of properties- Specified by:
configurein interfaceIInterceptor- Parameters:
properties- The properties to configure the interceptor with (if any)
-