public static interface WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B,S>>
| Modifier and Type | Method and Description | 
|---|---|
<T extends S> | 
consumeWith(Consumer<EntityExchangeResult<B>> consumer)
Assert the exchange result with the given  
Consumer. | 
<T extends S> | 
isEqualTo(B expected)
Assert the extracted body is equal to the given value. 
 | 
EntityExchangeResult<B> | 
returnResult()
Return the exchange result with the decoded body. 
 | 
<T extends S> T isEqualTo(B expected)
<T extends S> T consumeWith(Consumer<EntityExchangeResult<B>> consumer)
Consumer.EntityExchangeResult<B> returnResult()