Package org.broadleafcommerce.common.web
Class BroadleafRequestProcessor
java.lang.Object
org.broadleafcommerce.common.web.AbstractBroadleafWebRequestProcessor
org.broadleafcommerce.common.web.BroadleafRequestProcessor
- All Implemented Interfaces:
BroadleafWebRequestProcessor
@Component("blRequestProcessor")
public class BroadleafRequestProcessor
extends AbstractBroadleafWebRequestProcessor
- Author:
- Phillip Verheyden
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BaseUrlResolverprotected BroadleafTimeZoneResolverprotected BroadleafCurrencyResolverprotected DeployBehaviorUtilprotected Map<String,ExtensionManager> protected BroadleafLocaleResolverprotected final org.apache.commons.logging.Logprotected org.springframework.context.MessageSourcestatic Stringprotected BroadleafSandBoxResolverprotected SandBoxServicestatic final Stringprotected booleanprotected BroadleafSiteResolverprotected booleanprotected BroadleafThemeResolverprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearBroadleafSessionAttrs(org.springframework.web.context.request.WebRequest request) protected booleanisSandboxIdValid(String sandboxId) protected booleanisUrlValid(String url) voidpostProcess(org.springframework.web.context.request.WebRequest request) Should be called if work needs to be done after the request has been processed.voidprocess(org.springframework.web.context.request.WebRequest request) Process the current request.
-
Field Details
-
SITE_DISABLE_SANDBOX_PREVIEW
- See Also:
-
REPROCESS_PARAM_NAME
-
LOG
protected final org.apache.commons.logging.Log LOG -
siteResolver
-
localeResolver
-
currencyResolver
-
sandboxResolver
-
themeResolver
-
messageSource
protected org.springframework.context.MessageSource messageSource -
broadleafTimeZoneResolver
-
baseUrlResolver
-
sandBoxService
-
thymeleafThreadLocalCleanupEnabled
@Value("${thymeleaf.threadLocalCleanup.enabled}") protected boolean thymeleafThreadLocalCleanupEnabled -
siteStrictValidateProductionChanges
@Value("${site.strict.validate.production.changes:false}") protected boolean siteStrictValidateProductionChanges -
siteDisableSandboxPreview
@Value("${site.disable.sandbox.preview:false}") protected boolean siteDisableSandboxPreview -
deployBehaviorUtil
-
entityExtensionManagers
-
-
Constructor Details
-
BroadleafRequestProcessor
public BroadleafRequestProcessor()
-
-
Method Details
-
process
public void process(org.springframework.web.context.request.WebRequest request) Description copied from interface:BroadleafWebRequestProcessorProcess the current request. Examples would be setting the currently logged in customer on the request or handling anonymous customers in session -
isUrlValid
-
isSandboxIdValid
-
postProcess
public void postProcess(org.springframework.web.context.request.WebRequest request) Description copied from interface:BroadleafWebRequestProcessorShould be called if work needs to be done after the request has been processed.- Specified by:
postProcessin interfaceBroadleafWebRequestProcessor- Overrides:
postProcessin classAbstractBroadleafWebRequestProcessor
-
clearBroadleafSessionAttrs
protected void clearBroadleafSessionAttrs(org.springframework.web.context.request.WebRequest request)
-