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.
|
com.google.api.client.http.xml |
XML HTTP library based on the pluggable HTTP library.
|
com.google.api.client.http.xml.atom |
Atom XML HTTP library based on the pluggable HTTP library.
|
com.google.api.client.testing.http |
Testing utilities used for writing tests based on this library.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpContent
Abstract implementation of an HTTP content with typical options.
|
class |
AbstractInputStreamContent
Serializes HTTP request content from an input stream into an output stream.
|
class |
ByteArrayContent
Concrete implementation of
AbstractInputStreamContent that generates repeatable input
streams based on the contents of byte array. |
class |
EmptyContent
Empty HTTP content of length zero just to force
HttpRequest.execute() to add the header
Content-Length: 0 . |
class |
FileContent
Concrete implementation of
AbstractInputStreamContent that generates repeatable input
streams based on the contents of a file. |
class |
InputStreamContent
Concrete implementation of
AbstractInputStreamContent that simply handles the transfer of
data from an input stream to an output stream. |
class |
MultipartRelatedContent
Serializes MIME Multipart/Related content as specified by RFC 2387: The MIME Multipart/Related Content-type.
|
class |
UrlEncodedContent
Implements support for HTTP form content encoding serialization of type
application/x-www-form-urlencoded as specified in the HTML 4.0 Specification. |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpRequest.getContent()
Returns the HTTP request content or
null for none. |
Modifier and Type | Method and Description |
---|---|
Collection<HttpContent> |
MultipartRelatedContent.getParts()
Returns the HTTP content parts.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestFactory.buildPatchRequest(GenericUrl url,
HttpContent content)
Deprecated.
|
HttpRequest |
HttpRequestFactory.buildPostRequest(GenericUrl url,
HttpContent content)
Builds a
POST request for the given URL and content. |
HttpRequest |
HttpRequestFactory.buildPutRequest(GenericUrl url,
HttpContent content)
Builds a
PUT request for the given URL and content. |
HttpRequest |
HttpRequestFactory.buildRequest(HttpMethod method,
GenericUrl url,
HttpContent content)
Deprecated.
(scheduled to be removed in 1.14) Use
HttpRequestFactory.buildRequest(String, GenericUrl, HttpContent) instead |
HttpRequest |
HttpRequestFactory.buildRequest(String requestMethod,
GenericUrl url,
HttpContent content)
Builds a request for the given HTTP method, URL, and content.
|
HttpRequest |
HttpRequest.setContent(HttpContent content)
Sets the HTTP request content or
null for none. |
abstract void |
LowLevelHttpRequest.setContent(HttpContent content)
Sets the HTTP request content.
|
Constructor and Description |
---|
MultipartRelatedContent(HttpContent firstPart,
HttpContent... otherParts) |
MultipartRelatedContent(HttpContent firstPart,
HttpContent... otherParts) |
Modifier and Type | Class and Description |
---|---|
class |
JsonHttpContent
Serializes JSON HTTP content based on the data key/value mapping object for an item.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractXmlHttpContent
Abstract serializer for XML HTTP content based on the data key/value mapping object for an item.
|
class |
XmlHttpContent
Serializes XML HTTP content based on the data key/value mapping object for an item.
|
Modifier and Type | Class and Description |
---|---|
class |
AtomContent
Serializes Atom XML HTTP content based on the data key/value mapping object for an Atom entry.
|
Modifier and Type | Class and Description |
---|---|
class |
MockHttpContent
Mock for
HttpContent . |
Modifier and Type | Method and Description |
---|---|
HttpContent |
MockLowLevelHttpRequest.getContent()
Returns the HTTP content or
null for none. |
Modifier and Type | Method and Description |
---|---|
void |
MockLowLevelHttpRequest.setContent(HttpContent content) |
Copyright © 2011-2012 Google. All Rights Reserved.