Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 119 for Uri (0.02 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

        /**
         * Preprocesses a URI to ensure it has the correct GCS protocol prefix.
         * @param uri the URI to preprocess
         * @return the preprocessed URI with gcs:// prefix
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            }
        }
    
        /**
         * Preprocesses a URI to ensure it's in the correct format for file system access.
         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. 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 URI baseUri = uri;
                getChildUrlRules(responseData, resultData).forEach(entry -> {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 29 07:42:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    import okhttp3.internal.format
    
    class RecordingProxySelector : ProxySelector() {
      @JvmField val proxies = mutableListOf<Proxy>()
    
      val requestedUris = mutableListOf<URI>()
      val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        }
    
        /**
         * Preprocesses the URI before processing the request.
         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("SMB URI is empty. Please provide a valid SMB URI (smb://...).");
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 23.4K bytes
    - Click Count (3)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URI uri = new URI(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getScheme()) || (StringUtil.isNotBlank(server) && !server.equals(uri.getHost()))) {
                    return false;
                }
                int p = uri.getPort();
                if (p == -1) {
                    p = 21;
                }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                .toSet()
                .map { getUserInfo(it) }
                .toSet()
        }
    
        private
        fun <T> invokeGitHubApi(uri: String, klass: Class<T>): T {
            val request = HttpRequest.newBuilder()
                .uri(URI(uri))
                .apply {
                    if (githubToken.isPresent) {
                        header("Authorization", "token ${githubToken.get()}")
                    }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 07:54:08 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile();
            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            return null;
        }
    
        /**
         * Preprocesses a URI to ensure it has the correct storage protocol prefix.
         * @param uri the URI to preprocess
         * @return the preprocessed URI with storage:// prefix
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20K bytes
    - Click Count (2)
Back to Top