hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [34/50] httpcomponents-core git commit: Javadocs.
Date Tue, 09 May 2017 20:02:00 GMT
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/2b8fb85c
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/2b8fb85c
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/2b8fb85c

Branch: refs/heads/4.4.x
Commit: 2b8fb85c620561717738d73f4888a9327915c01d
Parents: 89892b8
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Thu May 4 15:11:49 2017 +0000
Committer: Gary D. Gregory <ggregory@apache.org>
Committed: Thu May 4 15:11:49 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/2b8fb85c/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;


Mime
View raw message