dev@jsr311.java.net

Re: JSR311: Note on Httpheader.getLanguage() and variants

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 31 Jul 2008 17:16:51 -0400

No I was just reading the javadoc on it.

Marc Hadley wrote:
> On Jul 31, 2008, at 4:56 PM, Bill Burke wrote:
>
>> I saw in 0.9 that getLanguage() now returns a Locale. HTTP 1.1 does
>> not require ISO 639 and 3166 defined country codes and using Locale
>> basically forces us into using these standards. Maybe go back to
>> String? What if a new browser/client version decides to switch to 639-3?
>>
> IIRC, Locale lets you construct an instance with any language and
> country code and doesn't perform a validity check. Did you run into a
> specific problem ?
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com