HttpHandler.js 607 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.HttpHandler = void 0;
  4. class HttpHandler {
  5. constructor(context) {
  6. this.context = context !== null && context !== void 0 ? context : null;
  7. }
  8. setContext(context) {
  9. this.context = context;
  10. return this;
  11. }
  12. getContext() {
  13. return this.context;
  14. }
  15. getRoute() {
  16. return this.route;
  17. }
  18. getAction() {
  19. return this.action;
  20. }
  21. getOrder() {
  22. return this.order;
  23. }
  24. }
  25. exports.HttpHandler = HttpHandler;
  26. //# sourceMappingURL=HttpHandler.js.map