Hi Prashant, Just have a look at the Javadocs, there is a "match(String)" method that you can use. You might need to adjust the matching mode and the default variable to fit your matching needs.
Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : news [mailto:[EMAIL PROTECTED] De la part de prashant Envoye : mercredi 13 aout 2008 16:04 A : [email protected] Objet : Re: URI templates and URI pattern matching in restlet Vincent Ricard <magic <at> magicninja.org> writes: > > Hi Prashant > > > I can extract request path from request object there but how will I match > > that > > REST URI with URI template(which I have hardcoded in my Restlet class) in > > my restlet. > > I'm not sure to understand your need, but the Template.match() method is > not enough? > > Regards, Hi Vincent, Thanks for response.I am not sure how to use Template class to match URI. Can you please provide me any link to tutorial or source example for the same. It would be a great help. Thanks Prashant

