@Configuration
@ConfigurationProperties(prefix="cors")
public class CorsProperties
extends org.springframework.web.cors.CorsConfiguration
CORS_ENABLED
property.CorsConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
ALL_PATHS
Wildcard representing all paths.
|
static String |
CORS_ENABLED
Representing property that holds state of CORS configuration.
|
static String |
PREFIX
Representing prefix path for configuration properties.
|
Constructor and Description |
---|
CorsProperties() |
addAllowedHeader, addAllowedMethod, addAllowedMethod, addAllowedOrigin, addExposedHeader, applyPermitDefaultValues, checkHeaders, checkHttpMethod, checkOrigin, combine, getAllowCredentials, getAllowedHeaders, getAllowedMethods, getAllowedOrigins, getExposedHeaders, getMaxAge, setAllowCredentials, setAllowedHeaders, setAllowedMethods, setAllowedOrigins, setExposedHeaders, setMaxAge
public static final String PREFIX
public static final String CORS_ENABLED
public static final String ALL_PATHS
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.