Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 486 for protocols (0.31 sec)

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

      @Test
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

      private fun readResponse(
        hostname: String,
        response: Response,
      ): List<InetAddress> {
        if (response.cacheResponse == null && response.protocol !== Protocol.HTTP_2 && response.protocol !== Protocol.QUIC) {
          Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN)
        }
    
        response.use {
          if (!response.isSuccessful) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        }
    
        @Override public void connectEnd(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) {
          printEvent("connectEnd");
        }
    
        @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy,
            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. docs/fr/docs/deployment/https.md

    * Le cryptage de la connexion se fait au niveau du protocole TCP.
        * C'est une couche en dessous de HTTP.
        * Donc, le certificat et le traitement du cryptage sont faits avant HTTP.
    * TCP ne connaît pas les "domaines", seulement les adresses IP.
        * L'information sur le domaine spécifique demandé se trouve dans les données HTTP.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        val response =
          Response
            .Builder()
            .request(
              Request
                .Builder()
                .url("https://example.com/")
                .build(),
            ).protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
        assertThat(response.body.contentType()).isNull()
        assertThat(response.body.contentLength()).isEqualTo(0L)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SMBProtocolDowngradeException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when an SMB protocol downgrade attack is detected.
     * Indicates that the negotiated protocol version is lower than expected or required.
     *
     * @author mbechler
     *
     */
    public class SMBProtocolDowngradeException extends CIFSException {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Register the SMB URL handler to avoid MalformedURLException
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (!pkgs.contains("jcifs")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs");
            }
        }
    
        @BeforeEach
        void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Base class for SMB Witness Protocol RPC messages as defined in MS-SWN specification.
     * This class extends DcerpcMessage to provide witness-specific RPC operations.
     */
    public abstract class WitnessRpcMessage extends DcerpcMessage {
    
        // MS-SWN Witness Protocol Interface UUID and Version
        /** Witness Protocol Interface UUID from MS-SWN specification */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

      ): Response =
        Response
          .Builder()
          .request(
            Request
              .Builder()
              .url("https://example.com/")
              .build(),
          ).protocol(Protocol.HTTP_1_1)
          .code(code)
          .message("OK")
          .body(responseBody)
          .apply { fn() }
          .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top