CorsProperties Class
- java.
lang. Object - com.
microsoft. azure. storage. CorsProperties
- com.
public class CorsProperties
Class representing the service properties pertaining to CORS.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Cors |
getCorsRules() |
void |
setCorsRules(List<CorsRule> corsRules)
Limited to 5. The size of all the rules per service should not exceed 2KB of characters. |
Method Details
getCorsRules
public List
Returns:
the corsRules
setCorsRules
protected void setCorsRules(List
Limited to 5. The size of all the rules per service should not exceed 2KB of characters.
Parameters:
corsRules
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java