hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lujianbo <...@git.apache.org>
Subject [GitHub] httpcore pull request #40: add a provider parameter in SSLContextBuilder
Date Fri, 31 Mar 2017 08:31:37 GMT
Github user lujianbo commented on a diff in the pull request:

    https://github.com/apache/httpcore/pull/40#discussion_r109111968
  
    --- Diff: httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java ---
    @@ -272,6 +274,20 @@ public SSLContext build() throws NoSuchAlgorithmException, KeyManagementExceptio
             return sslcontext;
         }
     
    +    public SSLContext buildWithProvider(final Provider provider) throws NoSuchAlgorithmException,
KeyManagementException {
    --- End diff --
    
    buildWithProvider(final String provider) will throw a new NoSuchProviderException.
    
    in order to be compatible with the old interface so add a new interface 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message