Re: Parsing headers, was: Abstract from HTTP <was> Re: Welcome to JSR 311

From: Dhanji R. Prasanna <>
Date: Wed, 11 Apr 2007 00:05:15 +1000

On 4/11/07, Paul Sandoz <> wrote:
> @HeaderParam("Accept") List<MediaType> types
> such that either the type or the runtime via the type knows how to
> process the components of the list.

I dont think I get this--how would a parameterized List of MediaType
indicate to the runtime that index 0 is a component type [foo/bar;ext="a,b"]
and index 1 is [text/plain].
I think Im missing something basic here...