cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <>
Subject rest matching patterns
Date Wed, 12 Oct 2011 18:19:53 GMT

i wonder if it is normal (which i don't think if i write this mail) or not:

why cxf is taken the first method matching a uri pattern when a rest service
is called?

as an example is clearer than any speech:

why these patterns are not guarantee to work:

/foo/{id} # id = Long for instance

as the first one will match the second one the result will depend on the
order of declaration and if the second takes the first one an error will
appear, something like bar cannot be converted to Long.

- Romain

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message