Class TranslationInterceptor

java.lang.Object
org.broadleafcommerce.common.web.filter.TranslationInterceptor
All Implemented Interfaces:
org.springframework.web.context.request.WebRequestInterceptor

public class TranslationInterceptor extends Object implements org.springframework.web.context.request.WebRequestInterceptor
Interceptor for use with portlets that calls the TranslationRequestProcessor.
Author:
bpolster
  • Field Details

  • Constructor Details

    • TranslationInterceptor

      public TranslationInterceptor()
  • Method Details

    • preHandle

      public void preHandle(org.springframework.web.context.request.WebRequest request) throws Exception
      Specified by:
      preHandle in interface org.springframework.web.context.request.WebRequestInterceptor
      Throws:
      Exception
    • postHandle

      public void postHandle(org.springframework.web.context.request.WebRequest request, org.springframework.ui.ModelMap model) throws Exception
      Specified by:
      postHandle in interface org.springframework.web.context.request.WebRequestInterceptor
      Throws:
      Exception
    • afterCompletion

      public void afterCompletion(org.springframework.web.context.request.WebRequest request, Exception ex) throws Exception
      Specified by:
      afterCompletion in interface org.springframework.web.context.request.WebRequestInterceptor
      Throws:
      Exception