Class ResourceAggregator.RecordedHeaderItemLocation

  • Enclosing class:
    ResourceAggregator

    public static class ResourceAggregator.RecordedHeaderItemLocation
    extends java.lang.Object
    The location in which a HeaderItem is added, consisting of the component/behavior that added the item, the index in the list for that component/behavior at which the item was added and the index in the request.
    Author:
    papegaaij
    • Constructor Detail

      • RecordedHeaderItemLocation

        public RecordedHeaderItemLocation​(java.lang.Object renderBase,
                                          int indexInRenderBase,
                                          int indexInRequest)
        Construct.
        Parameters:
        renderBase - The component or behavior that added the item.
        indexInRenderBase - Indicates the number of items added before this one on the same component or behavior.
        indexInRequest - Indicates the number of items added before this one in the same request.
    • Method Detail

      • getRenderBase

        public java.lang.Object getRenderBase()
        Returns:
        the component or behavior that added the item.
      • getIndexInRenderBase

        public int getIndexInRenderBase()
        Returns:
        the number of items added before this one on the same component or behavior.
      • getIndexInRequest

        public int getIndexInRequest()
        Returns:
        the number of items added before this one in the same request.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object