Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for getPost (0.14 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost());
        // Non-bracketed non-IPv6 works fine.
        assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost());
        assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost());
    
        // Non-bracketed IPv6 fails.
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. compat/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.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. compat/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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. impl/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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/FessBoot.java

                    fessLogPath = "../../logs";
                }
                op.replace("fess.log.path", fessLogPath.replace("\\", "/"));
            }).asYouLikeIt(resource -> {
                final Host host = resource.getHost();
                if (host instanceof final StandardHost standardHost) {
                    standardHost.setErrorReportValveClass(SuppressErrorReportValve.class.getName());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Handler.java

            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if( port == -1 ) {
                port = getDefaultPort();
            }
            setURL( u, "smb", u.getHost(), port,
                        u.getAuthority(), u.getUserInfo(),
                        path, u.getQuery(), null );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Handler.java

            path = u.getPath();
            ref = u.getRef();
            if ( ref != null ) {
                path += '#' + ref;
            }
            port = u.getPort();
            if ( port == -1 ) {
                port = getDefaultPort();
            }
            setURL(u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 09:14:24 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0())));
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_unsupportedAllPresent() {
        assertThrows(
            UnsupportedOperationException.class, () -> getList().addAll(0, MinimalCollection.of(e0())));
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. compat/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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
      public void testListIterator_tooHigh() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top