Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setSSLSocketFactory (0.07 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        server.enqueue(MockResponse().setBody("abc"))
        val url = server.url("/")
        val connection = url.toUrl().openConnection() as HttpsURLConnection
        connection.setSSLSocketFactory(handshakeCertificates.sslSocketFactory())
        connection.setHostnameVerifier(RecordingHostnameVerifier())
        assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                if (hv != null) {
                    ((HttpsURLConnection) this.connection).setHostnameVerifier(hv);
                }
                if (ssf != null) {
                    ((HttpsURLConnection) this.connection).setSSLSocketFactory(ssf);
                }
            }
    
            this.connection.setRequestMethod(this.method);
            this.headerFields = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

            if (sslSocketFactory != null && connection instanceof HttpsURLConnection) {
                ((HttpsURLConnection) connection).setSSLSocketFactory(sslSocketFactory);
            }
            return connection;
        }
    
        /**
         * Executes the request and processes the response.
         *
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top