Package org.apache.synapse.commons.evaluators.source

## Class HeaderTextRetriever

- java.lang.Object
- - org.apache.synapse.commons.evaluators.source.HeaderTextRetriever

- All Implemented Interfaces:
    `SourceTextRetriever`

      public class HeaderTextRetriever
      extends Object
      implements SourceTextRetriever

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `HeaderTextRetriever​(String source)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getSource()` |
    `String` | `getSourceText​(EvaluatorContext context)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HeaderTextRetriever

          public HeaderTextRetriever​(String source)

  - ### Method Detail

    - #### getSourceText

          public String getSourceText​(EvaluatorContext context)
                               throws EvaluatorException

      Specified by:
        `getSourceText` in interface `SourceTextRetriever`
      Throws:
        `EvaluatorException`

    - #### getSource

          public String getSource()

      Specified by:
        `getSource` in interface `SourceTextRetriever`