Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for setSSLSocketFactory (0.21 seconds)

  1. docs/changelogs/changelog_1x.md

    ##### OkHttp no longer uses the default SSL context.
    
    Applications that want to use the global SSL context with OkHttp should configure their
    OkHttpClient instances with the following:
    
    ```java
    okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
    ```
    
    A simpler solution is to avoid the shared default SSL socket factory. Instead, if you
    need to customize SSL, do so for your specific OkHttpClient instance only.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  2. 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.
         *
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  3. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

            this.dnsResolver = dnsResolver;
        }
    
        /**
         * Sets the SSL socket factory.
         * @param sslSocketFactory The SSL socket factory.
         */
        public void setSslSocketFactory(final LayeredConnectionSocketFactory sslSocketFactory) {
            this.sslSocketFactory = sslSocketFactory;
        }
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  5. 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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                try {
                    final SSLContext sslContext = SSLContextBuilder.create().loadTrustMaterial(TrustAllStrategy.INSTANCE).build();
                    builder.setSSLSocketFactory(SSLConnectionSocketFactoryBuilder.create()
                            .setSslContext(sslContext)
                            .setHostnameVerifier((hostname, session) -> true)
                            .build());
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
Back to Top