|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.http.HttpHeaders
public class HttpHeaders
Stores HTTP headers used in an HTTP request or response, as defined in Header Field Definitions.
null is not allowed as a name or value of a header. Names are case-insensitive.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
String |
accept
"Accept" header. |
String |
acceptEncoding
"Accept-Encoding" header. |
String |
authenticate
"WWW-Authenticate" header. |
String |
authorization
"Authorization" header. |
String |
cacheControl
"Cache-Control" header. |
String |
contentEncoding
"Content-Encoding" header. |
String |
contentLength
"Content-Length" header. |
String |
contentMD5
"Content-MD5" header. |
String |
contentRange
"Content-Range" header. |
String |
contentType
"Content-Type" header. |
String |
date
"Date" header. |
String |
etag
"ETag" header. |
String |
expires
"Expires" header. |
String |
ifMatch
"If-Match" header. |
String |
ifModifiedSince
"If-Modified-Since" header. |
String |
ifNoneMatch
"If-None-Match" header. |
String |
ifUnmodifiedSince
"If-Unmodified-Since" header. |
String |
lastModified
"Last-Modified" header. |
String |
location
"Location" header. |
String |
mimeVersion
"MIME-Version" header. |
String |
range
"Range" header. |
String |
retryAfter
"Retry-After" header. |
String |
userAgent
"User-Agent" header. |
| Fields inherited from class com.google.api.client.util.GenericData |
|---|
unknownFields |
| Constructor Summary | |
|---|---|
HttpHeaders()
|
|
| Method Summary | |
|---|---|
Map<String,Collection<Object>> |
canonicalMap()
Deprecated. (scheduled to be removed in 1.5) |
HttpHeaders |
clone()
Makes a "deep" clone of the generic data, in which the clone is completely independent of the original. |
void |
setBasicAuthentication(String username,
String password)
Sets the authorization header as specified in Basic Authentication Scheme. |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, put, putAll, remove, set |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String accept
"Accept" header.
public String acceptEncoding
"Accept-Encoding" header. By default, this is "gzip".
public String authorization
"Authorization" header.
public String cacheControl
"Cache-Control" header.
public String contentEncoding
"Content-Encoding" header.
public String contentLength
"Content-Length" header.
public String contentMD5
"Content-MD5" header.
public String contentRange
"Content-Range" header.
public String contentType
"Content-Type" header.
public String date
"Date" header.
public String etag
"ETag" header.
public String expires
"Expires" header.
public String ifModifiedSince
"If-Modified-Since" header.
public String ifMatch
"If-Match" header.
public String ifNoneMatch
"If-None-Match" header.
public String ifUnmodifiedSince
"If-Unmodified-Since" header.
public String lastModified
"Last-Modified" header.
public String location
"Location" header.
public String mimeVersion
"MIME-Version" header.
public String range
"Range" header.
public String retryAfter
"Retry-After" header.
public String userAgent
"User-Agent" header.
public String authenticate
"WWW-Authenticate" header.
| Constructor Detail |
|---|
public HttpHeaders()
| Method Detail |
|---|
public HttpHeaders clone()
GenericData
clone in class GenericData
public void setBasicAuthentication(String username,
String password)
authorization header as specified in Basic Authentication Scheme.
@Deprecated public Map<String,Collection<Object>> canonicalMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||