Class HttpHostConfigSource

  • All Implemented Interfaces:
    Serializable, org.eclipse.microprofile.config.spi.ConfigSource

    public class HttpHostConfigSource
    extends Object
    implements org.eclipse.microprofile.config.spi.ConfigSource, Serializable
    Sets the default host config value, depending on the launch mode.

    This can't be done with a normal default, is it changes based on the mode, so instead it is provided as a low priority config source.

    See Also:
    Serialized Form
    • Constructor Detail

      • HttpHostConfigSource

        public HttpHostConfigSource​(int priority)
    • Method Detail

      • getProperties

        public Map<String,​String> getProperties()
        Specified by:
        getProperties in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getPropertyNames

        public Set<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getOrdinal

        public int getOrdinal()
        Specified by:
        getOrdinal in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getValue

        public String getValue​(String propertyName)
        Specified by:
        getValue in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.microprofile.config.spi.ConfigSource