Package io.micronaut.discovery.eureka
Class EurekaConfiguration.EurekaDiscoveryConfiguration
java.lang.Object
io.micronaut.discovery.DiscoveryConfiguration
io.micronaut.discovery.eureka.EurekaConfiguration.EurekaDiscoveryConfiguration
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
- Enclosing class:
- EurekaConfiguration
@ConfigurationProperties("discovery")
@Requires(property="eureka.client")
public static class EurekaConfiguration.EurekaDiscoveryConfiguration
extends io.micronaut.discovery.DiscoveryConfiguration
Configuration properties for Eureka client discovery.
-
Field Summary
Fields inherited from class io.micronaut.discovery.DiscoveryConfiguration
DEFAULT_ENABLED, PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setUseSecurePort
(boolean useSecurePort) Sets whether the secure port is used for communication.Methods inherited from class io.micronaut.discovery.DiscoveryConfiguration
isEnabled, setEnabled
-
Constructor Details
-
EurekaDiscoveryConfiguration
public EurekaDiscoveryConfiguration()
-
-
Method Details
-
isUseSecurePort
public boolean isUseSecurePort()- Returns:
- Whether the secure port is used for communication.
-
setUseSecurePort
public void setUseSecurePort(boolean useSecurePort) Sets whether the secure port is used for communication.- Parameters:
useSecurePort
- True if the secure port should be used
-