Class XpathAssertions
java.lang.Object
org.springframework.test.web.support.AbstractXpathAssertions<WebTestClient.BodyContentSpec>
org.springframework.test.web.reactive.server.XpathAssertions
XPath assertions for the 
WebTestClient.- Since:
- 5.1
- Author:
- Eric Deandrea, Rossen Stoyanchev, Rob Worsnop
- 
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.
- 
Method Details- 
getResponseHeadersDescription copied from class:AbstractXpathAssertionsSubclasses must implement this to provide access to response headers.- Specified by:
- getResponseHeadersin class- AbstractXpathAssertions<WebTestClient.BodyContentSpec>
 
- 
getContentprotected byte[] getContent()Description copied from class:AbstractXpathAssertionsSubclasses must implement this to provide access to the response content.- Specified by:
- getContentin class- AbstractXpathAssertions<WebTestClient.BodyContentSpec>
 
 
-