Class CorsProperties.CorsConfiguration

  • Enclosing class:
    CorsProperties

    @Validated
    public static class CorsProperties.CorsConfiguration
    extends Object
    The cors configuration.
    • Constructor Detail

      • CorsConfiguration

        public CorsConfiguration()
    • Method Detail

      • getAllowedOrigins

        @NotEmpty
        public @NotEmpty List<String> getAllowedOrigins()
        Gets allowed origins.
        Returns:
        the allowed origins
      • getAllowedMethods

        @NotEmpty
        public @NotEmpty List<String> getAllowedMethods()
        Gets allowed methods.
        Returns:
        the allowed methods
      • getAllowedHeaders

        @NotEmpty
        public @NotEmpty List<String> getAllowedHeaders()
        Gets allowed headers.
        Returns:
        the allowed headers