-
Bug
-
Resolution: Duplicate
-
Major
-
3.0.2.Final
-
None
I've got two root resources like this:
{{
@javax.ws.rs.Path("endpoint/
public class EndpointA {
@javax.ws.rs.GET
public String f() { return getClass().getName(); }
}
}}
{{
@javax.ws.rs.Path("endpoint/{parameter}
/B")
public class EndpointB {
@javax.ws.rs.GET
public String f()
}
}}
When going to the URL /endpoints/FOO/B I get an exception
at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:111) [resteasy-jaxrs-3.0.2.Final.jar:]
This is based on code that works as expected in JAX-RS 1 jersey and I think it should work according to the matching algorithm.
If I don't use a parameter (endpoint/ and endpoint/B) in the path, then it works as expected.