Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 23 for fakeurl (0.17 seconds)

  1. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        @DisplayName("URL handles relative paths correctly")
        void testRelativeUrlHandling() throws Exception {
            // Create base URL
            URL baseUrl = new URL(null, "smb://server/share/", handler);
    
            // Test relative path resolution
            URL relativeUrl = new URL(baseUrl, "folder/file.txt");
            assertEquals("smb", relativeUrl.getProtocol());
            assertEquals("server", relativeUrl.getHost());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            String baseUrl = systemProperties.getProperty(SAML_SP_BASE_URL);
            if (StringUtil.isBlank(baseUrl)) {
                baseUrl = "http://localhost:8080";
            }
            if (baseUrl.endsWith("/")) {
                baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
            }
            return baseUrl + path;
        }
    
        /**
         * Gets the SAML settings.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 20.2K bytes
    - Click Count (3)
  3. mockwebserver/README.md

      server.start();
    
      // Ask the server for its URL. You'll need this to make HTTP requests.
      HttpUrl baseUrl = server.url("/v1/chat/");
    
      // Exercise your application code, which should make those HTTP requests.
      // Responses are returned in the same order that they are enqueued.
      Chat chat = new Chat(baseUrl);
    
      chat.loadMore();
      assertEquals("hello, world!", chat.messages());
    
      chat.loadMore();
      chat.loadMore();
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

            final String[] path = referenceClass.getName().split("\\.");
            String baseUrl = url.toExternalForm();
            for (final String element : path) {
                final int pos = baseUrl.lastIndexOf('/');
                baseUrl = baseUrl.substring(0, pos);
            }
            return getTraverser(URLUtil.create(baseUrl + '/'), null, null);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

    ) {
      private val moshi = Moshi.Builder().build()
    
      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
      private val retrofit =
        Retrofit
          .Builder()
          .baseUrl(SslLabsApi.BASE_URL)
          .addConverterFactory(moshiConverterFactory)
          .callFactory(callFactory)
          .build()
    
      private val sslLabsApi = retrofit.create(SslLabsApi::class.java)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. cmd/callhome.go

    			return
    		}
    	}
    }
    
    const (
    	subnetHealthPath = "/api/health/upload"
    )
    
    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    	filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
    	url += "?filename=" + filename
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      /** Though this executor service may hold many threads, they are not executed concurrently. */
      private val tasksExecutor = Executors.newCachedThreadPool(threadFactory("TaskFaker"))
    
      /**
       * True if this task faker has ever had multiple tasks scheduled to run concurrently. Guarded by
       * `this`.
       */
      var isParallel = false
    
      /** Number of calls to [TaskRunner.Backend.execute]. Guarded by `this`. */
      var executeCallCount = 0
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         *
         * @param baseUrl the base URL
         * @param canonicalUrl the canonical URL to normalize
         * @return the normalized canonical URL
         */
        protected String normalizeCanonicalUrl(final String baseUrl, final String canonicalUrl) {
            try {
                final URI baseUri = URI.create(baseUrl);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 54.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                } catch (final IOException e) {
                    throw new CrawlingAccessException("Failed to access permission info", e);
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("fileUrl:{} roleType:{}", responseData.getUrl(), roleTypeList);
                }
            }
            return roleTypeList;
        }
    
        /**
         * Extracts role type information from FTP (File Transfer Protocol) response data.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top