public class CorsSettings extends Object
| Constructor and Description |
|---|
CorsSettings() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowedOrigins()
Get gets or sets the list of origins that should be allowed to make cross-origin
calls (for example: http://example.com:12345).
|
CorsSettings |
withAllowedOrigins(List<String> allowedOrigins)
Set gets or sets the list of origins that should be allowed to make cross-origin
calls (for example: http://example.com:12345).
|
public List<String> allowedOrigins()
public CorsSettings withAllowedOrigins(List<String> allowedOrigins)
allowedOrigins - the allowedOrigins value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/