hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [48/50] httpcomponents-core git commit: Add org.apache.http.ssl.SSLContextBuilder.toString() for debugging and logging.
Date Tue, 09 May 2017 20:02:14 GMT
Add org.apache.http.ssl.SSLContextBuilder.toString() for debugging and logging.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794492
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/d95ad7cd
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/d95ad7cd
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/d95ad7cd

Branch: refs/heads/4.4.x
Commit: d95ad7cd097ee9de7cd08f9a95fe91e52a654652
Parents: 940f0ed
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Tue May 9 02:48:30 2017 +0000
Committer: Gary D. Gregory <ggregory@apache.org>
Committed: Tue May 9 02:48:30 2017 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/http/ssl/SSLContextBuilder.java    | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/d95ad7cd/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
----------------------------------------------------------------------
diff --git a/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java b/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
index 20d9eee..a2e68c4 100644
--- a/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
+++ b/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
@@ -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