Uses of Class
com.azure.storage.blob.models.BlobCorsRule
Packages that use BlobCorsRule
Package
Description
Package containing the data models for AzureBlobStorage.
-
Uses of BlobCorsRule in com.azure.storage.blob.models
Methods in com.azure.storage.blob.models that return BlobCorsRuleModifier and TypeMethodDescriptionstatic BlobCorsRuleBlobCorsRule.fromXml(com.azure.xml.XmlReader xmlReader) Reads an instance of BlobCorsRule from the XmlReader.static BlobCorsRuleReads an instance of BlobCorsRule from the XmlReader.BlobCorsRule.setAllowedHeaders(String allowedHeaders) Set the allowedHeaders property: the request headers that the origin domain may specify on the CORS request.BlobCorsRule.setAllowedMethods(String allowedMethods) Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request.BlobCorsRule.setAllowedOrigins(String allowedOrigins) Set the allowedOrigins property: The origin domains that are permitted to make a request against the storage service via CORS.BlobCorsRule.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.BlobCorsRule.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.blob.models that return types with arguments of type BlobCorsRuleModifier and TypeMethodDescriptionBlobServiceProperties.getCors()Get the cors property: The set of CORS rules.Method parameters in com.azure.storage.blob.models with type arguments of type BlobCorsRuleModifier and TypeMethodDescriptionBlobServiceProperties.setCors(List<BlobCorsRule> cors) Set the cors property: The set of CORS rules.