Uses of Class
com.azure.storage.file.share.models.ShareCorsRule
Packages that use ShareCorsRule
Package
Description
Package containing classes for AzureFileStorage.
-
Uses of ShareCorsRule in com.azure.storage.file.share.models
Methods in com.azure.storage.file.share.models that return ShareCorsRuleModifier and TypeMethodDescriptionShareCorsRule.setAllowedHeaders
(String allowedHeaders) Set the allowedHeaders property: The request headers that the origin domain may specify on the CORS request.ShareCorsRule.setAllowedMethods
(String allowedMethods) Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request.ShareCorsRule.setAllowedOrigins
(String allowedOrigins) Set the allowedOrigins property: The origin domains that are permitted to make a request against the storage service via CORS.ShareCorsRule.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.ShareCorsRule.setMaxAgeInSeconds
(int maxAgeInSeconds) Set the maxAgeInSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request.Methods in com.azure.storage.file.share.models that return types with arguments of type ShareCorsRuleModifier and TypeMethodDescriptionShareServiceProperties.getCors()
Get the cors property: The set of CORS rules.Method parameters in com.azure.storage.file.share.models with type arguments of type ShareCorsRuleModifier and TypeMethodDescriptionShareServiceProperties.setCors
(List<ShareCorsRule> cors) Set the cors property: The set of CORS rules.