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
On Sat, Feb 11, 2012 at 17:33, Thierry Boileau
thierry.boil...@noelios.com wrote:
Hello Thomas,
the URI Builder seems to %encode characters according to the Latin1
character set, whereas Firefow encodes according to UTF-8, which fit the way
the query is read by default on server side. There
Hello Thomas,
the URI Builder seems to %encode characters according to the Latin1
character set, whereas Firefow encodes according to UTF-8, which fit the
way the query is read by default on server side. There is a mismatch there.
You can still, on server side, specify the character set used to
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
*
Hi,
sorry to answer only now, looks like I don't receive any mail from the
mailing list, I need to look at it.
Not sure in which module to find org.restlet.client.data.Reference or do you
mean org.restlet.data.Reference which I found in org.restlet jar file ?
I can see
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