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

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

public class AppHTTPSService
extends java.lang.Object


Constructor Summary
AppHTTPSService()
           
 
Method Summary
static java.lang.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
 

Constructor Detail

AppHTTPSService

public AppHTTPSService()
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 java.lang.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 © 2012 Mairie de Paris. All Rights Reserved.