public Headers()
public Headers(Headers headers)
public boolean contains(Header header)
public boolean hasHeader(String headerName)
public int size()
public boolean isEmpty()
public Headers asCacheable()
public boolean isCachable()
public List<Preference<Locale>> getAcceptLanguage()
public Headers withAcceptLanguage(List<Preference<Locale>> acceptLanguage)
public List<Preference<Charset>> getAcceptCharset()
public Headers withAcceptCharset(List<Preference<Charset>> charsets)
public List<Preference<MIMEType>> getAccept()
public Headers withAccept(List<Preference<MIMEType>> charsets)
public Headers addAccept(Preference<MIMEType>... accept)
public Headers addAcceptLanguage(Preference<Locale>... accept)
public Headers addAcceptCharset(Preference<Charset>... accept)
public Set<HTTPMethod> getAllow()
public Headers withAllow(Set<HTTPMethod> allow)
public CacheControl getCacheControl()
public Headers withCacheControl(CacheControl cc)
public org.joda.time.DateTime getDate()
public Headers withDate(org.joda.time.DateTime dt)
public MIMEType getContentType()
public org.joda.time.DateTime getExpires()
public Headers withExpires(org.joda.time.DateTime expires)
public org.joda.time.DateTime getLastModified()
public Headers withLastModified(org.joda.time.DateTime lm)
public Conditionals getConditionals()
public Headers withConditionals(Conditionals conditionals)
public Tag getETag()
Copyright © 2008-2013. All Rights Reserved.