public class DefaultDirectRenderingVoter extends Object implements DirectRenderingVoter
DirectRenderingVoter
that considers only
redirects to be eligible for direct rendering.Constructor and Description |
---|
DefaultDirectRenderingVoter() |
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean renderDirectly(org.springframework.web.servlet.ModelAndView mv, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
DirectRenderingVoter
renderDirectly
in interface DirectRenderingVoter
Exception
Copyright © 2009–2015 Magnolia International Ltd.. All rights reserved.