- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BasicAuthInterceptor (2.12 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
} } public static void main(String... args) throws Exception { new PreemptiveAuth().run(); } static final class BasicAuthInterceptor implements Interceptor { private final String credentials; private final String host; BasicAuthInterceptor(String host, String username, String password) { this.credentials = Credentials.basic(username, password); this.host = host; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0)