org.codehaus.httpcache4j.preference
Class Preferences
java.lang.Object
org.codehaus.httpcache4j.preference.Preferences
public final class Preferences
- extends java.lang.Object
Collections for preferences.
- Author:
- Erlend Hamnaberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Preferences
public Preferences()
addLocale
public Preferences addLocale(java.util.Locale locale)
addLocale
public Preferences addLocale(java.util.Locale locale,
double quality)
addMIMEType
public Preferences addMIMEType(MIMEType mimeType,
double quality)
addMIMEType
public Preferences addMIMEType(MIMEType mimeType)
addCharset
public Preferences addCharset(java.lang.String charset)
addCharset
public Preferences addCharset(java.lang.String charset,
double quality)
getAcceptLocales
public java.util.List<Preference<java.util.Locale>> getAcceptLocales()
getAcceptMIMETypes
public java.util.List<Preference<MIMEType>> getAcceptMIMETypes()
getAcceptCharset
public java.util.List<Preference<java.lang.String>> getAcceptCharset()
toHeaders
public Headers toHeaders()
Copyright © 2008-2009. All Rights Reserved.