hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1794492 - /httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Date Tue, 09 May 2017 02:48:30 GMT
Author: ggregory
Date: Tue May  9 02:48:30 2017
New Revision: 1794492

URL: http://svn.apache.org/viewvc?rev=1794492&view=rev
Log:
Add org.apache.http.ssl.SSLContextBuilder.toString() for debugging and logging.

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java?rev=1794492&r1=1794491&r2=1794492&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
(original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Tue May  9 02:48:30 2017
@@ -449,4 +449,13 @@ public class SSLContextBuilder {
 
     }
 
+    /**
+     * @since 4.4.7
+     */
+    @Override
+    public String toString() {
+        return "[provider=" + provider + ", protocol=" + protocol + ", keymanagers=" + keymanagers
+                + ", trustmanagers=" + trustmanagers + ", secureRandom=" + secureRandom +
"]";
+    }
+
 }



Mime
View raw message