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 TypeClassDescriptionclassAbstract implementation of an HTTP content with typical options.classSerializes HTTP request content from an input stream into an output stream.final classConcrete implementation ofAbstractInputStreamContentthat generates repeatable input streams based on the contents of byte array.classEmpty HTTP content of length zero just to forceHttpRequest.execute()to add the headerContent-Length: 0.final classConcrete implementation ofAbstractInputStreamContentthat generates repeatable input streams based on the contents of a file.final classConcrete implementation ofAbstractInputStreamContentthat simply handles the transfer of data from an input stream to an output stream.classSerializes 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.classImplements support for HTTP form content encoding serialization of typeapplication/x-www-form-urlencodedas specified in the HTML 4.0 Specification.Fields in com.google.api.client.http declared as HttpContentModifier and TypeFieldDescriptionprivate HttpContentHttpRequest.contentHTTP request content ornullfor none.(package private) HttpContentMultipartContent.Part.contentHTTP content ornullfor none.Methods in com.google.api.client.http that return HttpContentModifier and TypeMethodDescriptionHttpRequest.getContent()Returns the HTTP request content ornullfor none.MultipartContent.Part.getContent()Returns the HTTP content ornullfor none.Methods in com.google.api.client.http with parameters of type HttpContentModifier and TypeMethodDescriptionHttpRequestFactory.buildPatchRequest(GenericUrl url, HttpContent content) Builds aPATCHrequest for the given URL and content.HttpRequestFactory.buildPostRequest(GenericUrl url, HttpContent content) Builds aPOSTrequest for the given URL and content.HttpRequestFactory.buildPutRequest(GenericUrl url, HttpContent content) Builds aPUTrequest 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 longAbstractHttpContent.computeLength(HttpContent content) Returns the computed content length based usingIOUtils.computeLength(StreamingContent)or instead-1ifHttpContent.retrySupported()isfalsebecause the stream must not be read twice.HttpRequest.setContent(HttpContent content) Sets the HTTP request content ornullfor none.MultipartContent.Part.setContent(HttpContent content) Sets the HTTP content ornullfor 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 TypeClassDescriptionclassSerializes 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 TypeClassDescriptionclassBeta
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 TypeClassDescriptionclassBeta
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