org.codehaus.httpcache4j.preference
Class Preferences

java.lang.Object
  extended by org.codehaus.httpcache4j.preference.Preferences

public final class Preferences
extends java.lang.Object

Author:
Erlend Hamnaberg

Constructor Summary
Preferences()
           
 
Method Summary
 void addCharset(java.lang.String charset)
           
 void addLocale(java.util.Locale locale)
           
 void addMIMEType(MIMEType mimeType)
           
 java.util.List<Preference<java.lang.String>> getAcceptCharset()
           
 java.util.List<Preference<java.util.Locale>> getAcceptLocales()
           
 java.util.List<Preference<MIMEType>> getAcceptMIMETypes()
           
 Headers toHeaders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Preferences

public Preferences()
Method Detail

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.