org.broadleafcommerce.common.web
Class BroadleafRequestContext

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

public class BroadleafRequestContext
extends Object


Field Summary
 Locale javaLocale
           
 
Constructor Summary
BroadleafRequestContext()
           
 
Method Summary
static BroadleafRequestContext getBroadleafRequestContext()
           
 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()
           
 boolean isProductionSandbox()
           
 boolean isSecure()
           
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
Constructor Detail

BroadleafRequestContext

public BroadleafRequestContext()
Method Detail

getBroadleafRequestContext

public static BroadleafRequestContext getBroadleafRequestContext()

setBroadleafRequestContext

public static void setBroadleafRequestContext(BroadleafRequestContext broadleafRequestContext)

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:

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)


Copyright © 2013. All Rights Reserved.