fr.paris.lutece.portal.service.util
Class AppHTTPSService

java.lang.Object
  extended by fr.paris.lutece.portal.service.util.AppHTTPSService

public final class AppHTTPSService
extends Object

The Class AppHTTPSService.


Method Summary
static String getHTTPSUrl(javax.servlet.http.HttpServletRequest request)
          Returns the HTTPS base url for the site.
static boolean isHTTPSSupportEnabled()
          Returns true if HTTPS is supported, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isHTTPSSupportEnabled

public static boolean isHTTPSSupportEnabled()
Returns true if HTTPS is supported, false otherwise.

Returns:
true if HTTPS is supported, false otherwise.

getHTTPSUrl

public static String getHTTPSUrl(javax.servlet.http.HttpServletRequest request)
Returns the HTTPS base url for the site.

Parameters:
request - the request
Returns:
the HTTPS base url for the site.


Copyright © 2014 Mairie de Paris. All Rights Reserved.