info.magnolia.module.blossom.preexecution
Interface DirectRenderingVoter

All Known Implementing Classes:
DefaultDirectRenderingVoter

public interface DirectRenderingVoter

Voter that decides whether a ModelAndView is to be rendered directly and the rest of page rendering skipped or if it should be put aside and rendered into the page where the paragraph that provided the ModelAndView resides.

Since:
0.5

Method Summary
 boolean renderDirectly(org.springframework.web.servlet.ModelAndView mv, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns true if this ModelAndView should be rendered directly during pre-execution rather than being put aside and rendered into the page.
 

Method Detail

renderDirectly

boolean renderDirectly(org.springframework.web.servlet.ModelAndView mv,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                       throws Exception
Returns true if this ModelAndView should be rendered directly during pre-execution rather than being put aside and rendered into the page.

Throws:
Exception


Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.