java - JAX-RS: is there a way to handle only certain endpoints RESTfully without rewrite rules? -


i have class extends jax-rs' application. applicationpath "/", overrides requests root, sucks because have lot of other servlets listed in web.xml don't want handle rest. i'd gradually move these existing endpoints on jax-rs, examples i've seen imply can't selectively handle endpoints without url rewrite rules on server.

i move these endpoints such without having rename them, i.e. without having change /stuff/list /rest/stuff/list.

is there other way? i'm using resteasy provider. has resteasy.resources web.xml parameter option can specify resources manually, application applicationpath still needed.