Include scheme name in #toString()

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694622 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-08-07 07:34:58 +00:00
parent 50379ccbc1
commit 3b905dc69c
4 changed files with 4 additions and 4 deletions

View File

@ -188,7 +188,7 @@ public class BasicScheme implements AuthScheme, Serializable {
@Override
public String toString() {
return this.paramMap.toString();
return getName() + this.paramMap.toString();
}
}

View File

@ -442,7 +442,7 @@ public class DigestScheme implements AuthScheme, Serializable {
@Override
public String toString() {
return this.paramMap.toString();
return getName() + this.paramMap.toString();
}
}

View File

@ -248,7 +248,7 @@ public abstract class GGSSchemeBase implements AuthScheme {
@Override
public String toString() {
return "[" + this.state + " " + challenge + ']';
return getName() + "{" + this.state + " " + challenge + '}';
}
}

View File

@ -180,7 +180,7 @@ public class NTLMScheme implements AuthScheme {
@Override
public String toString() {
return "[" + this.state + " " + challenge + ']';
return getName() + "{" + this.state + " " + challenge + '}';
}
}