OLD | NEW |
1 library get.handler; | 1 library get.handler; |
2 | 2 |
3 import 'dart:io'; | 3 import 'dart:io'; |
4 | 4 |
5 import 'package:analyzer/src/generated/engine.dart'; | 5 import 'package:analyzer/src/generated/engine.dart'; |
6 | 6 |
7 import 'analysis_server.dart'; | 7 import 'package:analysis_server/src/analysis_server.dart'; |
8 | 8 |
9 /** | 9 /** |
10 * Instances of the class [GetHandler] handle GET requests | 10 * Instances of the class [GetHandler] handle GET requests |
11 */ | 11 */ |
12 class GetHandler { | 12 class GetHandler { |
13 /** | 13 /** |
14 * The path used to request the status of the analysis server as a whole. | 14 * The path used to request the status of the analysis server as a whole. |
15 */ | 15 */ |
16 static const String STATUS_PATH = '/status'; | 16 static const String STATUS_PATH = '/status'; |
17 | 17 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 response.write(value); | 147 response.write(value); |
148 response.write('</td>'); | 148 response.write('</td>'); |
149 }); | 149 }); |
150 if (header) { | 150 if (header) { |
151 response.write('</th>'); | 151 response.write('</th>'); |
152 } else { | 152 } else { |
153 response.write('</tr>'); | 153 response.write('</tr>'); |
154 } | 154 } |
155 } | 155 } |
156 } | 156 } |
OLD | NEW |