Interface IHeaderResponseDecorator

All Known Implementing Classes:
HeaderResponseDecoratorCollection

public interface IHeaderResponseDecorator
Setting an IHeaderResponseDecorator on an application allows you to wrap any IHeaderResponse created by Wicket in a separate implementation that adds functionality to it when 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:
  • Method Summary

    Modifier and Type
    Method
    Description
    The method that does the decorating of the IHeaderResponse.
  • Method Details

    • decorate

      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