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

# Class URLTextRetriever

java.lang.Object
org.apache.synapse.commons.evaluators.source.URLTextRetriever

All Implemented Interfaces:
  `SourceTextRetriever`

public class URLTextRetriever extends Object implements SourceTextRetriever

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `URLTextRetriever()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getSource()`
  `String`
  `getSourceText(EvaluatorContext context)`
  `void`
  `setSource(String fragment)`

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

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

- ## Constructor Details

  - ### URLTextRetriever

    public URLTextRetriever()

- ## Method Details

  - ### 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`

  - ### setSource

    public void setSource(String fragment)