- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for getHosts (0.05 seconds)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()) .isEqualTo("::1"); // Non-bracketed non-IPv6 works fine. assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x"); assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()) .isEqualTo("::1"); // Non-bracketed non-IPv6 works fine. assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x"); assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* .requireBracketsForIPv6(); * hp.getHost(); // returns "2001:db8::1" * hp.getPort(); // returns 80 * hp.toString(); // returns "[2001:db8::1]:80" * } * * <p>Here are some examples of recognized formats: * * <ul> * <li>example.com * <li>example.com:80 * <li>192.0.2.1 * <li>192.0.2.1:80 * <li>[2001:db8::1] - {@link #getHost()} omits brackets
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
final int pos = path.indexOf('/', 6); final URI uri = new URI(pos == -1 ? path : path.substring(0, pos)); if (!"ftp".equals(uri.getScheme()) || (StringUtil.isNotBlank(server) && !server.equals(uri.getHost()))) { return false; } int p = uri.getPort(); if (p == -1) { p = 21; } if (port > 0 && port != p) {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 09:30:17 GMT 2026 - 4.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
if (proxy.getUserName() != null) { int hash = (proxy.getUserName() + proxy.getPassword()).hashCode(); buffer.append(hash).append('@'); } buffer.append(proxy.getHost()).append(':').append(proxy.getPort()).append('>'); } // consider the username&password because a repo manager might block artifacts depending on authorization
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:52 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */ default String getHost(final String u) { if (StringUtil.isBlank(u)) { return StringUtil.EMPTY; // empty } String url = u; final String originalUrl = url;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
*/ protected Path buildFilePath(final String exportPath, final String url, final IndexExportFormatter formatter) { try { final URI uri = new URI(url); String host = uri.getHost(); String path = uri.getPath(); if (host == null || host.isEmpty()) { host = "_local"; } if (path == null || path.isEmpty()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java
credentialsProvider.setCredentials(authScope, authentication.getCredentials()); if (authScope.getHost() != null && authScheme != null) { final HttpHost targetHost = new HttpHost(authScope.getSchemeName(), authScope.getHost(), authScope.getPort()); authCache.put(targetHost, authScheme); } } }
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Jan 31 12:23:29 GMT 2026 - 62.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java
credentialsProvider.setCredentials(authScope, authentication.getCredentials()); if (authScope.getHost() != null && authScheme != null) { final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort()); authCache.put(targetHost, authScheme); } } }
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:52 GMT 2026 - 54.4K bytes - Click Count (0)