- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getCanonicalHostName (0.07 seconds)
-
build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt
java.net.InetSocketAddress#toString() @defaultMessage avoid DNS lookups by accident: if you have a valid reason, then @SuppressWarnings with that reason so its completely clear java.net.InetAddress#getHostName() java.net.InetAddress#getCanonicalHostName() java.net.InetSocketAddress#getHostName() @ Use getHostString() instead, which avoids a DNS lookup @defaultMessage Do not violate java's access system
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java
public String resolveCanonicalHostname(final String host) throws UnknownHostException { final InetAddress[] addresses = resolve(host); if (addresses.length > 0) { return addresses[0].getCanonicalHostName(); } return host; } /** * Decodes the given host string using the specified encoding. * * @param host the host string to decode
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
CHANGELOG.md
reading the public suffix database would cause subsequent reads to hang when they should have crashed. * Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the host machine's IP address has additional DNS registrations. * New: Create a JPMS-compatible artifact for `JavaNetCookieJar`. Previously, multiple OkHttpCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2)