Package dmx.fun.spring.webflux
package dmx.fun.spring.webflux
-
ClassDescriptionMaps a domain error of type
Eto an HTTPServerResponse.Maps a success value of typeVto an HTTPServerResponse.Maps dmx-fun outcomes to aResponseEntityfor Spring WebFlux annotation controllers (@RestController), the counterpart ofWebfluxFun(which targetsServerResponsefor functional endpoints).Maps dmx-fun outcomes to Spring WebFluxServerResponsefor functional endpoints, so a handler can returnResult,Try,Option, orValidatedwithout re-implementing status/body conventions per service.Renders dmx-fun failures as RFC 7807ProblemDetailresponses (application/problem+json), so error handling in afun-spring-webfluxapplication produces a standard problem document instead of an ad-hoc body.