Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: pkg/analysis_server/lib/src/get_handler.dart

Issue 214933002: Clean-up and progress on analysis server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
1 library get.handler; 5 library get.handler;
2 6
3 import 'dart:io'; 7 import 'dart:io';
4 8
5 import 'package:analyzer/src/generated/engine.dart'; 9 import 'package:analyzer/src/generated/engine.dart';
6 10
7 import 'package:analysis_server/src/analysis_server.dart'; 11 import 'package:analysis_server/src/analysis_server.dart';
8 12
9 /** 13 /**
10 * Instances of the class [GetHandler] handle GET requests 14 * Instances of the class [GetHandler] handle GET requests.
11 */ 15 */
12 class GetHandler { 16 class GetHandler {
13 /** 17 /**
14 * The path used to request the status of the analysis server as a whole. 18 * The path used to request the status of the analysis server as a whole.
15 */ 19 */
16 static const String STATUS_PATH = '/status'; 20 static const String STATUS_PATH = '/status';
17 21
18 /** 22 /**
19 * The analysis server whose status is to be reported on, or `null` if the 23 * The analysis server whose status is to be reported on, or `null` if the
20 * server has not yet been created. 24 * server has not yet been created.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 response.write(value); 151 response.write(value);
148 response.write('</td>'); 152 response.write('</td>');
149 }); 153 });
150 if (header) { 154 if (header) {
151 response.write('</th>'); 155 response.write('</th>');
152 } else { 156 } else {
153 response.write('</tr>'); 157 response.write('</tr>');
154 } 158 }
155 } 159 }
156 } 160 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/domain_context.dart ('k') | pkg/analysis_server/lib/src/protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698