()
| 108 | } |
| 109 | |
| 110 | protected setupBindings() { |
| 111 | super.setupBindings(); |
| 112 | this.bind(RestBindings.Http.REQUEST).to(this.request).lock(); |
| 113 | this.bind(RestBindings.Http.RESPONSE).to(this.response).lock(); |
| 114 | this.bind(RestBindings.Http.CONTEXT).to(this).lock(); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | function parseHostAndPort(host: string | undefined) { |