Expose Jackson2CodecSupport mime types for custom override [SPR-15474] #20034
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Daniel Lavoie opened SPR-15474 and commented
Some web services offers JSON content without properly typing the content type. For example, a bad api serving json content but setting the content-type to text/plain. The brand new shiny WebClient relies on the Jackson2CodecSupport to decode the stream. Saldy, there is now way to manually define the supported mime types.
The class Jackson2CodecSupport does not offers any means to override the supported mime types.
I can provide a PR to expose an extension mechanism.
Jackson2JsonDecoder
Jackson2CodecSupport
Affects: 5.0 M1
Referenced from: commits 8231812
The text was updated successfully, but these errors were encountered: