Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for webserver (0.34 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .Builder()
            .url(webServer.url("/"))
            .build()
        val response = client.newCall(regularRequest).execute()
        response.close()
        assertThat(webServer.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(webServer.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      /** https://github.com/square/okhttp/issues/5705  */
      @Test
      fun closeWithoutSuccessfulConnect() {
        val request =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

    import okio.ByteString
    import okio.use
    
    /**
     * A one-shot stream from the origin server to the client application with the raw bytes of the
     * response body. Each response body is supported by an active connection to the webserver. This
     * imposes both obligations and limits on the client application.
     *
     * ### The response body must be closed.
     *
     * Each response body is backed by a limited resource like a socket (live network responses) or
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * authentication.
     *
     * ### Host
     *
     * The host identifies the webserver that serves the URL's resource. It is either a hostname like
     * `square.com` or `localhost`, an IPv4 address like `192.168.0.1`, or an IPv6 address like `::1`.
     *
     * Usually a webserver is reachable with multiple identifiers: its IP addresses, registered
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .certificatePinner(certificatePinner)
            .build()
    
        // Add a bad intermediate CA and have that issue a rogue certificate for localhost. Prepare
        // an SSL context for an attacking webserver. It includes both these rogue certificates plus the
        // trusted good certificate above. The attack is that by including the good certificate in the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  5. docs/recipes.md

    each other, corrupt the response cache, and possibly crash your program.
    
    Response caching uses HTTP headers for all configuration. You can add request headers like `Cache-Control: max-stale=3600` and OkHttp's cache will honor them. Your webserver configures how long responses are cached with its own response headers, like `Cache-Control: max-age=9600`. There are cache headers to force a cached response, force a network response, or force the network response to be validated with a conditional...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    dunlop
    dupont
    durban
    durumis.com
    dvag
    dvr
    dvrcam.info
    dvrdns.org
    dy.fi
    dyn-berlin.de
    dyn-ip24.de
    dyn-o-saur.com
    dyn-vpn.de
    dyn.cosidns.de
    dyn.ddnss.de
    dyn.home-webserver.de
    dynalias.com
    dynalias.net
    dynalias.org
    dynamic-dns.info
    dynamisches-dns.de
    dynathome.net
    dyndns-at-home.com
    dyndns-at-work.com
    dyndns-blog.com
    dyndns-free.com
    dyndns-home.com
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the server address.
         * @return The server address.
         */
        public String getServer() {
            return server;
        }
    
        /**
         * Sets the server address.
         * @param server The server address.
         */
        public void setServer(final String server) {
            this.server = server;
        }
    
        /**
         * Returns the port number.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

        }
    
        /**
         * Returns the SMB server address.
         * @return the server address
         */
        public String getServer() {
            return server;
        }
    
        /**
         * Sets the SMB server address.
         * @param server the server address to set
         */
        public void setServer(final String server) {
            this.server = server;
        }
    
        /**
         * Returns the SMB server port.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

        /**
         * Returns the server address.
         * @return The server address.
         */
        public String getServer() {
            return server;
        }
    
        /**
         * Sets the server address.
         * @param server The server address.
         */
        public void setServer(final String server) {
            this.server = server;
        }
    
        /**
         * Returns the port number.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/RequestWithPathTest.java

        }
    
        @Test
        @DisplayName("Test getServer returns correct server name")
        void testGetServer() {
            // Test with mock
            String expectedServer = "server.example.com";
            when(requestWithPath.getServer()).thenReturn(expectedServer);
    
            assertEquals(expectedServer, requestWithPath.getServer());
            verify(requestWithPath, times(1)).getServer();
    
            // Test with implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top