Open jerseyrobot opened 9 years ago
@glassfishrobot Commented Reported by xwibao
@glassfishrobot Commented xwibao said: Also tested on TomEE (CXF) and WildFly (RESTEasy) - works OK.
I've noticed some other minor differences:
If needed, I can supply a working NetBeans project (though I don't see how to attach files here)
@glassfishrobot Commented michalgajdos said: Thank you for filing the issue, moving to backlog for now.
@glassfishrobot Commented This issue was imported from java.net JIRA JERSEY-2767
Imagine we have the following REST resource. We want the @GET method handle URLs like both "/1" and "/1/foo", so we use a regexp in @Path:
The @GET method works, but @DELETE gets broken (405 Method Not Allowed). Seems like @GET mapping shadows that of @DELETE, and the request is being routed to @GET handler despite HTTP method annotation.
Environment
Oracle JDK 1.8.0_31 GlassFish v4.1 b13 nightly 12-15-2014
Affected Versions
[2.13]