You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately before my message converter can kick in TypeConstrainedMappingJackson2HttpMessageConverter kicks in
I need EntityResponseJsonMessageConverter to convert any EntityReponse to json, and all other resourcesupport classes to be handled by the default TypeConstrainedMappingJackson2HttpMessageConverter
Can i change the order of the message converters (have my custom message convertor execute before
TypeConstrainedMappingJackson2HttpMessageConverter). How do i set the priority on a message converter (TypeConstrainedMappingJackson2HttpMessageConverter). I am using spring boot.
Appreciate the help.
Thank you
The text was updated successfully, but these errors were encountered:
odrotbohm
changed the title
TypeConstrainedMappingJackson2HttpMessageConverter overrides custom json messageconvertor
TypeConstrainedMappingJackson2HttpMessageConverter overrides custom HttpMessageConverter
Aug 20, 2018
I have a custom message convertor that is supposed to convert the following class (EntityResponse ) to application/json
controller returns=> class EntityResponse extends ResourceSupport
@produces=>application/json
custom message converter=>
Unfortunately before my message converter can kick in TypeConstrainedMappingJackson2HttpMessageConverter kicks in
I need EntityResponseJsonMessageConverter to convert any EntityReponse to json, and all other resourcesupport classes to be handled by the default TypeConstrainedMappingJackson2HttpMessageConverter
Can i change the order of the message converters (have my custom message convertor execute before
TypeConstrainedMappingJackson2HttpMessageConverter). How do i set the priority on a message converter (TypeConstrainedMappingJackson2HttpMessageConverter). I am using spring boot.
Appreciate the help.
Thank you
The text was updated successfully, but these errors were encountered: