org.apache.wicket.markup.html
Interface IHeaderResponseDecorator


public interface IHeaderResponseDecorator

Setting an IHeaderResponseDecorator on an application allows you to wrap any IHeaderResponse created by Wicket in a separate implementation that incrementally adds functionality to the IHeaderResponse that is used by all IHeaderContributor components or behaviors. Everywhere that Wicket creates an instance of IHeaderResponse, it will call to your application and give it the opportunity to decorate that IHeaderResponse before using it.

Author:
Jeremy Thomerson
See Also:
IHeaderResponse, DecoratingHeaderResponse

Method Summary
 IHeaderResponse decorate(IHeaderResponse response)
          The method that does the decorating of the IHeaderResponse.
 

Method Detail

decorate

IHeaderResponse decorate(IHeaderResponse response)
The method that does the decorating of the IHeaderResponse.

Parameters:
response - the original response created by Wicket
Returns:
the response to be used by IHeaderContributors


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.