|
From: Bill B. <bb...@re...> - 2008-08-12 22:33:45
|
Ok, I've committed the 1st pass at a 0.10 spec upgrade. All unit tests
are passing. Here are some highlights:
* Path.encoded(), QueryParam.encoded() etc... don't exist anymore. Spec
specifies to encode strings by default and will no encode an %hex strings.
* Path.limited() is gone
* path parameter expressions now have the optional ability to define a
regular expression:
{foo: some regular expression}
{foo} results in a regular expression of ([^/]+)
This piece alone created a huge rewrite of pattern matching. Before I
was optimized on a per segment basis. Now that path parameter
expressions can span multiple segments I had to rewrite a lot.
* Some UriInfo methods have changed in behavior and signature
Hope I didn't break anybody's code too much :)
Bill
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|