204205206207208209210211
if (username == null) throw new NullPointerException("username is null"); if (password == null) throw new NullPointerException("password is null"); this.authentication = new BasicAuthentication(username, password); return this; }