// ---------- Content inclusion stacking -----------------------------------
public ContentData pushContent(Resource resource,
RequestPathInfo requestPathInfo) {
BufferProvider parent;
if (currentContentData != null) {
if (contentDataStack == null) {
contentDataStack = new LinkedList<ContentData>();
} else if (contentDataStack.size() >= maxInclusionCounter) {
throw new RecursionTooDeepException(