Files
sdk/runtime/bin
sgjesse@google.com a18d4a2f87 Add HTTP handler registration to the HTTP server
NOTE: This is a breaking change.

The onRequest callback on the HTTP server have been removed in favor
of the ability to register handlers. A handler can be either a
function or an instance of a class which implements a specific
interface. Each handler registration has a regular expression which is
matched against the request path.

There is also a default handler which can be set to handle all
requests which is not matched by any of the registered patterns. If
there is no default handler explicitly set there is a builtin one
which will just return 404 status.

Currently the method is not considered in the matching.

R=ager@google.com, ajohnsen@google.com

BUG=none
TEST=tests/standalone/src/io/HttpServerHandlerTest.dart

Review URL: https://chromiumcodereview.appspot.com//10119005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6683 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 13:03:43 +00:00
..
2012-04-17 11:53:56 +00:00
2012-03-27 08:50:35 +00:00
2012-03-27 08:50:35 +00:00
2012-03-27 08:50:35 +00:00
2012-01-12 19:32:06 +00:00
2012-01-10 16:50:14 +00:00
2012-04-13 08:53:35 +00:00
2012-02-02 13:47:42 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2011-10-05 05:20:07 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 23:29:02 +00:00
2012-04-10 12:18:12 +00:00
2012-04-10 23:29:02 +00:00
2012-03-09 23:12:03 +00:00