|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.filters.AbstractMgnlFilter info.magnolia.module.templating.RenderingFilter
public class RenderingFilter
Filter responsible for rendering the current aggregation state, by delegating to the appropriate TemplateRenderer or by serving binary content.
Field Summary | |
---|---|
protected RenderingEngine |
renderingEngine
|
Constructor Summary | |
---|---|
RenderingFilter()
|
Method Summary | |
---|---|
void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
|
protected void |
handleResourceRequest(info.magnolia.cms.core.AggregationState aggregationState,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the requested resource and copy it to the ServletOutputStream, bit by bit. |
protected void |
render(info.magnolia.cms.core.Content content,
String templateName,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter |
---|
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatchRules, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setDispatchRules, setEnabled, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RenderingEngine renderingEngine
Constructor Detail |
---|
public RenderingFilter()
Method Detail |
---|
public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in class info.magnolia.cms.filters.AbstractMgnlFilter
IOException
javax.servlet.ServletException
protected void render(info.magnolia.cms.core.Content content, String templateName, javax.servlet.http.HttpServletResponse response) throws IOException, RenderException
IOException
RenderException
protected void handleResourceRequest(info.magnolia.cms.core.AggregationState aggregationState, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
request
- HttpServletRequest as given by the servlet containerresponse
- HttpServletResponse as given by the servlet container
IOException
- standard servlet exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |