Class AppHTTPSService
java.lang.Object
fr.paris.lutece.portal.service.util.AppHTTPSService
The Class AppHTTPSService.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetHTTPSUrl(jakarta.servlet.http.HttpServletRequest request) Returns the HTTPS base url for the site.static booleanReturns true if HTTPS is supported, false otherwise.
-
Method Details
-
isHTTPSSupportEnabled
public static boolean isHTTPSSupportEnabled()Returns true if HTTPS is supported, false otherwise.- Returns:
- true if HTTPS is supported, false otherwise.
-
getHTTPSUrl
Returns the HTTPS base url for the site.- Parameters:
request- the request- Returns:
- the HTTPS base url for the site.
-