类的使用
org.springframework.test.web.client.match.XpathRequestMatchers
使用XpathRequestMatchers的程序包 程序包 说明 org.springframework.test.web.client.match Contains built-inRequestMatcher
implementations.org.springframework.test.web.client.match中XpathRequestMatchers的使用
返回XpathRequestMatchers的org.springframework.test.web.client.match中的方法 修饰符和类型 方法 说明 static XpathRequestMatchers
MockRestRequestMatchers. xpath(String expression, Object... args)
Access to request body matchers using an XPath to inspect a specific subset of the body.static XpathRequestMatchers
MockRestRequestMatchers. xpath(String expression, Map<String,String> namespaces, Object... args)
Access to response body matchers using an XPath to inspect a specific subset of the body.