Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UserName (0.14 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

      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;
        }
    
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 05 07:46:46 GMT 2018
    - 2.1K bytes
    - Viewed (0)
Back to top