org.broadleafcommerce.common.web.filter
Class TranslationRequestProcessor
java.lang.Object
org.broadleafcommerce.common.web.AbstractBroadleafWebRequestProcessor
org.broadleafcommerce.common.web.filter.TranslationRequestProcessor
- All Implemented Interfaces:
- BroadleafWebRequestProcessor
@Component(value="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
|
Method Summary |
void |
process(org.springframework.web.context.request.WebRequest request)
Process the current request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
translationService
protected TranslationService translationService
translationEnabled
@Value(value="${i18n.translation.enabled}")
protected boolean translationEnabled
TranslationRequestProcessor
public TranslationRequestProcessor()
process
public void process(org.springframework.web.context.request.WebRequest request)
- Description copied from interface:
BroadleafWebRequestProcessor
- Process the current request. Examples would be setting the currently logged in customer on the request or handling
anonymous customers in session
Copyright © 2013. All Rights Reserved.