users@jersey.java.net

Re: [Jersey] Initial crack at HeaderValue class (and corresponding unit test)

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 07 Nov 2008 17:14:01 +0100

Hi Craig,

I have re-factored the header stuff in jersey-core to be part of the
API and added the following:

   com.sun.jersey.core.header.ContentDisposition
   com.sun.jersey.core.header.FormDataContentDisposition

that can used by jersey-multipart for processing content disposition
headers (currently for reading, need to me modified for writing). I
need to add some tests. Perhaps they make sense as part of multipart
module? I did not create any general header type because i am not sure
if that is appropriate or not. Feel free to modify/move/add as
appropriate.

Paul.

On Nov 6, 2008, at 7:27 AM, Craig McClanahan wrote:

> I've checked in a first attempt at a
> com.sun.jersey.api.multipart.HeaderValue class, designed to support
> easier ways to build up and parse HTTP header values that might also
> include semicolon-delimited parameter name=value settings. I
> haven't modified any other code in jersey-multipart to use this code
> yet, so everyone can have a chance to review and comment before we
> make any backwards-incompatible changes in the BodyPart API.
>
> Paul, if you find this class and test useful, it might make sense to
> put them in jersey-core instead.
>
> Craig
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>