Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for fakeurl (0.13 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        server.enqueue(
          MockResponse(
            code = 301,
            headers = headersOf("Location", "http://www.fakeurl:" + server.port),
          ),
        )
        server.enqueue(MockResponse())
        val dns = FakeDns()
        dns["fakeurl"] = client.dns.lookup(server.hostName)
        dns["www.fakeurl"] = client.dns.lookup(server.hostName)
        client =
          client
            .newBuilder()
            .dns(dns)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        server.enqueue(
          MockResponse
            .Builder()
            .code(301)
            .setHeader("Location", "http://www.fakeurl:" + server.port)
            .build(),
        )
        server.enqueue(MockResponse())
        val dns = FakeDns()
        dns["fakeurl"] = client.dns.lookup(server.hostName)
        dns["www.fakeurl"] = client.dns.lookup(server.hostName)
        client =
          client
            .newBuilder()
            .dns(dns)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Configure SMB context and connection URL
            String host = sambaContainer.getHost();
            Integer port = sambaContainer.getMappedPort(SMB_PORT);
            baseUrl = "smb://" + host + ":" + port + "/";
    
            log.info("Samba container started - Base URL: {}", baseUrl);
    
            // Create authentication context - try guest auth first for broader compatibility
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  4. internal/config/subnet/config.go

    	}
    	os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL)
    }
    
    // Update - in-place update with new license and registration information.
    func (c *Config) Update(ncfg Config, isDevEnv bool) {
    	configLock.Lock()
    	defer configLock.Unlock()
    
    	c.License = ncfg.License
    	c.APIKey = ncfg.APIKey
    	c.Proxy = ncfg.Proxy
    	c.transport = ncfg.transport
    	c.BaseURL = baseURL
    
    	if isDevEnv {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            String baseUrl = systemProperties.getProperty(OIC_BASE_URL);
            if (StringUtil.isBlank(baseUrl)) {
                baseUrl = "http://localhost:8080";
            }
            if (baseUrl.endsWith("/")) {
                baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
            }
            return baseUrl + "/sso/";
        }
    
        /**
         * Gets the OpenID Connect scope.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/net/URLUtil.java

         *
         * @param fileUrl
         *            The URL of the Jar file. Must not be {@literal null}.
         * @return The {@link File} of the Jar file.
         */
        public static File toFile(final URL fileUrl) {
            assertArgumentNotNull("fileUrl", fileUrl);
    
            try {
                final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * http://localhost:53203/oauth/}, passing the same port to this class’ constructor.
     */
    public final class SlackApi {
      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  9. 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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  10. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top