| Constructor and Description |
|---|
MutableHeaders() |
public void add(Header header)
public void set(Header header)
public boolean contains(Header header)
public boolean hasHeader(String headerName)
public int size()
public boolean isEmpty()
public Headers toHeaders()
public void setCacheControl(CacheControl cc)
public void addAcceptLanguage(Preference<Locale>... accept)
public List<Preference<Locale>> getAcceptLanguage()
public void setAcceptCharset(List<Preference<Charset>> charsets)
public List<Preference<Charset>> getAcceptCharset()
public void setExpires(org.joda.time.DateTime expires)
public void addAccept(Preference<MIMEType>... accept)
public org.joda.time.DateTime getLastModified()
public void addAcceptCharset(Preference<Charset>... accept)
public void setAllow(Set<HTTPMethod> allow)
public void setAccept(List<Preference<MIMEType>> charsets)
public List<Preference<MIMEType>> getAccept()
public void setAcceptLanguage(List<Preference<Locale>> acceptLanguage)
public void setLastModified(org.joda.time.DateTime lm)
public void setETag(Tag tag)
public org.joda.time.DateTime getExpires()
public org.joda.time.DateTime getDate()
public void setDate(org.joda.time.DateTime dt)
public Set<HTTPMethod> getAllow()
public CacheControl getCacheControl()
public Tag getETag()
Copyright © 2008-2013. All Rights Reserved.