org.broadleafcommerce.common.util
Class UrlUtil

java.lang.Object
  extended by org.broadleafcommerce.common.util.UrlUtil

public class UrlUtil
extends Object


Constructor Summary
UrlUtil()
           
 
Method Summary
static String fixRedirectUrl(String contextPath, String url)
          If the url does not include "//" then the system will ensure that the application context is added to the start of the URL.
static String generateUrlKey(String toConvert)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlUtil

public UrlUtil()
Method Detail

generateUrlKey

public static String generateUrlKey(String toConvert)

fixRedirectUrl

public static String fixRedirectUrl(String contextPath,
                                    String url)
If the url does not include "//" then the system will ensure that the application context is added to the start of the URL.

Parameters:
url -
Returns:


Copyright © 2013. All Rights Reserved.