- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setHostnameVerifier (0.1 seconds)
-
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); } }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) -
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))
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)