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