| Constructor and Description |
|---|
MutableHeaders() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void add(Header header)
public void set(Header header)
public void addAcceptLanguage(Preference... accept)
public List<Preference> getAcceptLanguage()
public void setAcceptCharset(List<Preference> charsets)
public List<Preference> getAcceptCharset()
public void setExpires(LocalDateTime expires)
public void addAccept(Preference... accept)
public LocalDateTime getLastModified()
public void addAcceptCharset(Preference... accept)
public void setAccept(List<Preference> charsets)
public List<Preference> getAccept()
public void setAcceptLanguage(List<Preference> acceptLanguage)
public void setLastModified(LocalDateTime lm)
public LocalDateTime getExpires()
public LocalDateTime getDate()
public void setDate(LocalDateTime dt)
public Set<HTTPMethod> getAllow()
public void setAllow(Set<HTTPMethod> allow)
public CacheControl getCacheControl()
public void setCacheControl(CacheControl cc)
public Tag getETag()
public void setETag(Tag tag)
public boolean contains(Header header)
public boolean contains(String headerName)
@Deprecated public boolean hasHeader(String headerName)
public int size()
public boolean isEmpty()
public Headers toHeaders()
Copyright © 2008–2017. All rights reserved.