Class URLRewriteMediatorFactory

  • All Implemented Interfaces:
    MediatorFactory

    public class URLRewriteMediatorFactory
    extends AbstractMediatorFactory
    Creates an instance of the URLRewriteMediator given an XML configuration which adheres to the following grammar.
      <rewrite [inProperty="inputURL"] [outProperty="outputURL"]>
          <rewriterule>
              <condition>
                  evaluator configuration
              </condition> ?
              <action
                  value="value"
                  xpath="xpath"
                  [type="set | append | prepend | replace | remove | remove-query-param"]
                  [fragment="protocol | user | host | port | path | query | ref | full"]
                  [regex="regex"] /> +
          </rewriterule> *
      </rewrite>