ShareFileHttpHeaders Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareFileHttpHeaders
- com.
public final class ShareFileHttpHeaders
Parameter group.
Constructor Summary
Constructor | Description |
---|---|
ShareFileHttpHeaders() |
Creates an instance of Share |
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 |
Share |
setCacheControl(String cacheControl)
Set the cache |
Share |
setContentDisposition(String contentDisposition)
Set the content |
Share |
setContentEncoding(String contentEncoding)
Set the content |
Share |
setContentLanguage(String contentLanguage)
Set the content |
Share |
setContentMd5(byte[] contentMd5)
Set the content |
Share |
setContentType(String contentType)
Set the content |
Methods inherited from java.lang.Object
Constructor Details
ShareFileHttpHeaders
public ShareFileHttpHeaders()
Creates an instance of ShareFileHttpHeaders class.
Method Details
getCacheControl
public String getCacheControl()
Get the cacheControl property: Sets the file's cache control. The File service stores this value but does not use or modify it.
Returns:
getContentDisposition
public String getContentDisposition()
Get the contentDisposition property: Sets the file's Content-Disposition header.
Returns:
getContentEncoding
public String getContentEncoding()
Get the contentEncoding property: Specifies which content encodings have been applied to the file.
Returns:
getContentLanguage
public String getContentLanguage()
Get the contentLanguage property: Specifies the natural languages used by this resource.
Returns:
getContentMd5
public byte[] getContentMd5()
Get the contentMd5 property: Sets the file's MD5 hash.
Returns:
getContentType
public String getContentType()
Get the contentType property: Sets the MIME content type of the file. The default type is 'application/octet-stream'.
Returns:
setCacheControl
public ShareFileHttpHeaders setCacheControl(String cacheControl)
Set the cacheControl property: Sets the file's cache control. The File service stores this value but does not use or modify it.
Parameters:
Returns:
setContentDisposition
public ShareFileHttpHeaders setContentDisposition(String contentDisposition)
Set the contentDisposition property: Sets the file's Content-Disposition header.
Parameters:
Returns:
setContentEncoding
public ShareFileHttpHeaders setContentEncoding(String contentEncoding)
Set the contentEncoding property: Specifies which content encodings have been applied to the file.
Parameters:
Returns:
setContentLanguage
public ShareFileHttpHeaders setContentLanguage(String contentLanguage)
Set the contentLanguage property: Specifies the natural languages used by this resource.
Parameters:
Returns:
setContentMd5
public ShareFileHttpHeaders setContentMd5(byte[] contentMd5)
Set the contentMd5 property: Sets the file's MD5 hash.
Parameters:
Returns:
setContentType
public ShareFileHttpHeaders setContentType(String contentType)
Set the contentType property: Sets the MIME content type of the file. The default type is 'application/octet-stream'.
Parameters:
Returns:
Applies to
Azure SDK for Java