- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for routes (0.17 sec)
-
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
import okhttp3.Request; import okhttp3.Response; public final class Authenticate { private final OkHttpClient client; public Authenticate() { client = new OkHttpClient.Builder() .authenticator((route, response) -> { if (response.request().header("Authorization") != null) { return null; // Give up, we've already attempted to authenticate. }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Viewed (0)