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.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayContent
Concrete implementation of
AbstractInputStreamContent that generates repeatable input
streams based on the contents of byte array. |
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. |
Modifier and Type | Method and Description |
---|---|
AbstractInputStreamContent |
AbstractInputStreamContent.setCloseInputStream(boolean closeInputStream)
Sets whether the input stream should be closed at the end of
writeTo(java.io.OutputStream) . |
AbstractInputStreamContent |
AbstractInputStreamContent.setType(String type)
Sets the content type or
null for none. |
Copyright © 2011–2019 Google. All rights reserved.