MediaResponse Class
- java.
lang. Object - com.
microsoft. azure. documentdb. MediaResponse
- com.
public class MediaResponse
Response associated with retrieving attachment content in the Azure Cosmos DB database service.
Method Summary
Modifier and Type | Method and Description |
---|---|
InputStream |
getMedia()
Gets the attachment content stream. |
Map<String, String> |
getResponseHeaders()
Gets the headers associated with the response. |
Method Details
getMedia
public InputStream getMedia()
Gets the attachment content stream.
Returns:
the attachment content stream.
getResponseHeaders
public Map
Gets the headers associated with the response.
Returns:
the response headers.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java