Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for getHosts (0.04 sec)

  1. cmd/api-router.go

    type objectAPIHandlers struct {
    	ObjectAPI func() ObjectLayer
    }
    
    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    // can include the port number if the default value of 80 is not used.
    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    		return
    	}
    
    	zipPath, object, err := splitZipExtensionPath(object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, zipPath)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                                            repository.getId(), repository.getUrl());
    
                            if (!ProxyUtils.validateNonProxyHosts(pi, repo.getHost())) {
                                return proxy;
                            }
                        } else {
                            return proxy;
                        }
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. 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;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. 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()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. 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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. 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)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top