Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for URI (0.06 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      }
    
      @Test
      fun fromUri() {
        val uri = URI("http://username:password@host/path?query#fragment")
        val httpUrl = uri.toHttpUrlOrNull()
        assertThat(httpUrl.toString())
          .isEqualTo("http://username:password@host/path?query#fragment")
      }
    
      @Test
      fun fromUriUnsupportedScheme() {
        val uri = URI("mailto:******@****.***")
        assertThat(uri.toHttpUrlOrNull()).isNull()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            }
        }
    
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("file:")) {
                filePath = "file://" + filePath;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         *
         * @see org.codelibs.robot.client.S2RobotClient#doGet(java.lang.String)
         */
        @Override
        public ResponseData doGet(final String uri) {
            return processRequest(uri, true);
        }
    
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (ftpAuthenticationHolder == null) {
                init();
            }
    
            // start
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    }
                }
            }
        }
    
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            return uri;
        }
    
        protected String geCharSet(final SmbFile file) {
            return charset;
        }
    
        /*
         * (non-Javadoc)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/DfsTest.java

            assertNotNull(ref2);
        }
    
    
        /**
         * @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)
  6. okhttp/src/test/java/okhttp3/CookiesTest.kt

        server.enqueue(MockResponse())
        val serverUrl = urlWithIpAddress(server, "/")
        val androidCookieHandler: CookieHandler =
          object : CookieHandler() {
            override fun get(
              uri: URI,
              map: Map<String, List<String>>,
            ) = mapOf(
              "Cookie" to
                listOf(
                  "\$Version=\"1\"; " +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            }
            return null;
        }
    
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("storage:")) {
                filePath = "storage://" + filePath;
            }
    
            return filePath;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val nullProxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI): List<Proxy>? {
              assertThat(uri.host).isEqualTo(uriHost)
              return null
            }
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) {
              throw AssertionError()
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                // base href
                final String baseHref = getBaseHref(document);
                URI uri;
                try {
                    uri = new URI(baseHref == null ? responseData.getUrl() : baseHref);
                } catch (final Exception e) {
                    uri = new URI(responseData.getUrl());
                }
                final URL url = uri.toURL();
                getChildUrlRules(responseData, resultData).forEach(entry -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    }
                }
            }
        }
    
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            return uri;
        }
    
        protected String geCharSet(final SmbFile file) {
            return charset;
        }
    
        /*
         * (non-Javadoc)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top