PathHttpHeaders Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. PathHttpHeaders
- com.
public final class PathHttpHeaders
Parameter group.
Constructor Summary
Constructor | Description |
---|---|
PathHttpHeaders() |
Creates an instance of Path |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getCacheControl()
Get the cache |
String |
getContentDisposition()
Get the content |
String |
getContentEncoding()
Get the content |
String |
getContentLanguage()
Get the content |
byte[] |
getContentMd5()
Get the content |
String |
getContentType()
Get the content |
byte[] |
getTransactionalContentHash()
Get the transactional |
Path |
setCacheControl(String cacheControl)
Set the cache |
Path |
setContentDisposition(String contentDisposition)
Set the content |
Path |
setContentEncoding(String contentEncoding)
Set the content |
Path |
setContentLanguage(String contentLanguage)
Set the content |
Path |
setContentMd5(byte[] contentMd5)
Set the content |
Path |
setContentType(String contentType)
Set the content |
Path |
setTransactionalContentHash(byte[] transactionalContentHash)
Set the transactional |
Methods inherited from java.lang.Object
Constructor Details
PathHttpHeaders
public PathHttpHeaders()
Creates an instance of PathHttpHeaders class.
Method Details
getCacheControl
public String getCacheControl()
Get the cacheControl property: Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.
Returns:
getContentDisposition
public String getContentDisposition()
Get the contentDisposition property: Optional. Sets the blob's Content-Disposition header.
Returns:
getContentEncoding
public String getContentEncoding()
Get the contentEncoding property: Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.
Returns:
getContentLanguage
public String getContentLanguage()
Get the contentLanguage property: Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.
Returns:
getContentMd5
public byte[] getContentMd5()
Get the contentMd5 property: Specify the transactional md5 for the body, to be validated by the service.
Returns:
getContentType
public String getContentType()
Get the contentType property: Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.
Returns:
getTransactionalContentHash
public byte[] getTransactionalContentHash()
Get the transactionalContentHash property: Specify the transactional md5 for the body, to be validated by the service.
Returns:
setCacheControl
public PathHttpHeaders setCacheControl(String cacheControl)
Set the cacheControl property: Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.
Parameters:
Returns:
setContentDisposition
public PathHttpHeaders setContentDisposition(String contentDisposition)
Set the contentDisposition property: Optional. Sets the blob's Content-Disposition header.
Parameters:
Returns:
setContentEncoding
public PathHttpHeaders setContentEncoding(String contentEncoding)
Set the contentEncoding property: Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.
Parameters:
Returns:
setContentLanguage
public PathHttpHeaders setContentLanguage(String contentLanguage)
Set the contentLanguage property: Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.
Parameters:
Returns:
setContentMd5
public PathHttpHeaders setContentMd5(byte[] contentMd5)
Set the contentMd5 property: Specify the transactional md5 for the body, to be validated by the service.
Parameters:
Returns:
setContentType
public PathHttpHeaders setContentType(String contentType)
Set the contentType property: Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.
Parameters:
Returns:
setTransactionalContentHash
public PathHttpHeaders setTransactionalContentHash(byte[] transactionalContentHash)
Set the transactionalContentHash property: Specify the transactional md5 for the body, to be validated by the service.
Parameters:
Returns:
Applies to
Azure SDK for Java