Interface HeadContributable


public interface HeadContributable
Interface for abstraction that allows to contribute head elements to the page.

As one of typical use cases, a custom valve placed before AggregationValve may set an instance of this to HstRequestContext and so the AggregationValve will be able to gather all the head elements to contribute to the page.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Contribute head elements to the given response.
  • Method Details

    • contributeHeadElements

      void contributeHeadElements(HstResponse rootResponse)
      Contribute head elements to the given response.
      Parameters:
      rootResponse - the root HstResponse through which this can contribute head elements to the page.