hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [44/50] [abbrv] httpcomponents-core git commit: Javadocs.
Date Tue, 09 May 2017 19:58:36 GMT
Javadocs.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk@1793821 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/bc75d33a
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/bc75d33a
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/bc75d33a

Branch: refs/heads/trunk
Commit: bc75d33a5c879a6bf315517e4fa38d03acc0c117
Parents: 981ad57
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Thu May 4 15:12:30 2017 +0000
Committer: Gary D. Gregory <ggregory@apache.org>
Committed: Thu May 4 15:12:30 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/bc75d33a/httpcore5/src/main/java/org/apache/hc/core5/ssl/SSLContextBuilder.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/ssl/SSLContextBuilder.java b/httpcore5/src/main/java/org/apache/hc/core5/ssl/SSLContextBuilder.java
index 7fe6120..4300ac7 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/ssl/SSLContextBuilder.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/ssl/SSLContextBuilder.java
@@ -94,6 +94,20 @@ public class SSLContextBuilder {
         this.trustmanagers = new LinkedHashSet<>();
     }
 
+    /**
+     * 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 setProtocol(final String protocol) {
         this.protocol = protocol;
         return this;


Mime
View raw message