On Feb 27, 2008, at 8:50 PM, Bill Burke wrote:
> Why is it named Response.getMetaData() and not
> Response.getHeaders()? Is there some other type of metadata beyond a
> header?
>
IIRC, folks preferred the more abstract name.
> Should getMetaData() even be exposed as a method on Response?
>
Yes. A developer can implement a concrete subclass of Response if they
wish, getMetadata is part of the contract that allows an
implementation to get the necessary information from any subclass, not
just the one it provides.
Marc.
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.