public final class ShareFileHttpHeaders extends Object
| Constructor and Description |
|---|
ShareFileHttpHeaders() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheControl()
Get the cacheControl property: Sets the file's cache control.
|
String |
getContentDisposition()
Get the contentDisposition property: Sets the file's Content-Disposition header.
|
String |
getContentEncoding()
Get the contentEncoding property: Specifies which content encodings have been applied to the file.
|
String |
getContentLanguage()
Get the contentLanguage property: Specifies the natural languages used by this resource.
|
byte[] |
getContentMd5()
Get the contentMd5 property: Sets the file's MD5 hash.
|
String |
getContentType()
Get the contentType property: Sets the MIME content type of the file.
|
ShareFileHttpHeaders |
setCacheControl(String cacheControl)
Set the cacheControl property: Sets the file's cache control.
|
ShareFileHttpHeaders |
setContentDisposition(String contentDisposition)
Set the contentDisposition property: Sets the file's Content-Disposition header.
|
ShareFileHttpHeaders |
setContentEncoding(String contentEncoding)
Set the contentEncoding property: Specifies which content encodings have been applied to the file.
|
ShareFileHttpHeaders |
setContentLanguage(String contentLanguage)
Set the contentLanguage property: Specifies the natural languages used by this resource.
|
ShareFileHttpHeaders |
setContentMd5(byte[] contentMd5)
Set the contentMd5 property: Sets the file's MD5 hash.
|
ShareFileHttpHeaders |
setContentType(String contentType)
Set the contentType property: Sets the MIME content type of the file.
|
public String getContentType()
public ShareFileHttpHeaders setContentType(String contentType)
contentType - the contentType value to set.public String getContentEncoding()
public ShareFileHttpHeaders setContentEncoding(String contentEncoding)
contentEncoding - the contentEncoding value to set.public String getContentLanguage()
public ShareFileHttpHeaders setContentLanguage(String contentLanguage)
contentLanguage - the contentLanguage value to set.public String getCacheControl()
public ShareFileHttpHeaders setCacheControl(String cacheControl)
cacheControl - the cacheControl value to set.public byte[] getContentMd5()
public ShareFileHttpHeaders setContentMd5(byte[] contentMd5)
contentMd5 - the contentMd5 value to set.public String getContentDisposition()
public ShareFileHttpHeaders setContentDisposition(String contentDisposition)
contentDisposition - the contentDisposition value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.