RE: android applications that use restlet

2010-10-27 Thread Thierry Boileau
hello,

unfortunately you reached the wiki when it was down. Since this has been fixe, 
you should be able to see the doc.
We can cite one application based on Restlet and available in the market place 
: A bon entendeur.
See this page http://www.abonentendeur.com/telechargement.html (in french, 
sorry). You can look for ABE from your handset.


Best regards,
Thierry Boileau

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



RE: 405 Method not allowed doing get after post

2010-10-27 Thread Thierry Boileau
Hello Rob,

The fix is now available in the svn repository (both 2.1 trunk and 2.0 branch). 
It will be part of the 2.0.2 release (coming soon) and next 2.1 M1.

best regards,
Thierry Boileau

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


RE: help, I need my URLS defaulted to https:// not http://

2010-10-27 Thread Thierry Boileau
Hello,

Restlet has defaulted all my URLS to http://something. How do I change this 
so that the default is https://something?
What do you mean by Restlet has defaulted all my URLS to http://something;?
Restlet allows you to define a set of resources. Once that has been done, you 
set up the server connectors  that will serve those resources. First declare 
the supported protocols (http, https, etc), then complete the classpath with 
the jar of the implementations that support these protocols.

Here is some documentation about Spring configuration [1], and connectors [2].
 
Best regards,
Thierry Boileau

[1] 
http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/70-restlet/196-restlet.html
[2] 
http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/325-restlet/37-restlet.html

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


Matching ; in paths.

2010-10-27 Thread Karel Vervaeke
Hi, is there a way to match colons in a path?
Jax-rs' MatrixParams is sitting in my way I'm afraid

My uris look like this: http://localhost/foo/a;b/bar

My attempts so far look like this:

@Path(foo/{params}/bar)
public String fooBarTest1(@PathParam(params) String params) {
 // doesn't work, params = a and the matrix params contain { b: null }
}

@Path(foo/{params:.+}/bar)
public String fooBarTest2(@PathParam(params) String params) {
 // same result
}

I was hoping there was a way to tell restlet / jax-rs that the ;
character has no special meaning

Any hints?
Regards,
Karel

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


RE: String Serialization Issue With GWT

2010-10-27 Thread Thierry Boileau
Hello Brian,

all my apologies for being late.
Thanks a lot for your report, it helps to fix a bug regarding the serialization 
of String values sent by the GWT client.
The fix is available in the svn repository (both 2.1 trunk and 2.0 branch), and 
will be available in the 2.0.2 release (soon), and the 2.1 M1.

Best regards,
Thierry Boileau

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


Re: Matching ; in paths.

2010-10-27 Thread Stephan Koops
Hi Karel,

it is not possible in the JAX-RS extension, because this is the special 
meaning of ;.
you could encode the ; to %3A. See 
http://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters
 
for more details.

best regards
Stephan

Am 27.10.2010 12:30, schrieb Karel Vervaeke:
 Hi, is there a way to match colons in a path?
 Jax-rs' MatrixParams is sitting in my way I'm afraid

 My uris look like this: http://localhost/foo/a;b/bar

 My attempts so far look like this:

 @Path(foo/{params}/bar)
 public String fooBarTest1(@PathParam(params) String params) {
   // doesn't work, params = a and the matrix params contain { b: null }
 }

 @Path(foo/{params:.+}/bar)
 public String fooBarTest2(@PathParam(params) String params) {
   // same result
 }

 I was hoping there was a way to tell restlet / jax-rs that the ;
 character has no special meaning

 Any hints?
 Regards,
 Karel

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