org.broadleafcommerce.common.web
Class BroadleafRequestContext

java.lang.Object
  extended by org.broadleafcommerce.common.web.BroadleafRequestContext

public class BroadleafRequestContext
extends Object


Field Summary
 Currency javaCurrency
           
 Locale javaLocale
           
 
Constructor Summary
BroadleafRequestContext()
           
 
Method Summary
 BroadleafCurrency getBroadleafCurrency()
           
static BroadleafRequestContext getBroadleafRequestContext()
           
 Currency getJavaCurrency()
          Returns the java.util.Currency constructed from the org.broadleafcommerce.common.currency.domain.BroadleafCurrency
 Locale getJavaLocale()
          Returns the java.util.Locale constructed from the org.broadleafcommerce.common.locale.domain.Locale.
 Locale getLocale()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 String getRequestURIWithoutContext()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 SandBox getSandbox()
           
 Site getSite()
           
 Theme getTheme()
           
static boolean hasLocale()
           
 boolean isProductionSandbox()
           
 boolean isSecure()
           
 void setBroadleafCurrency(BroadleafCurrency broadleafCurrency)
           
static void setBroadleafRequestContext(BroadleafRequestContext broadleafRequestContext)
           
 void setLocale(Locale locale)
           
 void setRequest(javax.servlet.http.HttpServletRequest request)
           
 void setResponse(javax.servlet.http.HttpServletResponse response)
           
 void setSandbox(SandBox sandbox)
           
 void setSite(Site site)
           
 void setTheme(Theme theme)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

javaLocale

public Locale javaLocale

javaCurrency

public Currency javaCurrency
Constructor Detail

BroadleafRequestContext

public BroadleafRequestContext()
Method Detail

getBroadleafRequestContext

public static BroadleafRequestContext getBroadleafRequestContext()

setBroadleafRequestContext

public static void setBroadleafRequestContext(BroadleafRequestContext broadleafRequestContext)

hasLocale

public static boolean hasLocale()

getRequest

public javax.servlet.http.HttpServletRequest getRequest()

setRequest

public void setRequest(javax.servlet.http.HttpServletRequest request)

getResponse

public javax.servlet.http.HttpServletResponse getResponse()

setResponse

public void setResponse(javax.servlet.http.HttpServletResponse response)

getSite

public Site getSite()

setSite

public void setSite(Site site)

getSandbox

public SandBox getSandbox()

setSandbox

public void setSandbox(SandBox sandbox)

getLocale

public Locale getLocale()

getJavaLocale

public Locale getJavaLocale()
Returns the java.util.Locale constructed from the org.broadleafcommerce.common.locale.domain.Locale.

Returns:

getJavaCurrency

public Currency getJavaCurrency()
Returns the java.util.Currency constructed from the org.broadleafcommerce.common.currency.domain.BroadleafCurrency

Returns:

setLocale

public void setLocale(Locale locale)

getRequestURIWithoutContext

public String getRequestURIWithoutContext()

isSecure

public boolean isSecure()

isProductionSandbox

public boolean isProductionSandbox()

getTheme

public Theme getTheme()

setTheme

public void setTheme(Theme theme)

getBroadleafCurrency

public BroadleafCurrency getBroadleafCurrency()

setBroadleafCurrency

public void setBroadleafCurrency(BroadleafCurrency broadleafCurrency)


Copyright © 2013. All Rights Reserved.