Just like the title
I want to know the difference between conversion service and argument resolver in spring framework.
Please give me some advice.
Thank you.
spring conversionservice
There is a difference in the purpose of use.
Conversion Service is simply for the type transformation between the two types. It is to change Class A's Instance to Class B's Instance.
Argument Resolver is for extracting from Http request
into a specific type.
And depending on the situation, the converters can be used by Argument Resolver.
© 2024 OneMinuteCode. All rights reserved.