类的使用
org.springframework.test.web.servlet.result.XpathResultMatchers
使用XpathResultMatchers的程序包 程序包 说明 org.springframework.test.web.servlet.result Contains built-inResultMatcher
andResultHandler
implementations.org.springframework.test.web.servlet.result中XpathResultMatchers的使用
返回XpathResultMatchers的org.springframework.test.web.servlet.result中的方法 修饰符和类型 方法 说明 static XpathResultMatchers
MockMvcResultMatchers. xpath(String expression, Object... args)
Access to response body assertions using an XPath expression to inspect a specific subset of the body.static XpathResultMatchers
MockMvcResultMatchers. xpath(String expression, Map<String,String> namespaces, Object... args)
Access to response body assertions using an XPath expression to inspect a specific subset of the body.