Uses of Interface
com.google.api.client.http.HttpContent
Packages that use HttpContent
Package
Description
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
JSON HTTP library based on the pluggable HTTP library.
Beta
XML HTTP library based on the pluggable HTTP library.
Beta
Atom XML HTTP library based on the pluggable HTTP library.
Beta
Testing utilities used for writing tests based on this library.
-
Uses of HttpContent in com.google.api.client.http
Classes in com.google.api.client.http that implement HttpContentModifier and TypeClassDescriptionclass
Abstract implementation of an HTTP content with typical options.class
Serializes HTTP request content from an input stream into an output stream.final class
Concrete implementation ofAbstractInputStreamContent
that generates repeatable input streams based on the contents of byte array.class
Empty HTTP content of length zero just to forceHttpRequest.execute()
to add the headerContent-Length: 0
.final class
Concrete implementation ofAbstractInputStreamContent
that generates repeatable input streams based on the contents of a file.final class
Concrete implementation ofAbstractInputStreamContent
that simply handles the transfer of data from an input stream to an output stream.class
Serializes MIME multipart content as specified by RFC 2387: The MIME Multipart/Related Content-type and RFC 2046: Multipurpose Internet Mail Extensions: The Multipart/mixed (primary) subtype.class
Implements support for HTTP form content encoding serialization of typeapplication/x-www-form-urlencoded
as specified in the HTML 4.0 Specification.Fields in com.google.api.client.http declared as HttpContentModifier and TypeFieldDescriptionprivate HttpContent
HttpRequest.content
HTTP request content ornull
for none.(package private) HttpContent
MultipartContent.Part.content
HTTP content ornull
for none.Methods in com.google.api.client.http that return HttpContentModifier and TypeMethodDescriptionHttpRequest.getContent()
Returns the HTTP request content ornull
for none.MultipartContent.Part.getContent()
Returns the HTTP content ornull
for none.Methods in com.google.api.client.http with parameters of type HttpContentModifier and TypeMethodDescriptionHttpRequestFactory.buildPatchRequest
(GenericUrl url, HttpContent content) Builds aPATCH
request for the given URL and content.HttpRequestFactory.buildPostRequest
(GenericUrl url, HttpContent content) Builds aPOST
request for the given URL and content.HttpRequestFactory.buildPutRequest
(GenericUrl url, HttpContent content) Builds aPUT
request for the given URL and content.HttpRequestFactory.buildRequest
(String requestMethod, GenericUrl url, HttpContent content) Builds a request for the given HTTP method, URL, and content.static long
AbstractHttpContent.computeLength
(HttpContent content) Returns the computed content length based usingIOUtils.computeLength(StreamingContent)
or instead-1
ifretrySupported()
isfalse
because the stream must not be read twice.HttpRequest.setContent
(HttpContent content) Sets the HTTP request content ornull
for none.MultipartContent.Part.setContent
(HttpContent content) Sets the HTTP content ornull
for none.Method parameters in com.google.api.client.http with type arguments of type HttpContentModifier and TypeMethodDescriptionMultipartContent.setContentParts
(Collection<? extends HttpContent> contentParts) Sets the HTTP content parts of the HTTP multipart request, where each part is assumed to have no HTTP headers and no encoding.Constructors in com.google.api.client.http with parameters of type HttpContentModifierConstructorDescriptionPart
(HttpContent content) Part
(HttpHeaders headers, HttpContent content) -
Uses of HttpContent in com.google.api.client.http.json
Classes in com.google.api.client.http.json that implement HttpContentModifier and TypeClassDescriptionclass
Serializes JSON HTTP content based on the data key/value mapping object for an item. -
Uses of HttpContent in com.google.api.client.http.protobuf
Classes in com.google.api.client.http.protobuf that implement HttpContentModifier and TypeClassDescriptionclass
Beta
Serializes of a protocol buffer message to HTTP content. -
Uses of HttpContent in com.google.api.client.http.xml
Classes in com.google.api.client.http.xml that implement HttpContent -
Uses of HttpContent in com.google.api.client.http.xml.atom
Classes in com.google.api.client.http.xml.atom that implement HttpContentModifier and TypeClassDescriptionclass
Beta
Serializes Atom XML HTTP content based on the data key/value mapping object for an Atom entry. -
Uses of HttpContent in com.google.api.client.testing.http
Classes in com.google.api.client.testing.http that implement HttpContent