Class XpathAssertions
java.lang.Object
org.springframework.test.web.support.AbstractXpathAssertions<RestTestClient.BodyContentSpec>
org.springframework.test.web.servlet.client.XpathAssertions
XPath assertions for the 
RestTestClient.- Since:
- 7.0
- Author:
- Rob Worsnop
- 
Nested Class SummaryNested classes/interfaces inherited from class AbstractXpathAssertionsAbstractXpathAssertions.CheckedExceptionTask
- 
Method SummaryModifier and TypeMethodDescriptionprotected byte[]Subclasses must implement this to provide access to the response content.protected Optional<HttpHeaders> Subclasses must implement this to provide access to response headers.Methods inherited from class AbstractXpathAssertionsassertWith, doesNotExist, equals, exists, getBodySpec, getCharset, getXpathHelper, hashCode, isEqualTo, isEqualTo, isEqualTo, nodeCount, nodeCount, number, string
- 
Method Details- 
getResponseHeadersDescription copied from class:AbstractXpathAssertionsSubclasses must implement this to provide access to response headers.- Specified by:
- getResponseHeadersin class- AbstractXpathAssertions<RestTestClient.BodyContentSpec>
 
- 
getContentprotected byte[] getContent()Description copied from class:AbstractXpathAssertionsSubclasses must implement this to provide access to the response content.- Specified by:
- getContentin class- AbstractXpathAssertions<RestTestClient.BodyContentSpec>
 
 
-