dev@glassfish.java.net

Re: name/value class?

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Wed, 28 Apr 2010 17:12:47 -0700

Can you use an HttpURLConnection? That might be overkill if all you want
is the header management. And there is the problem of where to get one
if you don't actually have a URL.

Tom

On 4/28/2010 4:32 PM, Bill Shannon wrote:
> I need to keep a list of (HTTP) headers, essentially a list of name/value
> string pairs. Anyone want to suggest a class in the core/common
> GlassFish
> packages that I could use?
>
> javax.mail.Header would be perfect (:-)), but I don't want to
> introduce that
> dependency.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Oracle <http://www.oracle.com>
Tom Mueller | Principal Member of Technical Staff
Phone: +1 4029169943 | Fax: +1 4029169943 | Mobile: +1 4027206872
21915 Hillandale Dr | Elkhorn, NE 68022
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment