HostsFileEntriesProvider() — netty Function Reference
Architecture documentation for the HostsFileEntriesProvider() function in DefaultHostsFileEntriesResolver.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fdf2a7bd_6e8d_457a_0354_94e6dc17fa51["HostsFileEntriesProvider()"] 83c4d971_a890_4486_222f_80e359b1d367["DefaultHostsFileEntriesResolver"] fdf2a7bd_6e8d_457a_0354_94e6dc17fa51 -->|defined in| 83c4d971_a890_4486_222f_80e359b1d367 style fdf2a7bd_6e8d_457a_0354_94e6dc17fa51 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver/src/main/java/io/netty/resolver/DefaultHostsFileEntriesResolver.java lines 139–147
private static HostsFileEntriesProvider parseEntries(HostsFileEntriesProvider.Parser parser) {
if (PlatformDependent.isWindows()) {
// Ony windows there seems to be no standard for the encoding used for the hosts file, so let us
// try multiple until we either were able to parse it or there is none left and so we return an
// empty instance.
return parser.parseSilently(Charset.defaultCharset(), CharsetUtil.UTF_16, CharsetUtil.UTF_8);
}
return parser.parseSilently();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does HostsFileEntriesProvider() do?
HostsFileEntriesProvider() is a function in the netty codebase, defined in resolver/src/main/java/io/netty/resolver/DefaultHostsFileEntriesResolver.java.
Where is HostsFileEntriesProvider() defined?
HostsFileEntriesProvider() is defined in resolver/src/main/java/io/netty/resolver/DefaultHostsFileEntriesResolver.java at line 139.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free