Class ConfigureController


  • @Controller
    @RequestMapping("/**/p/{productCode:.*}/configuratorPage")
    public class ConfigureController
    extends AbstractPageController
    The controller redirects to specific configuration page. If product is configurable the controller takes first one configuration and use its type for redirect. If product is not configurable the controller redirect to 404 page.
    • Constructor Detail

      • ConfigureController

        public ConfigureController()
    • Method Detail

      • productDetail

        @RequestMapping(method=GET)
        public java.lang.String productDetail​(@PathVariable("productCode")
                                              java.lang.String encodedProductCode,
                                              org.springframework.ui.Model model,
                                              javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response)
                                       throws CMSItemNotFoundException,
                                              java.io.UnsupportedEncodingException
        Throws:
        CMSItemNotFoundException
        java.io.UnsupportedEncodingException