0
I have a problem here but I do not know if it gives p/ solve . I have a method that has many parameters so I made a kind of filter, and it was like this :
@Get("")
public void findByFilter(Filtro filtro) {
//faz algo
}
the point is that in an application ,Spring for example, when needed to search something by name I would send the following URL : localhost:8080/api? name=xxx but using Vraptor I am obliged to use: localhost:8080/api? filter.name=xxx .
My question is whether there is a way to get Vraptor to understand the URL as Spring, and that my Front-end does not need to know the name of the variable I chose in order to make a request.
Had read this topic, unfortunately does not match the architecture of the project I’m inserted, but helped understand how the tool works, thanks!
– Isaías de Lima Coelho