Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 202 for getHost (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    if (proxy != null) {
                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getType());
                        p.setPort(proxy.getPort());
                        if (proxy.getAuthentication() != null) {
                            repo = new RemoteRepository.Builder(repo)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         */
        static boolean isExternalRepo(ArtifactRepository originalRepository) {
            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                ProxyInfo proxyInfo = new ProxyInfo();
                                proxyInfo.setHost(proxy.getHost());
                                proxyInfo.setType(proxy.getProtocol());
                                proxyInfo.setPort(proxy.getPort());
                                proxyInfo.setNonProxyHosts(proxy.getNonProxyHosts());
                                proxyInfo.setUserName(proxy.getUsername());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

        /**
         * Return proxy server host name.
         *
         * @return proxy server host name
         */
        public String getHost() {
            return host;
        }
    
        /**
         * Set proxy host name.
         *
         * @param host proxy server host name
         */
        public void setHost(String host) {
            this.host = host;
        }
    
        /**
         * Get user's password used to log in to proxy server.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                if (proxy != null) {
                    org.apache.maven.repository.Proxy p = new org.apache.maven.repository.Proxy();
                    p.setHost(proxy.getHost());
                    p.setProtocol(proxy.getType());
                    p.setPort(proxy.getPort());
                    if (proxy.getAuthentication() != null) {
                        repo = new RemoteRepository.Builder(repo).setProxy(proxy).build();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

        public void test_decodeUrl_null() throws Exception {
            final FessFileTransformer transformer = createInstance();
            assertNull(transformer.decodeUrlAsName(null, true));
        }
    
        public void test_getHost_ok() {
            String url, exp;
            final FessFileTransformer transformer = createInstance();
    
            url = "";
            exp = "";
            assertEquals(exp, transformer.getHostOnFile(url));
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

            isExists = false;
    
            try {
                if( url.getHost().length() == 0 ) {
                } else if( share == null ) {
                    if( getType() == TYPE_WORKGROUP ) {
                        UniAddress.getByName( url.getHost(), true );
                    } else {
                        UniAddress.getByName( url.getHost() ).getHostName();
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  8. 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
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. 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());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HostSpecifier.java

        // IPv6 literals.
        HostAndPort parsedHost = HostAndPort.fromString(specifier);
        Preconditions.checkArgument(!parsedHost.hasPort());
        String host = parsedHost.getHost();
    
        // Try to interpret the specifier as an IP address. Note we build
        // the address rather than using the .is* methods because we want to
        // use InetAddresses.toUriString to convert the result to a string in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top