org.codehaus.httpcache4j.preference
Class LocalePreference
java.lang.Object
org.codehaus.httpcache4j.preference.Preference<java.util.Locale>
org.codehaus.httpcache4j.preference.LocalePreference
public class LocalePreference
- extends Preference<java.util.Locale>
Represents an Accept-Language and Accept-Charset preference.
Described in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html section: 14.2 and 14.4
|
Field Summary |
static java.util.Locale |
ALL
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ALL
public static java.util.Locale ALL
LocalePreference
public LocalePreference(java.util.Locale preference)
getHeaderName
protected java.lang.String getHeaderName()
- Specified by:
getHeaderName in class Preference<java.util.Locale>
getStringValue
protected java.lang.String getStringValue()
- Overrides:
getStringValue in class Preference<java.util.Locale>
Copyright © 2008. All Rights Reserved.