Generated by
JDiff

Class org.springframework.mock.http.server.reactive.MockServerHttpResponse

The superclass changed from java.lang.Object to org.springframework.http.server.reactive.AbstractServerHttpResponse.
Removed interface org.springframework.http.server.reactive.ServerHttpResponse.

Removed Methods
<any> getBodyWithFlush()  
 

Added Methods
void applyCookies()  
void applyHeaders()  
void applyStatusCode()  
void setWriteHandler(Function<<any>, <any>>) Configure a custom handler for writing the request body.
<any> writeAndFlushWithInternal(<any>)  
<any> writeWithInternal(<any>)  
 

Changed Methods
void beforeCommit(Supplier<? extends <any>>) Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
DataBufferFactory bufferFactory() Method was locally defined, but is now inherited from AbstractServerHttpResponse. Change from non-final to final.
 
String encodeUrl(String) Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
MultiValueMap<String, ResponseCookie> getCookies() Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
HttpHeaders getHeaders() Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
HttpStatus getStatusCode() Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
void registerUrlEncoder(Function<String, String>) Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
boolean setStatusCode(HttpStatus) Method was locally defined, but is now inherited from AbstractServerHttpResponse.  
<any> writeAndFlushWith(<any>) Method was locally defined, but is now inherited from AbstractServerHttpResponse. Change from non-final to final.
 
<any> writeWith(<any>) Method was locally defined, but is now inherited from AbstractServerHttpResponse. Change from non-final to final.