Class HttpConnectorIncomingConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.http.HttpConnectorCommonConfiguration
-
- io.smallrye.reactive.messaging.http.HttpConnectorIncomingConfiguration
-
public class HttpConnectorIncomingConfiguration extends HttpConnectorCommonConfiguration
Extract the incoming configuration for thesmallrye-httpconnector.
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.http.HttpConnectorCommonConfiguration
config
-
-
Constructor Summary
Constructors Constructor Description HttpConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config)Creates a new HttpConnectorIncomingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()Gets the host value from the configuration.IntegergetPort()Gets the port value from the configuration.voidvalidate()-
Methods inherited from class io.smallrye.reactive.messaging.http.HttpConnectorCommonConfiguration
config, getChannel, getFromAlias, getFromAliasWithDefaultValue
-
-
-
-
Method Detail
-
getHost
public String getHost()
Gets the host value from the configuration. Attribute Name: host Description: the host (interface) on which the server is opened Default Value: 0.0.0.0- Returns:
- the host
-
getPort
public Integer getPort()
Gets the port value from the configuration. Attribute Name: port Description: the port Default Value: 8080- Returns:
- the port
-
validate
public void validate()
- Overrides:
validatein classHttpConnectorCommonConfiguration
-
-