users@jersey.java.net

Re: [Jersey] State Client / HATEOAS proposal

From: gerard davison <gerard.davison_at_oracle.com>
Date: Tue, 13 Oct 2009 16:04:30 +0100

>>
>> 1. A instance of the "Client" in order to be able to create these
>> links for example the one you might use to inject WebResource
>> instances. (Obviously I would need to do something clever for links
>> in the same server as as not to require a network access)
>> 2. The current base URL for the current request.
>> 3. A helper code that can be used to extract parameters from a URI,
>> code that does the opposite of URIBuilder.build(...) I guess
>>
>
> For the latter see:
>
>
> https://jersey.dev.java.net/nonav/apidocs/1.1.2-ea/jersey/com/sun/jersey/api/uri/UriTemplate.html
>
>

Lovely.

>
>> If you have any thoughts on any short cuts on any of these I would be
>> interested to hear them.
>>
>
> No immediate things pop out for the first two. Currently i classify
> myself as time bankrupt. I need some solid think time around all the
> hypermedia stuff and that is not realistically going to happen until
> EE 6 is out of the way. Sorry i cannot be of much help at the moment :-(

No problem, I just finished with a release so I know how it feels with
very recent experience.

Gerard

>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>

-- 
Gerard Davison | Senior Principal Software Engineer | +44 118 924 5095
Oracle JDeveloper Web Service Tooling Development
Oracle Corporation UK Ltd is a company incorporated in England & Wales.
Company Reg. No. 1782505.
Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA.
Blog http://kingsfleet.blogspot.com