Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 194 for getHost (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                            }
                        }
    
                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getProtocol());
                        p.setPort(proxy.getPort());
                        p.setNonProxyHosts(proxy.getNonProxyHosts());
                        p.setUserName(proxy.getUsername());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

    public interface FessTransformer {
    
        Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
    
        FessConfig getFessConfig();
    
        Logger getLogger();
    
        default String getHost(final String u) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            final String originalUrl = url;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        }
    
        private ProxyInfo proxyInfo(ArtifactRepository repository) {
            ProxyInfo proxyInfo = new ProxyInfo();
            proxyInfo.setHost(repository.getProxy().getHost());
            proxyInfo.setType(repository.getProxy().getProtocol());
            proxyInfo.setPort(repository.getProxy().getPort());
            proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts());
            proxyInfo.setUserName(repository.getProxy().getUserName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    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
            Authentication auth = repository.getAuthentication();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DfsTest.java

    
        /**
         * @return
         * @throws URISyntaxException
         */
        private boolean isStandalone () throws URISyntaxException {
            URI uri = new URI(getTestShareURL());
            return uri.getHost().equals(getTestServer());
        }
    
    
        @Test
        public void resolveShare () throws CIFSException, URISyntaxException {
            String dfsTestSharePath = getDFSTestSharePath();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  7. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                proxySelector.add(
                        new org.eclipse.aether.repository.Proxy(
                                proxy.getProtocol(), proxy.getHost(), proxy.getPort(), authBuilder.build()),
                        proxy.getNonProxyHosts());
            }
            sessionBuilder.setProxySelector(proxySelector);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            if (proxy != null) {
                sb.append(LS)
                        .append("    proxy: ")
                        .append(proxy.getHost())
                        .append(':')
                        .append(proxy.getPort());
            }
    
            if (snapshots != null) {
                sb.append(LS).append("snapshots: [enabled => ").append(snapshots.isEnabled());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                value = "http:" + urlStr;
            } else {
                value = urlStr;
            }
            try {
                final URL url = new java.net.URL(value);
                final String host = url.getHost();
                if (StringUtil.isBlank(host) || "http".equalsIgnoreCase(host) || "https".equalsIgnoreCase(host)) {
                    return false;
                }
            } catch (final MalformedURLException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top