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/12 08:04:26 UTC
[02/19] httpcomponents-core git commit: Javadocs.
Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1793820 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/3cc3cffa
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/3cc3cffa
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/3cc3cffa
Branch: refs/heads/4.4.x
Commit: 3cc3cffaedc16be81c358abe822c851656db5031
Parents: d32e38d
Author: Gary D. Gregory <gg...@apache.org>
Authored: Thu May 4 15:11:49 2017 +0000
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Fri May 12 09:14:53 2017 +0200
----------------------------------------------------------------------
.../java/org/apache/http/ssl/SSLContextBuilder.java | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/3cc3cffa/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 2fe30b9..22ded79 100644
--- a/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
+++ b/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
@@ -93,6 +93,20 @@ public class SSLContextBuilder {
this.trustmanagers = new LinkedHashSet<TrustManager>();
}
+ /**
+ * Sets the SSLContext algorithm name.
+ *
+ * @param protocol
+ * the SSLContext algorithm name of the requested protocol. See
+ * the SSLContext section in the <a href=
+ * "https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#SSLContext">Java
+ * Cryptography Architecture Standard Algorithm Name
+ * Documentation</a> for more information.
+ * @return this builder
+ * @see <a href=
+ * "https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#SSLContext">Java
+ * Cryptography Architecture Standard Algorithm Name Documentation</a>
+ */
public SSLContextBuilder useProtocol(final String protocol) {
this.protocol = protocol;
return this;