Class RouterExecutionContext
Constructors
constructor
- new RouterExecutionContext(paramsFactory: any, pipesContextCreator: any, pipesConsumer: any, guardsContextCreator: any, guardsConsumer: any, interceptorsContextCreator: any, interceptorsConsumer: any, applicationRef: any): RouterExecutionContext
-
Parameters
-
paramsFactory: any
-
pipesContextCreator: any
-
pipesConsumer: any
-
guardsContextCreator: any
-
guardsConsumer: any
-
interceptorsContextCreator: any
-
interceptorsConsumer: any
-
applicationRef: any
Methods
create
- create(instance: any, callback: any, methodName: any, moduleKey: any, requestMethod: any, contextId?: ContextId, inquirerId: any): (Anonymous function)
-
Parameters
-
instance: any
-
callback: any
-
methodName: any
-
moduleKey: any
-
requestMethod: any
-
Default value contextId: ContextId = constants_3.STATIC_CONTEXT
-
inquirerId: any
Returns (Anonymous function)
createGuardsFn
- createGuardsFn(guards: any, instance: any, callback: any, contextType: any): canActivateFn
-
Parameters
-
guards: any
-
instance: any
-
callback: any
-
contextType: any
Returns canActivateFn
createHandleResponseFn
- createHandleResponseFn(callback: any, isResponseHandled: any, redirectResponse: any, httpStatusCode: any): (Anonymous function)
-
Parameters
-
callback: any
-
isResponseHandled: any
-
redirectResponse: any
-
httpStatusCode: any
Returns (Anonymous function)
createPipesFn
- createPipesFn(pipes: any, paramsOptions: any): pipesFn
-
Parameters
-
pipes: any
-
paramsOptions: any
Returns pipesFn
exchangeKeysForValues
- exchangeKeysForValues(keys: any, metadata: any, moduleContext: any, contextId?: ContextId, inquirerId: any, contextFactory: any): any
-
Parameters
-
keys: any
-
metadata: any
-
moduleContext: any
-
Default value contextId: ContextId = constants_3.STATIC_CONTEXT
-
inquirerId: any
-
contextFactory: any
Returns any
getMetadata
- getMetadata(instance: any, callback: any, methodName: any, moduleKey: any, requestMethod: any, contextType: any): HandlerMetadata | { argsLength: number; fnHandleResponse: (Anonymous function); getParamsMetadata: getParamsMetadata; hasCustomHeaders: boolean; httpStatusCode: any; paramtypes: any[]; responseHeaders: any }
-
Parameters
-
instance: any
-
callback: any
-
methodName: any
-
moduleKey: any
-
requestMethod: any
-
contextType: any
Returns HandlerMetadata | { argsLength: number; fnHandleResponse: (Anonymous function); getParamsMetadata: getParamsMetadata; hasCustomHeaders: boolean; httpStatusCode: any; paramtypes: any[]; responseHeaders: any }
getParamValue
- getParamValue(value: any, __namedParameters: { data: any; metatype: any; type: any }, pipes: any): Promise<any>
-
Parameters
-
value: any
-
__namedParameters: { data: any; metatype: any; type: any }
-
data: any
-
metatype: any
-
type: any
-
pipes: any
Returns Promise<any>
isPipeable
- isPipeable(type: any): boolean
-
Parameters
Returns boolean
isResponseHandled
- isResponseHandled(instance: any, methodName: any, paramsMetadata: any): boolean
-
Parameters
-
instance: any
-
methodName: any
-
paramsMetadata: any
Returns boolean
reflectHttpStatusCode
- reflectHttpStatusCode(callback: any): any
-
Parameters
Returns any
reflectRedirect
- reflectRedirect(callback: any): any
-
Parameters
Returns any
reflectRenderTemplate
- reflectRenderTemplate(callback: any): any
-
Parameters
Returns any
reflectResponseHeaders
- reflectResponseHeaders(callback: any): any
-
Parameters
Returns any
reflectSse
- reflectSse(callback: any): any
-
Parameters
Returns any