dev@jsr311.java.net

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

From: Jerome Louvel <jerome.louvel_at_noelios.com>
Date: Tue, 10 Apr 2007 13:56:50 +0200

> > I would suggest the following approach:
> >
> > public void setTags(@Context("header.Slug") List<String> tags){
> > ...
> > }
>
> You lost me here. "Slug" is not of type list...

Sorry, I wrongly assumed that "Slug" was a repeating header. Let's consider
this solution for a truly repeating header instead.

RFC2047:
> It adds the ability to represent non-ISO8859 characters in headers.

OK. Is it compatible with the HTTP 1.1 specification of headers?

Best regards,
Jerome