Maybe it's useful for someone.
A very very very simple rest server which converts
http://localhost:8090/look/at/this/in/1into
mainResource look at this in at: 1
I did it in half an hour so it's no comments nor documentation :P. The repo is free to write ;)
Guille