360i/sonno — Issue #8: Implement UriBuilder/UriInfo Classes
Author: davehauenstein
Created: 2011-11-04 18:25:40+00:00
State: open

The UriInfo is fairly complete and simple, however, the UriBuilder class is still bare.

Probably the most important feature of the UriBuilder class is to be able to generate URIs based on Resource classes. See, http://jsr311.java.net/nonav/releases/1.0/javax/ws/rs/core/UriBuilder.html#fromResource%28java.lang.Class%29.

Some major considerations for implementation:

1. Move from the Sonno\Http namespace to the Sonno namespace.
2. Generate URIs based on a passed in Request class.
3. Tighter Integration with negotiating which route to choose during routing process.
4. The Context annotation should support injecting a UriInfo object.