Sergey,
Thanks for the reviewing. As for UriBuilder, I don't think we extended this class yet in 2.0. Given that you can write,
link.getUri()
it may best not to update it (due to backward compatibility, etc.) until we can make a stronger case for it. Makes sense?
-- Santiago
On Nov 3, 2011, at 8:48 AM, Sergey Beryozkin wrote:
> On 01/11/11 17:51, Santiago Pericas-Geertsen wrote:
>> Hello Expert,
>>
>> The following wiki page [1] contains some ideas that build on the
>> existing hypermedia support, making it a lot more useful. Please provide
>> feedback.
>>
>> The server part is based around a new method
>> Link.fromResourceMethod(Class<?>, String). The client part simply
>> provides some minor extensions to take advantage of the extended
>> meta-data. The example uses relative links for convenience; if possible,
>> let's delay the discussion on relative links for a separate e-mail thread.
>>
>> -- Santiago
>>
>> [1] http://java.net/projects/jax-rs-spec/pages/HypermediaExample
>
> It does look quite perfect to me, what is there now at the moment,
>
> Link & LinkBuilder look good too,
>
> I'd consider adding
> URIBuilder.fromLink(Link)
>
> for completeness
>
>
> Cheers, Sergey
>
>
> --
> Sergey Beryozkin
>
> http://sberyozkin.blogspot.com
> Talend - http://www.talend.com