Uses of Class
com.azure.storage.file.datalake.models.DataLakeCorsRule
Package
Description
Package containing classes for AzureDataLakeStorageRestAPI.
-
Uses of DataLakeCorsRule in com.azure.storage.file.datalake.models
Modifier and TypeMethodDescriptionDataLakeCorsRule.setAllowedHeaders
(String allowedHeaders) Set the allowedHeaders property: the request headers that the origin domain may specify on the CORS request.DataLakeCorsRule.setAllowedMethods
(String allowedMethods) Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request.DataLakeCorsRule.setAllowedOrigins
(String allowedOrigins) Set the allowedOrigins property: The origin domains that are permitted to make a request against the storage service via CORS.DataLakeCorsRule.setExposedHeaders
(String exposedHeaders) Set the exposedHeaders property: The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.DataLakeCorsRule.setMaxAgeInSeconds
(int maxAgeInSeconds) Set the maxAgeInSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request.Modifier and TypeMethodDescriptionDataLakeServiceProperties.getCors()
Get the cors property: The set of CORS rules.Modifier and TypeMethodDescriptionDataLakeServiceProperties.setCors
(List<DataLakeCorsRule> cors) Set the cors property: The set of CORS rules.