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() | Discover all binding keys for global interceptors (tagged by ContextTags.GLOBAL_INTERCEPTOR) | |
loadInterceptors() | 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 |