Class ShareFileHttpHeaders


  • public final class ShareFileHttpHeaders
    extends Object
    Parameter group.
    • Constructor Detail

      • ShareFileHttpHeaders

        public ShareFileHttpHeaders()
    • Method Detail

      • getContentType

        public String getContentType()
        Get the contentType property: Sets the MIME content type of the file. The default type is 'application/octet-stream'.
        Returns:
        the contentType value.
      • 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:
        contentType - the contentType value to set.
        Returns:
        the ShareFileHttpHeaders object itself.
      • getContentEncoding

        public String getContentEncoding()
        Get the contentEncoding property: Specifies which content encodings have been applied to the file.
        Returns:
        the contentEncoding value.
      • setContentEncoding

        public ShareFileHttpHeaders setContentEncoding​(String contentEncoding)
        Set the contentEncoding property: Specifies which content encodings have been applied to the file.
        Parameters:
        contentEncoding - the contentEncoding value to set.
        Returns:
        the ShareFileHttpHeaders object itself.
      • getContentLanguage

        public String getContentLanguage()
        Get the contentLanguage property: Specifies the natural languages used by this resource.
        Returns:
        the contentLanguage value.
      • setContentLanguage

        public ShareFileHttpHeaders setContentLanguage​(String contentLanguage)
        Set the contentLanguage property: Specifies the natural languages used by this resource.
        Parameters:
        contentLanguage - the contentLanguage value to set.
        Returns:
        the ShareFileHttpHeaders object itself.
      • 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:
        the cacheControl value.
      • 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:
        cacheControl - the cacheControl value to set.
        Returns:
        the ShareFileHttpHeaders object itself.
      • getContentMd5

        public byte[] getContentMd5()
        Get the contentMd5 property: Sets the file's MD5 hash.
        Returns:
        the contentMd5 value.
      • setContentMd5

        public ShareFileHttpHeaders setContentMd5​(byte[] contentMd5)
        Set the contentMd5 property: Sets the file's MD5 hash.
        Parameters:
        contentMd5 - the contentMd5 value to set.
        Returns:
        the ShareFileHttpHeaders object itself.
      • getContentDisposition

        public String getContentDisposition()
        Get the contentDisposition property: Sets the file's Content-Disposition header.
        Returns:
        the contentDisposition value.
      • setContentDisposition

        public ShareFileHttpHeaders setContentDisposition​(String contentDisposition)
        Set the contentDisposition property: Sets the file's Content-Disposition header.
        Parameters:
        contentDisposition - the contentDisposition value to set.
        Returns:
        the ShareFileHttpHeaders object itself.