VishnuPriyaChandraSekar commented on code in PR #4272:
URL: https://github.com/apache/solr/pull/4272#discussion_r3095440475
##########
solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java:
##########
@@ -433,6 +432,31 @@ private String buildUrl(String url) {
return url;
}
+ /**
+ * Get url scheme of host
+ *
+ * <p>Examples:
+ *
+ * <ul>
+ * <li>Returns {@code "https"} when SSL is enabled via configuration.
+ * <li>Returns {@code null} when ssl is disabled or no explicit
configuration is provided in
+ * solr.xml.
+ * </ul>
+ *
+ * @return http or https or null
+ */
+ private String getUrlScheme(NamedList<?> args, StringBuilder sb) {
Review Comment:
That makes sense :)
--
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]