public final class HostnameBasedLocalAddressProvider extends Object implements LocalAddressProvider
Inet4Address.getLocalHost().getHostAddress()
.Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
String |
getLocalAddress() |
public String getLocalAddress()
getLocalAddress
in interface LocalAddressProvider
public Configuration getConfiguration()
getConfiguration
in interface ConfigurationProvider
Copyright © 2017 The Apache Software Foundation. All rights reserved.