You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/05/09 02:48:30 UTC
svn commit: r1794492 -
/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
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 + "]";
+ }
+
}