hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1694622 - in /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth: BasicScheme.java DigestScheme.java GGSSchemeBase.java NTLMScheme.java
Date Fri, 07 Aug 2015 07:34:59 GMT
Author: olegk
Date: Fri Aug  7 07:34:58 2015
New Revision: 1694622

URL: http://svn.apache.org/r1694622
Log:
Include scheme name in #toString()

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/GGSSchemeBase.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMScheme.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java?rev=1694622&r1=1694621&r2=1694622&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java
Fri Aug  7 07:34:58 2015
@@ -188,7 +188,7 @@ public class BasicScheme implements Auth
 
     @Override
     public String toString() {
-        return this.paramMap.toString();
+        return getName() + this.paramMap.toString();
     }
 
 }

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java?rev=1694622&r1=1694621&r2=1694622&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java
Fri Aug  7 07:34:58 2015
@@ -442,7 +442,7 @@ public class DigestScheme implements Aut
 
     @Override
     public String toString() {
-        return this.paramMap.toString();
+        return getName() + this.paramMap.toString();
     }
 
 }

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/GGSSchemeBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/GGSSchemeBase.java?rev=1694622&r1=1694621&r2=1694622&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/GGSSchemeBase.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/GGSSchemeBase.java
Fri Aug  7 07:34:58 2015
@@ -248,7 +248,7 @@ public abstract class GGSSchemeBase impl
 
     @Override
     public String toString() {
-        return "[" + this.state + " " + challenge + ']';
+        return getName() + "{" + this.state + " " + challenge + '}';
     }
 
 }

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMScheme.java?rev=1694622&r1=1694621&r2=1694622&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMScheme.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMScheme.java
Fri Aug  7 07:34:58 2015
@@ -180,7 +180,7 @@ public class NTLMScheme implements AuthS
 
     @Override
     public String toString() {
-        return "[" + this.state + " " + challenge + ']';
+        return getName() + "{" + this.state + " " + challenge + '}';
     }
 
 }



Mime
View raw message