Replies: 2 comments
-
/cc @cescoffier (rest-client), @geoand (jackson,rest-client), @gsmet (jackson) |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can try playing with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a REST Client Reactive for a quite old API endpoint, which supports
json
format, however, it returns an incorrect header -Content-type: text/plain;charset=utf-8
.When I'm trying to return an entity, it throws
jakarta.ws.rs.ProcessingException: Response could not be mapped to type class IpernityResponse
.Is there a way to add custom MessageBodyReader or modify response headers before reading?
Right now, I return
String
from a client and then useObjectMapper
to successfully read it.Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions