Uses of Class
com.azure.storage.file.datalake.models.FileReadHeaders
Package
Description
Package containing classes for AzureDataLakeStorageRestAPI.
-
Uses of FileReadHeaders in com.azure.storage.file.datalake.models
Modifier and TypeMethodDescriptionFileReadHeaders.setAcceptRanges
(String acceptRanges) Set the acceptRanges property: Indicates that the service supports requests for partial file content.FileReadHeaders.setCacheControl
(String cacheControl) Set the cacheControl property: This header is returned if it was previously specified for the file.FileReadHeaders.setClientRequestId
(String clientRequestId) Set the clientRequestId property: If a client request id header is sent in the request, this header will be present in the response with the same value.FileReadHeaders.setContentCrc64
(byte[] contentCrc64) Set the contentCrc64 property: If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to true, then the request returns a crc64 for the range, as long as the range size is less than or equal to 4 MB.FileReadHeaders.setContentDisposition
(String contentDisposition) Set the contentDisposition property: This header returns the value that was specified for the 'x-ms-blob-content-disposition' header.FileReadHeaders.setContentEncoding
(String contentEncoding) Set the contentEncoding property: This header returns the value that was specified for the Content-Encoding request header.FileReadHeaders.setContentLanguage
(String contentLanguage) Set the contentLanguage property: This header returns the value that was specified for the Content-Language request header.FileReadHeaders.setContentLength
(Long contentLength) Set the contentLength property: The number of bytes present in the response body.FileReadHeaders.setContentMd5
(byte[] contentMd5) Set the contentMd5 property: If the file has an MD5 hash and this operation is to read the full file, this response header is returned so that the client can check for message content integrity.FileReadHeaders.setContentRange
(String contentRange) Set the contentRange property: Indicates the range of bytes returned in the event that the client requested a subset of the file by setting the 'Range' request header.FileReadHeaders.setContentType
(String contentType) Set the contentType property: The media type of the body of the response.FileReadHeaders.setCopyCompletionTime
(OffsetDateTime copyCompletionTime) Set the copyCompletionTime property: Conclusion time of the last attempted Copy Blob operation where this file was the destination file.Set the copyId property: String identifier for this copy operation.FileReadHeaders.setCopyProgress
(String copyProgress) Set the copyProgress property: Contains the number of bytes copied and the total bytes in the source in the last attempted Copy Blob operation where this file was the destination file.FileReadHeaders.setCopySource
(String copySource) Set the copySource property: URL up to 2 KB in length that specifies the source file or file used in the last attempted Copy Blob operation where this file was the destination file.FileReadHeaders.setCopyStatus
(CopyStatusType copyStatus) Set the copyStatus property: State of the copy operation identified by x-ms-copy-id.FileReadHeaders.setCopyStatusDescription
(String copyStatusDescription) Set the copyStatusDescription property: Only appears when x-ms-copy-status is failed or pending.FileReadHeaders.setDateProperty
(OffsetDateTime dateProperty) Set the dateProperty property: UTC date/time value generated by the service that indicates the time at which the response was initiated.FileReadHeaders.setEncryptionKeySha256
(String encryptionKeySha256) Set the encryptionKeySha256 property: The SHA-256 hash of the encryption key used to encrypt the file.FileReadHeaders.setErrorCode
(String errorCode) Set the errorCode property: The errorCode property.Set the eTag property: The ETag contains a value that you can use to perform operations conditionally.FileReadHeaders.setFileContentMd5
(byte[] fileContentMd5) Set the fileContentMD5 property: If the file has a MD5 hash, and if request contains range header (Range or x-ms-range), this response header is returned with the value of the whole file's MD5 value.FileReadHeaders.setLastModified
(OffsetDateTime lastModified) Set the lastModified property: Returns the date and time the container was last modified.FileReadHeaders.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.FileReadHeaders.setLeaseState
(LeaseStateType leaseState) Set the leaseState property: Lease state of the file.FileReadHeaders.setLeaseStatus
(LeaseStatusType leaseStatus) Set the leaseStatus property: The current lease status of the file.FileReadHeaders.setMetadata
(Map<String, String> metadata) Set the metadata property: The metadata property.FileReadHeaders.setRequestId
(String requestId) Set the requestId property: This header uniquely identifies the request that was made and can be used for troubleshooting the request.FileReadHeaders.setServerEncrypted
(Boolean serverEncrypted) Set the isServerEncrypted property: The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm.FileReadHeaders.setVersion
(String version) Set the version property: Indicates the version of the Blob service used to execute the request.ModifierConstructorDescriptionFileReadAsyncResponse
(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders headers, Flux<ByteBuffer> value, FileReadHeaders deserializedHeaders) Constructs aFileReadAsyncResponse
.