public class BaseHttpHeaders
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
BaseHttpHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) |
Modifier and Type | Method and Description |
---|---|
void |
addBulkRequestHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> bulkHeaders) |
boolean |
containsHeader(java.lang.String headerName) |
java.util.List<java.lang.String> |
getHeader(java.lang.String headerName) |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getHeaders() |
java.util.Date |
getIfModifiedSince() |
java.lang.String |
getSingleHeader(java.lang.String headerName) |
boolean |
isEtagNoneMatchHeaderWildCard() |
boolean |
isEtagToMatchHeaderWildCard() |
boolean |
isNoCache() |
boolean |
matchesEtagToMatchHeader(java.lang.String etag) |
boolean |
matchesEtagToNoneMatchHeader(java.lang.String etag) |
void |
setIfModifiedSince(java.util.Date ifModifiedSince) |
public BaseHttpHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
public void addBulkRequestHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> bulkHeaders)
public java.lang.String getSingleHeader(java.lang.String headerName)
public java.util.List<java.lang.String> getHeader(java.lang.String headerName)
public void setIfModifiedSince(java.util.Date ifModifiedSince)
public java.util.Date getIfModifiedSince()
public boolean containsHeader(java.lang.String headerName)
public boolean isNoCache()
public boolean matchesEtagToNoneMatchHeader(java.lang.String etag)
public boolean matchesEtagToMatchHeader(java.lang.String etag)
public boolean isEtagToMatchHeaderWildCard()
public boolean isEtagNoneMatchHeaderWildCard()