Hi Aron,

You can simply handle this:

Route route = router.attach("/root/{varWithSlashes}", MyResource.class);
router.getTemplate().getVariables().put("varWithSlashes", new
Variable(TYPE_URI_ALL ));

Best regards,
Jerome  

> -----Message d'origine-----
> De : Aron Roberts [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 24 mai 2007 06:52
> À : [email protected]
> Objet : Best practice for handling URI components containing slashes?
> 
>    What is the best practice, vis a vis Restlet's use of URI 
> Templates, in handling a URI component that itself includes forward 
> slashes?
> 
>    Reason for asking: the globally unique identifiers of data 
> items in 
> Google's GData world - to which we wish to refer in a RESTful service 
> - are themselves URIs, as described in this Google Groups posting:
>  
> http://groups.google.com/group/google-calendar-help-dataapi/br
owse_thread/thread/9a97308d92fdf0f2/
> 
> Aron

Reply via email to