I'm using spring Data REST . (http://www.springsource.org/spring-data/rest)
My entity id contains "/" in it so trying to do a GET on my entity with entityId(e.g. "thisisanentity/idwithaslashinIt") as path parameter, spring is unable to fetch the correct entity. I get a HTTP 404 in both the cases below.
e.g. GET /myentity/thisisanentity/idwithaslashinIt
HTTP 404(doesnt work with slash in entityId)
URL encoding doesent seem to help either.
i.e. GET /myentity/thisisanentity%2FidwithaslashinIt
HTTP 404(doesnt work even with slash replaced with %2F)
Is there anyway to change default behaviour of path Parameters to sucessfully extract everything after "/myentity/" ?
Also how do i PUT(update) an entity since my entityId has slashes in it?