Class HashMapCachedCorsPropertiesLoader

    • Constructor Detail

      • HashMapCachedCorsPropertiesLoader

        public HashMapCachedCorsPropertiesLoader()
    • Method Detail

      • loadProperties

        public com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> loadProperties​(java.lang.String contextName)
        Description copied from interface: CorsPropertiesLoader
        Loads Cors configuration properties for given contextName.
        Specified by:
        loadProperties in interface CorsPropertiesLoader
        Parameters:
        contextName - - name of web context to load properties for.
        Returns:
        properties map
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception