- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for JavaNetAuthenticator (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.newBuilder() .proxy(server.proxyAddress) .proxyAuthenticator(JavaNetAuthenticator()) .build() response = getResponse(Request("http://android.com/".toHttpUrl())) } else { client = client .newBuilder() .authenticator(JavaNetAuthenticator()) .build() response = getResponse(newRequest("/")) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
builder = builder.ecdsa256() builder = builder.rsa2048() val heldCertificate: HeldCertificate = builder.build() } @Test fun javaNetAuthenticator() { val authenticator = JavaNetAuthenticator() val response = Response.Builder().build() var request: Request? = authenticator.authenticate(factory.newRoute(), response) request = authenticator.authenticate(null, response)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0)