Class XpathRequestMatchers

java.lang.Object
org.springframework.test.web.client.match.XpathRequestMatchers

public class XpathRequestMatchers extends Object
Factory methods for request content RequestMatcher implementations that use an XPath expression.

An instance of this class is typically accessed via MockRestRequestMatchers.xpath(String, Object...) or MockRestRequestMatchers.xpath(String, Map, Object...).

Since:
3.2
Author:
Rossen Stoyanchev, Sam Brannen