Allow built ServerResponse to throw exception #30818
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Because
ServerResponse.HeadersBuilder::build
uses aBiFunction
, it does not allow for an exception to be thrown. We should introduce a separate functional interface that does allow for exceptions to be thrown.The text was updated successfully, but these errors were encountered: