info.magnolia.cms.filters
Class AggregatorFilter

java.lang.Object
  extended by info.magnolia.cms.filters.AbstractMgnlFilter
      extended by info.magnolia.cms.filters.AggregatorFilter
All Implemented Interfaces:
MgnlFilter, javax.servlet.Filter

public class AggregatorFilter
extends AbstractMgnlFilter

Reads the accessed content from the repository and puts it into the AggregationState.

Version:
$Id: AggregatorFilter.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Constructor Summary
AggregatorFilter()
           
 
Method Summary
protected  boolean collect()
          Collect content from the pre configured repository and attach it to the HttpServletRequest.
 void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
 
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setDispatching, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatorFilter

public AggregatorFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in class AbstractMgnlFilter
Throws:
IOException
javax.servlet.ServletException

collect

protected boolean collect()
                   throws javax.jcr.RepositoryException
Collect content from the pre configured repository and attach it to the HttpServletRequest.

Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.