49 lines
1.2 KiB
Java
49 lines
1.2 KiB
Java
package okhttp3.repackaged;
|
|
|
|
import okhttp3.repackaged.internal.Util;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public final class Challenge {
|
|
private final String ahh;
|
|
private final String scheme;
|
|
|
|
public Challenge(String str, String str2) {
|
|
this.scheme = str;
|
|
this.ahh = str2;
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (obj instanceof Challenge) {
|
|
Challenge challenge = (Challenge) obj;
|
|
if (Util.equal(this.scheme, challenge.scheme) && Util.equal(this.ahh, challenge.ahh)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
String str = this.ahh;
|
|
int hashCode = str != null ? str.hashCode() : 0;
|
|
String str2 = this.scheme;
|
|
return ((hashCode + 899) * 31) + (str2 != null ? str2.hashCode() : 0);
|
|
}
|
|
|
|
public final String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(this.scheme);
|
|
sb.append(" realm=\"");
|
|
sb.append(this.ahh);
|
|
sb.append("\"");
|
|
return sb.toString();
|
|
}
|
|
|
|
public final String scheme() {
|
|
return this.scheme;
|
|
}
|
|
|
|
public final String realm() {
|
|
return this.ahh;
|
|
}
|
|
}
|