- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setHostnameVerifier (0.06 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
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) val reader = BufferedReader(InputStreamReader(connection.inputStream, StandardCharsets.UTF_8))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
if (this.connection instanceof HttpsURLConnection) { if (hv != null) { ((HttpsURLConnection) this.connection).setHostnameVerifier(hv); } if (ssf != null) { ((HttpsURLConnection) this.connection).setSSLSocketFactory(ssf); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0)