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;
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:
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
, 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
:
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
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
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
*
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
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);
--
9 matches
Mail list logo