mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Document how to discard response body with WebTestClient
This commit better documents the ways to discard the response body with `WebTestClient`. Closes gh-35953
This commit is contained in:
+1
-1
@@ -702,7 +702,7 @@ public interface WebTestClient {
|
||||
S attributes(Consumer<Map<String, Object>> attributesConsumer);
|
||||
|
||||
/**
|
||||
* Perform the exchange.
|
||||
* Perform the HTTP exchange and .
|
||||
* @return a spec for expectations on the response
|
||||
*/
|
||||
ResponseSpec exchange();
|
||||
|
||||
Reference in New Issue
Block a user