@Test public void testRenderRequest() throws IOException, ServletException { controller.renderRequest(req, res); Mockito.verify(portletWindowRegistry).disablePersistentWindowStates(req); Mockito.verify(portalRenderingPipeline).renderState(req, res); }
@RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) public void renderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.setStructureStylesheetNameForJavascriptDrivenContentRendering(request); this.setThemeStylesheetVersionForJavascriptDrivenContentRendering(request); this.portletWindowRegistry.disablePersistentWindowStates(request); this.portalRenderingPipeline.renderState(request, response); }
LayoutJsonV43RenderingController { @RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) public void renderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.setStructureStylesheetNameForJavascriptDrivenContentRendering(request); this.setThemeStylesheetVersionForJavascriptDrivenContentRendering(request); this.portletWindowRegistry.disablePersistentWindowStates(request); this.portalRenderingPipeline.renderState(request, response); } }
LayoutJsonV43RenderingController { @RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) public void renderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.setStructureStylesheetNameForJavascriptDrivenContentRendering(request); this.setThemeStylesheetVersionForJavascriptDrivenContentRendering(request); this.portletWindowRegistry.disablePersistentWindowStates(request); this.portalRenderingPipeline.renderState(request, response); }  }
LayoutJsonV43RenderingController { @RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) public void renderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.setStructureStylesheetNameForJavascriptDrivenContentRendering(request); this.setThemeStylesheetVersionForJavascriptDrivenContentRendering(request); this.portletWindowRegistry.disablePersistentWindowStates(request); this.portalRenderingPipeline.renderState(request, response); }  @Autowired @Qualifier("json") void setPortalRenderingPipeline(IPortalRenderingPipeline portalRenderingPipeline); @Autowired void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry); @RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) void renderRequest(HttpServletRequest request, HttpServletResponse response); }
LayoutJsonV43RenderingController { @RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) public void renderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.setStructureStylesheetNameForJavascriptDrivenContentRendering(request); this.setThemeStylesheetVersionForJavascriptDrivenContentRendering(request); this.portletWindowRegistry.disablePersistentWindowStates(request); this.portalRenderingPipeline.renderState(request, response); }  @Autowired @Qualifier("json") void setPortalRenderingPipeline(IPortalRenderingPipeline portalRenderingPipeline); @Autowired void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry); @RequestMapping(value = "/v4-3/dlm/layout.json", method = RequestMethod.GET) void renderRequest(HttpServletRequest request, HttpServletResponse response);  }