Class TranslationRequestProcessor
java.lang.Object
org.broadleafcommerce.common.web.AbstractBroadleafWebRequestProcessor
org.broadleafcommerce.common.web.filter.TranslationRequestProcessor
- All Implemented Interfaces:
BroadleafWebRequestProcessor
@Component("blTranslationRequestProcessor")
public class TranslationRequestProcessor
extends AbstractBroadleafWebRequestProcessor
This processor is responsible for setting up the translation context. It is intended to be used
by both typical Web applications and called from a ServletFilter (such as "TranslationFilter") or
from a portletFilter (such as "TranslationInterceptor")
- Author:
- bpolster
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidprocess(org.springframework.web.context.request.WebRequest request) Process the current request.Methods inherited from class org.broadleafcommerce.common.web.AbstractBroadleafWebRequestProcessor
postProcess
-
Field Details
-
translationService
-
-
Constructor Details
-
TranslationRequestProcessor
public TranslationRequestProcessor()
-
-
Method Details
-
getTranslationEnabled
protected boolean getTranslationEnabled() -
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
-