Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 51 for getHosts (0.06 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                                null,
                                "must be unique but found duplicate proxy with id " + proxy.getId());
                    }
                    validateStringNotEmpty(problems, "proxies.proxy.host", proxy.getHost(), proxy.getId());
                }
            }
        }
    
        private void validateRepositories(SettingsProblemCollector problems, List<Repository> repositories, String prefix) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/HandlerTest.java

            // This happens because the URL class parses "foo" as the host and "/bar" as the path
            assertEquals("/bar", actualPath, "Path should be /bar after URL parsing");
            assertEquals("foo", rel.getHost(), "Host should be 'foo' from the relative spec");
            assertNull(rel.getRef());
        }
    
        static Stream<Arguments> portSpecs() {
            return Stream.of(
                    // spec, expectedPort
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. 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)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
            }
    
            if (repository.getProxy() != null && logger.isDebugEnabled()) {
                logger.debug("Using proxy " + repository.getProxy().getHost() + ":"
                        + repository.getProxy().getPort() + " for " + repository.getUrl());
            }
    
            if (repository.getAuthentication() != null && repository.getProxy() != null) {
                wagon.connect(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/PathValidator.java

            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
                String host = url.getHost();
                if (host == null || host.isEmpty()) {
                    throw new SmbException("SMB URL missing host");
                }
    
                // Validate host format
                if (!isValidHost(host)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
                authBuilder.addUsername(proxy.getUserName()).addPassword(proxy.getPassword());
                result = new Proxy(proxy.getProtocol(), proxy.getHost(), proxy.getPort(), authBuilder.build());
            }
            return result;
        }
    
        public static ArtifactHandler newHandler(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. cmd/bucket-object-lock.go

    		}
    
    		// If this not a WORM enabled bucket, we should return right here.
    		return mode, retainDate, legalHold, ErrNone
    	}
    
    	opts, err := getOpts(ctx, rq, bucket, object)
    	if err != nil {
    		return mode, retainDate, legalHold, toAPIErrorCode(ctx, err)
    	}
    
    	replica := rq.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top