UNPKG

nralcm

Version:

This is a framework based on NodeJs to manage rest api request lifecycle

12 lines (11 loc) 493 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class TestFilter { beforeActionExceduted(httpContext, routeDescriptor) { routeDescriptor.route = "TestFilter-beforeActionExceduted " + httpContext.controllerObject.constructor.name; } aftereActionExceduted(httpContext, routeDescriptor) { routeDescriptor.route = "TestFilter-aftereActionExceduted " + httpContext.controllerObject.constructor.name; } } exports.TestFilter = TestFilter;