Uses of Interface
com.google.api.client.http.HttpContent
-
Packages that use HttpContent 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.protobuf com.google.api.client.http.xml Beta
XML HTTP library based on the pluggable HTTP library.com.google.api.client.http.xml.atom Beta
Atom XML HTTP library based on the pluggable HTTP library.com.google.api.client.testing.http 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 HttpContent Modifier and Type Class Description classAbstractHttpContentAbstract implementation of an HTTP content with typical options.classAbstractInputStreamContentSerializes HTTP request content from an input stream into an output stream.classByteArrayContentConcrete implementation ofAbstractInputStreamContentthat generates repeatable input streams based on the contents of byte array.classEmptyContentEmpty HTTP content of length zero just to forceHttpRequest.execute()to add the headerContent-Length: 0.classFileContentConcrete implementation ofAbstractInputStreamContentthat generates repeatable input streams based on the contents of a file.classInputStreamContentConcrete implementation ofAbstractInputStreamContentthat simply handles the transfer of data from an input stream to an output stream.classMultipartContentSerializes 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.classUrlEncodedContentImplements 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 HttpContent Modifier and Type Field Description private HttpContentHttpRequest. contentHTTP request content ornullfor none.(package private) HttpContentMultipartContent.Part. contentHTTP content ornullfor none.Methods in com.google.api.client.http that return HttpContent Modifier and Type Method Description HttpContentHttpRequest. getContent()Returns the HTTP request content ornullfor none.HttpContentMultipartContent.Part. getContent()Returns the HTTP content ornullfor none.Methods in com.google.api.client.http with parameters of type HttpContent Modifier and Type Method Description HttpRequestHttpRequestFactory. buildPatchRequest(GenericUrl url, HttpContent content)Builds aPATCHrequest for the given URL and content.HttpRequestHttpRequestFactory. buildPostRequest(GenericUrl url, HttpContent content)Builds aPOSTrequest for the given URL and content.HttpRequestHttpRequestFactory. buildPutRequest(GenericUrl url, HttpContent content)Builds aPUTrequest for the given URL and content.HttpRequestHttpRequestFactory. buildRequest(java.lang.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-1ifretrySupported()isfalsebecause the stream must not be read twice.HttpRequestHttpRequest. setContent(HttpContent content)Sets the HTTP request content ornullfor none.MultipartContent.PartMultipartContent.Part. setContent(HttpContent content)Sets the HTTP content ornullfor none.Method parameters in com.google.api.client.http with type arguments of type HttpContent Modifier and Type Method Description MultipartContentMultipartContent. setContentParts(java.util.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 HttpContent Constructor Description Part(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 HttpContent Modifier and Type Class Description classJsonHttpContentSerializes 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 HttpContent Modifier and Type Class Description classProtoHttpContentBeta
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 Modifier and Type Class Description classAbstractXmlHttpContentBeta
Abstract serializer for XML HTTP content based on the data key/value mapping object for an item.classXmlHttpContentBeta
Serializes XML HTTP content based on the data key/value mapping object for an item. -
Uses of HttpContent in com.google.api.client.http.xml.atom
Classes in com.google.api.client.http.xml.atom that implement HttpContent Modifier and Type Class Description classAtomContentBeta
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 Modifier and Type Class Description classMockHttpContent
-