users@jersey.java.net

Re: [Jersey] Re: Hypermedia clarification

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 15 Feb 2010 16:40:28 -0500

On Feb 15, 2010, at 4:26 PM, Roy T. Fielding wrote:
>>
>> I'm hoping you could clear up a point in a discussion we're having on the Jersey users list.
>>
>> When the REST architectural style is mapped to HTTP, do the terms hypermedia and hypertext encompass:
>>
>> (i) HTTP headers and the entity body
>> (ii) Just the entity body
>> (iii) Something else (please explain)
>
> A representation consists of representation data (body decoded)
> and representation metadata (some of the headers).
>
Thanks for clearing that up. Just to be 100% certain that we understand, would you include the Location, Content-Location and (once standardized) Link headers in the representation metadata ?

Thanks again,
Marc.