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

Side by Side Diff: pkg/http_server/lib/src/http_body.dart

Issue 19158002: Fix editor warnings in http_server and mime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | pkg/http_server/lib/src/http_multipart_form_data_impl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of http_server; 5 part of http_server;
6 6
7 7
8 /** 8 /**
9 * [HttpBodyHandler] is a helper class for processing and collecting 9 * [HttpBodyHandler] is a helper class for processing and collecting
10 * HTTP message data in an easy-to-use [HttpBody] object. The content 10 * HTTP message data in an easy-to-use [HttpBody] object. The content
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 217
218 /** 218 /**
219 * A [HttpBodyFileUpload] object wraps a file upload, presenting a way for 219 * A [HttpBodyFileUpload] object wraps a file upload, presenting a way for
220 * extracting filename, contentType and the data of the uploaded file. 220 * extracting filename, contentType and the data of the uploaded file.
221 */ 221 */
222 abstract class HttpBodyFileUpload { 222 abstract class HttpBodyFileUpload {
223 /** 223 /**
224 * The filename of the uploaded file. 224 * The filename of the uploaded file.
225 */ 225 */
226 String filename; 226 String get filename;
227 227
228 /** 228 /**
229 * The [ContentType] of the uploaded file. For 'text/\*' and 229 * The [ContentType] of the uploaded file. For 'text/\*' and
230 * 'application/json' the [data] field will a String. 230 * 'application/json' the [data] field will a String.
231 */ 231 */
232 ContentType contentType; 232 ContentType get contentType;
233 233
234 /** 234 /**
235 * The content of the file. Either a [String] or a [List<int>]. 235 * The content of the file. Either a [String] or a [List<int>].
236 */ 236 */
237 dynamic content; 237 dynamic get content;
238 } 238 }
OLDNEW
« no previous file with comments | « no previous file | pkg/http_server/lib/src/http_multipart_form_data_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698