Hi there,
I am looking for a simple Java library (having a friendly license; Apache2, MIT, BSD) that I could use for parsing http RESTful requests. I will be taking care of representing the resources but I don't want to reinvent the mapping and the URI transformations, if possible?! I need a simple support for parsing routes, such as:
/search/{query}/page/{pageNo} /list/products/{productId} ...etc
Also, I don't want to use annotations because I am planning to allow the routes to be declared in simple configuration files such as: properties or xml.
The framework that does exactly what I want and I am very used with, is: RESTLET, however its license will not allow me to use parts of it (code) in my open source project. My project will be released under the Apache2 license. Sorry for my English, and I appreciate your answer.
Thank you,