@UnstableApi
public interface HostsFileEntriesResolver
Modifier and Type | Field and Description |
---|---|
static HostsFileEntriesResolver |
DEFAULT
Default instance: a
DefaultHostsFileEntriesResolver . |
Modifier and Type | Method and Description |
---|---|
InetAddress |
address(String inetHost,
ResolvedAddressTypes resolvedAddressTypes)
Resolve the address of a hostname against the entries in a hosts file, depending on some address types.
|
static final HostsFileEntriesResolver DEFAULT
DefaultHostsFileEntriesResolver
.InetAddress address(String inetHost, ResolvedAddressTypes resolvedAddressTypes)
inetHost
- the hostname to resolveresolvedAddressTypes
- the address types to resolveCopyright © 2008–2019 The Netty Project. All rights reserved.