Aw: Re: UriBuilder encoding

2012-02-13 Thread Stephan Koops
htmlhead/headbodydiv style=font-family: Verdana;font-size: 12.0px;divHi,br//divdivbr//divdivit could be, that the UriBuilder does not respect some encoding settings.br//divdivIf it is a bug, you could create a patch.br//divdivbr//divdivbest regardsbr//divdivnbsp;nbsp;

Re: Re: UriBuilder encoding

2012-02-13 Thread Thomas Mortagne
Thing is I know if it's a bug of if it's what is expected from UriBuilder. org.restlet.ext.jaxrs.internal.core.AbstractUriBuilder does not look at any setting when encoding the characters as far as i can see. On Mon, Feb 13, 2012 at 18:17, Stephan Koops stephan.ko...@web.de wrote:

Re: Re: UriBuilder encoding

2012-02-13 Thread Thomas Mortagne
On Mon, Feb 13, 2012 at 20:00, Thomas Mortagne thomas.morta...@gmail.com wrote: Thing is I know if it's a bug of if it's what is expected from Was I don't know if it's a bug UriBuilder. org.restlet.ext.jaxrs.internal.core.AbstractUriBuilder does not look at any setting when encoding the

Re: UriBuilder encoding

2012-02-12 Thread Thomas Mortagne
, will add this link to my class for reference. Best regards, Thierry Boileau From what I understood this method is supposed to add a new segment and not replace the {somevar}. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/UriBuilder-encoding-tp7230131p7246398

Re: UriBuilder encoding

2012-02-11 Thread Thierry Boileau
: http://restlet-discuss.1400322.n2.nabble.com/UriBuilder-encoding-tp7230131p7246398.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2917417

RE: UriBuilder encoding

2012-02-02 Thread Thomas Mortagne
From what I understood this method is supposed to add a new segment and not replace the {somevar}. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/UriBuilder-encoding-tp7230131p7246398.html Sent from the Restlet Discuss mailing list archive at Nabble.com

RE: UriBuilder encoding

2012-02-01 Thread Koen Maes
in org.restlet.client.data.Reference : /** * Adds a segment at the end of the path. If the current path doesn't end * with a slash character, one is inserted before the new segment value. The * value is automatically encoded if necessary. * * @param value *

RE: UriBuilder encoding

2012-01-31 Thread Thomas Mortagne
org.restlet.data.Reference support setting query parameters but it does not seems to handle uri path in the form /repository/{somevariable}/{another variable} which is my main use case. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/UriBuilder-encoding-tp7230131p7240462.html Sent from

RE: UriBuilder encoding

2012-01-28 Thread Koen Maes
class org.restlet.client.data.Reference has all the functionality you are looking for. You can then assign a Reference directly to a ClientResource : resource.getClientResource().setReference(ref); --