Interface CORSConfiguration

  • All Known Implementing Classes:
    SynapseCORSConfiguration

    public interface CORSConfiguration
    CORSConfiguration is the interface that need to be implemented in order hold the CORS configuration information
    • Method Detail

      • getAllowedOrigins

        Set<String> getAllowedOrigins()
        Returns allowed origins in the configuration.
        Returns:
        allowed origins
      • getAllowedHeaders

        String getAllowedHeaders()
        Returns allowed headers in the configuration.
        Returns:
        allowed headers
      • isEnabled

        boolean isEnabled()
        Returns if CORS is enabled.
        Returns:
        boolean enabled