MediaResponse Class

  • java.lang.Object
    • com.microsoft.azure.documentdb.MediaResponse

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 getResponseHeaders()

Gets the headers associated with the response.

Returns:

the response headers.

Applies to