com.atlassian.confluence.util.profiling
Interface SitemeshDecorator


public interface SitemeshDecorator

Decorates a Sitemesh Page with a Decorator. This interface is based on PageFilter.


Method Summary
 void applyDecorator(com.opensymphony.module.sitemesh.Page page, com.opensymphony.module.sitemesh.Decorator decorator, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Applies the decorator to the page, writing the result to the response output stream.
 

Method Detail

applyDecorator

void applyDecorator(com.opensymphony.module.sitemesh.Page page,
                    com.opensymphony.module.sitemesh.Decorator decorator,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
Applies the decorator to the page, writing the result to the response output stream.

Parameters:
page - the page to decorate
decorator - the decorator to apply
request - the original request
response - the response where the output should be appended
Throws:
javax.servlet.ServletException
IOException


Copyright © 2003-2011 Atlassian. All Rights Reserved.