Package | Description |
---|---|
com.google.api.client.http |
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
|
com.google.api.client.http.json |
JSON HTTP library based on the pluggable HTTP library.
|
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
HttpHeaders.clone() |
HttpHeaders |
HttpRequest.getHeaders()
Returns the HTTP request headers.
|
HttpHeaders |
HttpResponse.getHeaders()
Returns the HTTP response headers.
|
HttpHeaders |
HttpResponseException.getHeaders()
Returns the HTTP response headers.
|
HttpHeaders |
HttpRequest.getResponseHeaders()
Returns the HTTP response headers.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpHeaders.fromHttpHeaders(HttpHeaders headers)
Puts all headers of the
HttpHeaders object into this HttpHeaders object. |
boolean |
HttpRequest.handleRedirect(int statusCode,
HttpHeaders headers)
Sets up this request object to handle the necessary redirect if redirects are turned on, it is
a redirect status code and the header has a location.
|
static void |
HttpHeaders.serializeHeadersForMultipartRequests(HttpHeaders headers,
StringBuilder logbuf,
Logger logger,
Writer writer)
Serializes headers to an
Writer for Multi-part requests. |
HttpRequest |
HttpRequest.setHeaders(HttpHeaders headers)
Sets the HTTP request headers.
|
HttpRequest |
HttpRequest.setResponseHeaders(HttpHeaders responseHeaders)
Sets the HTTP response headers.
|
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
JsonHttpRequest.getLastResponseHeaders()
Deprecated.
Gets the HTTP headers of the last response or
null for none. |
HttpHeaders |
JsonHttpRequest.getRequestHeaders()
Deprecated.
Gets the HTTP headers used for the JSON HTTP request.
|
Modifier and Type | Method and Description |
---|---|
JsonHttpRequest |
JsonHttpRequest.setRequestHeaders(HttpHeaders headers)
Deprecated.
Sets the HTTP headers used for the JSON HTTP request.
|
Copyright © 2011-2012 Google. All Rights Reserved.