1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.RequestContextHost = void 0;
|
4 |
|
5 |
|
6 |
|
7 | class RequestContextHost {
|
8 | constructor(pattern, data, context) {
|
9 | this.pattern = pattern;
|
10 | this.data = data;
|
11 | this.context = context;
|
12 | }
|
13 | static create(pattern, data, context) {
|
14 | const host = new RequestContextHost(pattern, data, context);
|
15 | return host;
|
16 | }
|
17 | getData() {
|
18 | return this.data;
|
19 | }
|
20 | getPattern() {
|
21 | return this.pattern;
|
22 | }
|
23 | getContext() {
|
24 | return this.context;
|
25 | }
|
26 | }
|
27 | exports.RequestContextHost = RequestContextHost;
|