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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java