Uses of Interface
com.google.api.client.util.StreamingContent
-
Packages that use StreamingContent 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.com.google.api.client.util General utilities used throughout this library. -
-
Uses of StreamingContent in com.google.api.client.http
Subinterfaces of StreamingContent in com.google.api.client.http Modifier and Type Interface Description interface
HttpContent
Serializes HTTP request content into an output stream.Classes in com.google.api.client.http that implement StreamingContent Modifier and Type Class 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 ofAbstractInputStreamContent
that generates repeatable input streams based on the contents of byte array.class
EmptyContent
Empty HTTP content of length zero just to forceHttpRequest.execute()
to add the headerContent-Length: 0
.class
FileContent
Concrete implementation ofAbstractInputStreamContent
that generates repeatable input streams based on the contents of a file.class
HttpEncodingStreamingContent
Streaming content based on an HTTP encoding.class
InputStreamContent
Concrete implementation ofAbstractInputStreamContent
that simply handles the transfer of data from an input stream to an output stream.class
MultipartContent
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
UrlEncodedContent
Implements support for HTTP form content encoding serialization of typeapplication/x-www-form-urlencoded
as specified in the HTML 4.0 Specification.Methods in com.google.api.client.http that return StreamingContent Modifier and Type Method Description StreamingContent
HttpEncodingStreamingContent. getContent()
Returns the streaming content.StreamingContent
LowLevelHttpRequest. getStreamingContent()
Returns the streaming content ornull
for no content.Methods in com.google.api.client.http with parameters of type StreamingContent Modifier and Type Method Description void
GZipEncoding. encode(StreamingContent content, OutputStream out)
void
HttpEncoding. encode(StreamingContent content, OutputStream out)
Encodes the streaming content into the output stream.void
LowLevelHttpRequest. setStreamingContent(StreamingContent streamingContent)
Sets the streaming content ornull
for no content.Constructors in com.google.api.client.http with parameters of type StreamingContent Constructor Description HttpEncodingStreamingContent(StreamingContent content, HttpEncoding encoding)
-
Uses of StreamingContent in com.google.api.client.http.json
Classes in com.google.api.client.http.json that implement StreamingContent Modifier and Type Class Description class
JsonHttpContent
Serializes JSON HTTP content based on the data key/value mapping object for an item. -
Uses of StreamingContent in com.google.api.client.http.protobuf
Classes in com.google.api.client.http.protobuf that implement StreamingContent Modifier and Type Class Description class
ProtoHttpContent
Beta
Serializes of a protocol buffer message to HTTP content. -
Uses of StreamingContent in com.google.api.client.http.xml
Classes in com.google.api.client.http.xml that implement StreamingContent Modifier and Type Class Description class
AbstractXmlHttpContent
Beta
Abstract serializer for XML HTTP content based on the data key/value mapping object for an item.class
XmlHttpContent
Beta
Serializes XML HTTP content based on the data key/value mapping object for an item. -
Uses of StreamingContent in com.google.api.client.http.xml.atom
Classes in com.google.api.client.http.xml.atom that implement StreamingContent Modifier and Type Class Description class
AtomContent
Beta
Serializes Atom XML HTTP content based on the data key/value mapping object for an Atom entry. -
Uses of StreamingContent in com.google.api.client.testing.http
Classes in com.google.api.client.testing.http that implement StreamingContent Modifier and Type Class Description class
MockHttpContent
-
Uses of StreamingContent in com.google.api.client.util
Classes in com.google.api.client.util that implement StreamingContent Modifier and Type Class Description class
ByteArrayStreamingContent
Streaming content whose source is a byte array.class
LoggingStreamingContent
Wraps another streaming content without modifying the content, but also logging content usingLoggingOutputStream
.Methods in com.google.api.client.util with parameters of type StreamingContent Modifier and Type Method Description static long
IOUtils. computeLength(StreamingContent content)
Computes and returns the byte content length for a streaming content by callingwriteTo(OutputStream)
on a fake output stream that only counts bytes written.Constructors in com.google.api.client.util with parameters of type StreamingContent Constructor Description LoggingStreamingContent(StreamingContent content, Logger logger, Level loggingLevel, int contentLoggingLimit)
-