@ConfigurationProperties(prefix="endpoints.cors") public class EndpointCorsProperties extends Object
Constructor and Description |
---|
EndpointCorsProperties() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowCredentials() |
List<String> |
getAllowedHeaders() |
List<String> |
getAllowedMethods() |
List<String> |
getAllowedOrigins() |
List<String> |
getExposedHeaders() |
Long |
getMaxAge() |
void |
setAllowCredentials(Boolean allowCredentials) |
void |
setAllowedHeaders(List<String> allowedHeaders) |
void |
setAllowedMethods(List<String> allowedMethods) |
void |
setAllowedOrigins(List<String> allowedOrigins) |
void |
setExposedHeaders(List<String> exposedHeaders) |
void |
setMaxAge(Long maxAge) |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.