Package org.bremersee.web
Class CorsProperties
- java.lang.Object
-
- org.bremersee.web.CorsProperties
-
@ConfigurationProperties(prefix="bremersee.cors") @Validated public class CorsProperties extends Object
The cors properties.- Author:
- Christian Bremer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CorsProperties.CorsConfiguration
The cors configuration.
-
Constructor Summary
Constructors Constructor Description CorsProperties()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotEmpty List<CorsProperties.CorsConfiguration>
allowAllConfiguration()
Allow all configuration.@NotNull List<CorsProperties.CorsConfiguration>
getConfigs()
Gets configs.
-
-
-
Method Detail
-
allowAllConfiguration
@NotEmpty public static @NotEmpty List<CorsProperties.CorsConfiguration> allowAllConfiguration()
Allow all configuration.- Returns:
- the allow all configuration
-
getConfigs
@NotNull public @NotNull List<CorsProperties.CorsConfiguration> getConfigs()
Gets configs.- Returns:
- the configs
-
-