Package io.quarkus.vertx.http.runtime
Class HttpHostConfigSource
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
QUARKUS_HTTP_HOST
-
Constructor Summary
Constructors Constructor Description HttpHostConfigSource(int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
int
getOrdinal()
Map<String,String>
getProperties()
Set<String>
getPropertyNames()
String
getValue(String propertyName)
-
-
-
Field Detail
-
QUARKUS_HTTP_HOST
public static final String QUARKUS_HTTP_HOST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getOrdinal
public int getOrdinal()
- Specified by:
getOrdinal
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String propertyName)
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
-