Class CookieAssertions
java.lang.Object
org.springframework.test.web.support.AbstractCookieAssertions<ExchangeResult, WebTestClient.ResponseSpec>
org.springframework.test.web.reactive.server.CookieAssertions
public class CookieAssertions
extends AbstractCookieAssertions<ExchangeResult, WebTestClient.ResponseSpec>
Assertions on cookies of the response.
- Since:
- 5.3
- Author:
- Rossen Stoyanchev, Rob Worsnop
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidassertWithDiagnostics(Runnable assertion) Subclasses must implement this to assert with diagnostics.protected MultiValueMap<String, ResponseCookie> Subclasses must implement this to provide access to response cookies.Methods inherited from class AbstractCookieAssertionsdoesNotExist, domain, domain, exists, getExchangeResult, httpOnly, maxAge, maxAge, partitioned, path, path, sameSite, secure, value, value, valueEquals
- 
Method Details- 
getResponseCookiesDescription copied from class:AbstractCookieAssertionsSubclasses must implement this to provide access to response cookies.- Specified by:
- getResponseCookiesin class- AbstractCookieAssertions<ExchangeResult, WebTestClient.ResponseSpec>
 
- 
assertWithDiagnosticsDescription copied from class:AbstractCookieAssertionsSubclasses must implement this to assert with diagnostics.- Specified by:
- assertWithDiagnosticsin class- AbstractCookieAssertions<ExchangeResult, WebTestClient.ResponseSpec>
 
 
-