Search
Preparing search index...
The search index is not available
@nestjs/common
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
InterceptorsContextCreator
Class InterceptorsContextCreator
Hierarchy
ContextCreator
InterceptorsContextCreator
Index
Constructors
constructor
Properties
config
container
module
Context
Methods
create
create
Concrete
Context
create
Context
get
Global
Metadata
get
Instance
ByMetatype
get
Interceptor
Instance
reflect
Class
Metadata
reflect
Method
Metadata
Constructors
constructor
new
Interceptors
Context
Creator
(
container
:
NestContainer
, config
?:
ConfigurationProvider
)
:
InterceptorsContextCreator
Parameters
container:
NestContainer
Optional
config:
ConfigurationProvider
Returns
InterceptorsContextCreator
Properties
Private
Optional
config
config
:
ConfigurationProvider
Private
container
container
:
NestContainer
Private
module
Context
module
Context
:
string
Methods
create
create
(
instance
:
Controller
, callback
:
function
, module
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
NestInterceptor
[]
Parameters
instance:
Controller
callback:
function
(
...
args
:
any
[]
)
:
any
Parameters
Rest
...
args:
any
[]
Returns
any
module:
string
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
NestInterceptor
[]
create
Concrete
Context
create
Concrete
Context<T, R>
(
metadata
:
T
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
any
[]
R
:
any
[]
Parameters
metadata:
T
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
R
create
Context
create
Context<T, R>
(
instance
:
Controller
, callback
:
function
, metadataKey
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
any
[]
R
:
any
[]
Parameters
instance:
Controller
callback:
function
(
...
args
:
any
[]
)
:
any
Parameters
Rest
...
args:
any
[]
Returns
any
metadataKey:
string
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
R
get
Global
Metadata
get
Global
Metadata<T>
(
)
:
T
Type parameters
T
:
any
[]
Returns
T
get
Instance
ByMetatype
get
Instance
ByMetatype<T>
(
metatype
:
T
)
:
InstanceWrapper
|
undefined
Type parameters
T
:
Record
<
string
,
any
>
Parameters
metatype:
T
Returns
InstanceWrapper
|
undefined
get
Interceptor
Instance
get
Interceptor
Instance
(
interceptor
:
Function
|
NestInterceptor
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
NestInterceptor
|
null
Parameters
interceptor:
Function
|
NestInterceptor
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
NestInterceptor
|
null
reflect
Class
Metadata
reflect
Class
Metadata<T>
(
instance
:
Controller
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
instance:
Controller
metadataKey:
string
Returns
T
reflect
Method
Metadata
reflect
Method
Metadata<T>
(
callback
:
function
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
callback:
function
(
...
args
:
any
[]
)
:
any
Parameters
Rest
...
args:
any
[]
Returns
any
metadataKey:
string
Returns
T
Globals
Interceptors
Context
Creator
constructor
config
container
module
Context
create
create
Concrete
Context
create
Context
get
Global
Metadata
get
Instance
ByMetatype
get
Interceptor
Instance
reflect
Class
Metadata
reflect
Method
Metadata
Generated using
TypeDoc