path

<h3>Explanation:</h3>

The element's content is matched against the request path.

If <tt>isRegExp="true"</tt>, the entire path must match the regular expression. If <tt>isRegExp="false"</tt>, the path must start with the specified string.

When <tt></tt> appears inside a <tt></tt>, the <tt>isRegExp</tt> attribute must not be used.

When placed within an <tt><api></tt> (rather than a <tt><serviceProxy></tt>), you may use a URI template (e.g. <tt>/books/{id}</tt>). The path parameter will be available in scripts via the <tt>pathParam</tt> variable.


Can be used in:

serviceProxy, api, internal, bean and soapProxy

Syntax

<path isRegExp="[false,true]"  >[string]</path >

Sample

<serviceProxy port="2000">
  <path >/bank</path >
  <target host="bank.predic8.de" />
</serviceProxy>