You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2017/05/11 18:18:15 UTC
[40/42] httpcomponents-core git commit: Add
org.apache.http.ssl.SSLContextBuilder.toString() for debugging and logging.
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/54aaa3c1
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/54aaa3c1
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/54aaa3c1
Branch: refs/heads/4.4.x
Commit: 54aaa3c1b6ec9ba69dbc826440285fa88f2fb796
Parents: 3effe47
Author: Gary D. Gregory <gg...@apache.org>
Authored: Tue May 9 02:48:30 2017 +0000
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Thu May 11 20:16:44 2017 +0200
----------------------------------------------------------------------
.../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/54aaa3c1/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 + "]";
+ }
+
}