Dear all,
I've go the following Path-Annotation for my Delete-Method using REST and CXF
2.4.2
@DELETE
@Path("/{userid:.+}/univids/{univid:.+}")
public Response deleteUnivId(@PathParam("userid") final String userId,
@PathParam("univid") final String univid,
@QueryParam("affiliateId") final String
affiliateId)
[...]
It works properly for many cases.
Now I like to send this delete-call
/v1/univids/Franki/univids///TOP49
Unfortunately, I got only 'TOP49' within my method for the PathParam univId.
The tomcat-access-log looks fine:
[...]
[07/Sep/2011:15:01:16 +0200] "DELETE /v1/univids/Franki/univids///TOP49
HTTP/1.1" 404 - "null" "GraphicalHttpClient 1.0.5 (Macintosh; Mac OS X 10.6.8;
de_DE)"
Anybody out there who might help?
Any help will be appreciated.
Regards,
Christian