public class BroadleafRequestContext extends Object
Modifier and Type | Field and Description |
---|---|
Locale |
javaLocale |
Constructor and Description |
---|
BroadleafRequestContext() |
Modifier and Type | Method and Description |
---|---|
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() |
static Map<String,String[]> |
getRequestParameterMap() |
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) |
public Locale javaLocale
public static BroadleafRequestContext getBroadleafRequestContext()
public static void setBroadleafRequestContext(BroadleafRequestContext broadleafRequestContext)
public javax.servlet.http.HttpServletRequest getRequest()
public void setRequest(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)
public Site getSite()
public void setSite(Site site)
public SandBox getSandbox()
public void setSandbox(SandBox sandbox)
public Locale getLocale()
public Locale getJavaLocale()
public void setLocale(Locale locale)
public String getRequestURIWithoutContext()
public boolean isSecure()
public boolean isProductionSandbox()
public Theme getTheme()
public void setTheme(Theme theme)
Copyright © 2013. All rights reserved.