Page Contents
Home > @loopback/context > InterceptedInvocationContext
InterceptedInvocationContext class
A specialized InvocationContext for interceptors
Signature:
export declare class InterceptedInvocationContext extends InvocationContext
Extends: InvocationContext
Methods
| Method | Modifiers | Description |
|---|---|---|
| [getGlobalInterceptorBindingKeys()](/doc/en/lb4/apidocs.context.interceptedinvocationcontext.getglobalinterceptorbindingkeys.html) | Discover all binding keys for global interceptors (tagged by ContextTags.GLOBAL\_INTERCEPTOR) | |
| [loadInterceptors()](/doc/en/lb4/apidocs.context.interceptedinvocationcontext.loadinterceptors.html) | Load all interceptors for the given invocation context. It adds interceptors from possibly three sources: 1. method level `@intercept` 2. class level `@intercept` 3. global interceptors discovered in the context |