arturobernalg commented on a change in pull request #337:
URL: 
https://github.com/apache/httpcomponents-core/pull/337#discussion_r765663620



##########
File path: httpcore5/src/main/java/org/apache/hc/core5/http/ssl/TLS.java
##########
@@ -94,4 +94,15 @@ public static ProtocolVersion parse(final String s) throws 
ParseException {
         return enabledProtocols.toArray(new String[0]);
     }
 
+    /**
+     * Check if a given protocol is considered secure and is enabled by 
default.
+     *
+     * @return {@code true} if the given protocol is secure and enabled, 
otherwise return {@code
+     * false}.
+     * @since 5.2
+     */
+    public static boolean isSecureAndEnabled(final String protocol) {

Review comment:
       HI @ok2c 
   I see. I change the name in favor of `isSecure`. 
   TY




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to