Hello;

1) all ClientResource() constructors do uri encoding;

so this resource uri:
uri : http://localhost:8181/volumes/{volume}/select/{select}

becomes this reference inside the client resource:
ref : http://localhost:8181/volumes/%7Bvolume%7D/select/%7Bselect%7D

an when it gets into:
org.restlet.engine.component.ComponentClientDispatcher
protected void doHandle(Request request, Response response) {

then the TemplateDispatcher does not see it as "{}" template any more and hence 
does not do attributes resolution;

2) what is the right way to use templates in ClientResource?

thank you;

Andrei.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2779550

Reply via email to