Package org.broadleafcommerce.common.web
Class BroadleafThemeProcessor
java.lang.Object
org.broadleafcommerce.common.web.AbstractBroadleafWebRequestProcessor
org.broadleafcommerce.common.web.BroadleafThemeProcessor
- All Implemented Interfaces:
BroadleafWebRequestProcessor
@Component("blThemeProcessor")
public class BroadleafThemeProcessor
extends AbstractBroadleafWebRequestProcessor
- Author:
- Stanislav Fedorov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.Logprotected BroadleafThemeResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcess(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
-
LOG
protected final org.apache.commons.logging.Log LOG -
themeResolver
-
-
Constructor Details
-
BroadleafThemeProcessor
public BroadleafThemeProcessor()
-
-
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 -
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
-