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 Details

  • 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: BroadleafWebRequestProcessor
      Process the current request. Examples would be setting the currently logged in customer on the request or handling anonymous customers in session