users@jsr311.java.net

Re: Response Metadata

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 11 Aug 2008 13:04:25 -0400

On Aug 7, 2008, at 11:47 AM, Bill Burke wrote:

> I kinda wish getMetaData was called getResponseHeaders()...
>
> I always thought that the rules were:
>
> * If there is a HeaderDelegate use that
> * If no HeaderDelegate use the toString() method
>
Right. I'll clarify this in the javadoc.

Marc.

> Reto Bachmann-Gmür wrote:
>> Hello
>> From the javadoc and the spec it is not clear to me how
>> Response.getMetaData is supposed to work. I assume this is the way
>> to set response-headers fields, but this is just a guess and I
>> could go on guessing on how key and values are transformed into
>> characters allowed in header names and values. But I thought I ask
>> for a pointer first.
>> Cheers,
>> Reto
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.