arturobernalg commented on a change in pull request #337:
URL:
https://github.com/apache/httpcomponents-core/pull/337#discussion_r765482674
##########
File path: httpcore5/src/main/java/org/apache/hc/core5/http/ssl/TLS.java
##########
@@ -94,4 +94,14 @@ public static ProtocolVersion parse(final String s) throws
ParseException {
return enabledProtocols.toArray(new String[0]);
}
+ /**
+ * Check if a given protocol is enabled.
+ *
+ * @return {@code true} if the given protocol is enabled, otherwise return
{@code false}.
+ * @since 5.2
+ */
+ public static boolean isEnable(final String protocol) {
Review comment:
changed.
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]