I've got
@Path("web-filters/wizard/{type}/{id}/clone") annotation on one class
and
@Path("web-filters/wizard/filters") annotation on the other class.
filters can be passed as type path param.
And my problem is that REST i.e. host-and-etc/web-filters/wizard/filters/123/clone tries to found a path in the second class, co I've got 404. Is there an option to prevent from this?
I can move RESTs from first to second resource, but that is not what I want to do, at least I wish I can do it smarter.
Aucun commentaire:
Enregistrer un commentaire