Class ProductDetailsBeforeViewHandler

  • All Implemented Interfaces:
    BeforeViewHandlerAdaptee

    public class ProductDetailsBeforeViewHandler
    extends java.lang.Object
    implements BeforeViewHandlerAdaptee
    Product Configuration BeforeViewHandlerAdaptee. Disables browser side caching for product configuration page and product configuration overview page, by setting the corresponding HHTP-Headers.
    Content of the configuration related pages is dynamic, hence caching does not make any sense.
    • Field Detail

      • PRODUCT_CONFIG_PAGE

        public static final java.lang.String PRODUCT_CONFIG_PAGE
        Path to the product configuration page
        See Also:
        Constant Field Values
      • PRODUCT_CONFIG_OVERVIEW_PAGE

        public static final java.lang.String PRODUCT_CONFIG_OVERVIEW_PAGE
        Path to the product configuration overview page
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProductDetailsBeforeViewHandler

        public ProductDetailsBeforeViewHandler()
    • Method Detail

      • beforeView

        public java.lang.String beforeView​(javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response,
                                           org.springframework.ui.ModelMap model,
                                           java.lang.String viewName)
        Specified by:
        beforeView in interface BeforeViewHandlerAdaptee