CorsSettings Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. CorsSettings
- com.
public class CorsSettings
Cross-Origin Resource Sharing (CORS) settings for the app.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
allowedOrigins()
Get the allowedOrigins value. |
Cors |
withAllowedOrigins(List<String> allowedOrigins)
Set the allowedOrigins value. |
Method Details
allowedOrigins
public List
Get the allowedOrigins value.
Returns:
the allowedOrigins value
withAllowedOrigins
public CorsSettings withAllowedOrigins(List
Set the allowedOrigins value.
Parameters:
allowedOrigins
- the allowedOrigins value to set
Returns:
the CorsSettings object itself.
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