I think you will have to do something like this:
@Path("/")
public class Res {
@Path("foo")
public void foo() {
}
@Path("foo.bar")
public void fooBar() {
}
@Path("foo.alpha")
public void fooAlpha() {
}
}
or:
@Path("/")
public class Res {
@Path("foo")
public void foo() {
}
@Path("foo.{suffix}")
public void fooWithSuffix(String suffix) {
}
}
--
Adam Walczak
www.adamwalczak.info
+48 604 188 992