- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for proxyAuthenticator (0.2 sec)
-
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
client.newBuilder() .dns { listOf() } .build() .routeDatabase, ) assertNotSame( client.routeDatabase, client.newBuilder() .proxyAuthenticator { _: Route?, _: Response? -> null } .build() .routeDatabase, ) assertNotSame( client.routeDatabase, client.newBuilder() .protocols(listOf(Protocol.HTTP_1_1))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .proxy(server.toProxyAddress()) .proxyAuthenticator(RecordingOkAuthenticator("password", "Basic")) .hostnameVerifier(RecordingHostnameVerifier()) .build() val request = Request("https://android.com/foo".toHttpUrl())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
tunnelCodec.skipConnectBody(response) when (response.code) { HttpURLConnection.HTTP_OK -> return null HttpURLConnection.HTTP_PROXY_AUTH -> { nextRequest = route.address.proxyAuthenticator.authenticate(route, response) ?: throw IOException("Failed to authenticate with proxy") if ("close".equals(response.header("Connection"), ignoreCase = true)) { return nextRequest
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp/api/okhttp.api
public fun hashCode ()I public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier; public final fun protocols ()Ljava/util/List; public final fun proxy ()Ljava/net/Proxy; public final fun proxyAuthenticator ()Lokhttp3/Authenticator; public final fun proxySelector ()Ljava/net/ProxySelector; public final fun socketFactory ()Ljavax/net/SocketFactory; public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
inTunnel = true, ), ) server.enqueue(MockResponse(inTunnel = true)) server.enqueue(MockResponse(body = "A")) client = client.newBuilder() .proxyAuthenticator(Authenticator.JAVA_NET_AUTHENTICATOR) .proxy(server.toProxyAddress()) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
) server.enqueue(MockResponse(inTunnel = true)) server.enqueue(MockResponse(body = "response body")) val client = client.newBuilder() .proxy(server.toProxyAddress()) .proxyAuthenticator(RecordingOkAuthenticator("password", "Basic")) .build() val url = server.url("/").resolve("//android.com/foo")!! val port = when (url.scheme) { "https" -> 443
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)