(
instance: Controller,
callback: RouterProxyCallback,
methodName: string,
moduleRef: string,
requestMethod: RequestMethod,
contextId = STATIC_CONTEXT,
inquirerId?: string,
)
| 348 | } |
| 349 | |
| 350 | private createCallbackProxy( |
| 351 | instance: Controller, |
| 352 | callback: RouterProxyCallback, |
| 353 | methodName: string, |
| 354 | moduleRef: string, |
| 355 | requestMethod: RequestMethod, |
| 356 | contextId = STATIC_CONTEXT, |
| 357 | inquirerId?: string, |
| 358 | ) { |
| 359 | const executionContext = this.executionContextCreator.create( |
| 360 | instance, |
| 361 | callback, |
| 362 | methodName, |
| 363 | moduleRef, |
| 364 | requestMethod, |
| 365 | contextId, |
| 366 | inquirerId, |
| 367 | ); |
| 368 | const exceptionFilter = this.exceptionsFilter.create( |
| 369 | instance, |
| 370 | callback, |
| 371 | moduleRef, |
| 372 | contextId, |
| 373 | inquirerId, |
| 374 | ); |
| 375 | return this.routerProxy.createProxy(executionContext, exceptionFilter); |
| 376 | } |
| 377 | |
| 378 | public createRequestScopedHandler( |
| 379 | instanceWrapper: InstanceWrapper, |
no test coverage detected