I have some entity:
public class Entity {
String name;
String age;
}
and entity's fields come to me as HTTP params:
"name=alex&age=30"
How can i set auto converting HTTP params to my entity's fields with @RequestBody
annotation?
I did it properly with JSON in request body, but I cannot do it with normal HTTP params.
What message converter should I use?