org.codehaus.httpcache4j.preference
Class Preferences
java.lang.Object
org.codehaus.httpcache4j.preference.Preferences
public final class Preferences
- extends java.lang.Object
- 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 void addLocale(java.util.Locale locale)
addMIMEType
public void addMIMEType(MIMEType mimeType)
addCharset
public void addCharset(java.lang.String charset)
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. All Rights Reserved.