RE: Understanding Restlet's Threading Model?

2008-03-04 Thread Jerome Louvel
Hi all, Rob is right, the threading strategy depends on the actual server used (Grizzly, Jetty, Simple or the NRE internal one). In general there is a pool of worker threads. This pool has a configurable size so you can generally limit the maximum number of concurrent threads. See this page for

Re: 1.1-M2 maven dependency error for artifact 'com.noelios.restlet.ext.spring'

2008-03-04 Thread Thierry Boileau
Hello all, thanks for reporting these issues. The publis repository has been updated. best regards, Thierry Boileau On Tue, Mar 4, 2008 at 2:47 AM, Todd Nguyen [EMAIL PROTECTED] wrote: Got the same error after upgrading to 1.1-M2 snapshot. Can someone from restlet team fix the build process

Re: 1.1-M2 maven dependency error for artifact 'com.noelios.restlet.ext.spring'

2008-03-04 Thread Rasmus Agerholm
Sorry to bother you again, Thierry, but you forgot to fix the groupId for the com.noelios.restlet.ext.servlet dependency. It should be dependency groupIdcom.noelios.restlet/groupId artifactIdcom.noelios.restlet.ext.servlet/artifactId version1.1-M2/version

Re: 1.1-M2 maven dependency error for artifact 'com.noelios.restlet.ext.spring'

2008-03-04 Thread Thierry Boileau
Hi Rasmus, it should be fixed, thanks again. best regards, Thierry Boileau On Tue, Mar 4, 2008 at 11:23 AM, Rasmus Agerholm [EMAIL PROTECTED] wrote: Sorry to bother you again, Thierry, but you forgot to fix the groupId for the com.noelios.restlet.ext.servlet dependency. It should be

snapshot releases and the maven.restlet.org repository

2008-03-04 Thread Steve Loughran
Hi I'm just starting to build against the 1.1-SNAPSHOT code so as to get in sync with the restlet release schedule, and I have a couple of questions 1. how often does the snapshot get updated? 2. is it possible to tweak the settings on the site so that the expires: header on all the -SNAPSHOT

Re: snapshot releases and the maven.restlet.org repository

2008-03-04 Thread Thierry Boileau
Hello Steve, 1. how often does the snapshot get updated? The public repository (http://maven.restlet.org) is updated on 1st and 15th of each month, except in cases of bug fixing. There is also a private repository which is refreshed with new releases at the moment they are made which mans that

Re: Understanding Restlet's Threading Model?

2008-03-04 Thread John D. Mitchell
On Tue, Mar 4, 2008 at 1:52 AM, Jerome Louvel [EMAIL PROTECTED] wrote: [...] Now, be aware that web browser generally serialize the request to a single target server/domain at least limit the number of concurrent requests sent. Indeed. From

Usage of the latest spring snapshot SpringApplication

2008-03-04 Thread Peter Neubauer
Hi there, I have been using the SpringApplication and extended it to look like public class TestRestApplication extends SpringApplication { public static GeneralDao dao; public TestRestApplication(Component comp) { super(comp); } public void

RE: Usage of the latest spring snapshot SpringApplication

2008-03-04 Thread Jerome Louvel
Hi Peter, Thanks for reporting this bug. It is now fixed in SVN trunk. If you can't use the trunk, just invoke the constructor with a context taken from your component. public TestRestApplication(Component comp) { super(comp.getContext()); } Best regards,

Authentication Header

2008-03-04 Thread Jahid
Hi, On server side, I am trying to set a header which will look like this ABC realm=, challenge-container=salkfadfo823w9283oinfskefn2398wenfdsk; Can anyone tell me how can I achieve that? Here I want to mention that, I dont/can't change the challenge format. So, don't ask me to do that :),

Re: Understanding Restlet's Threading Model?

2008-03-04 Thread Aaron Crow
Hi Rob, Thank you for your reply. I believe the connector I'm using is the Simple one, since I've put com.noelios.restlet.ext.simple as a dependency in my Maven project and I don't believe I'm including any other connectors on the class path. Is there a good way to do a sanity check on this?

Re: Authentication Header

2008-03-04 Thread Rhett Sutphin
Hi, On Mar 4, 2008, at 9:59 AM, Jahid wrote: On server side, I am trying to set a header which will look like this ABC realm=, challenge- container=salkfadfo823w9283oinfskefn2398wenfdsk; Can anyone tell me how can I achieve that? Here I want to mention that, I dont/can't change

AWS auth in 1.1-SNAPSHOT

2008-03-04 Thread Steve Loughran
Is there any particular reason why I'm not allowed to use the AWS auth scheme in the 1.1-SNAPSHOT up on the repository? [sf-startdaemon-debug] INFO: Error while handling an HTTP client call [sf-startdaemon-debug] java.lang.IllegalArgumentException: Challenge scheme HTTP_AWS not supported by the

setting a status description never shows up in the response?

2008-03-04 Thread Jeff Brekke
We are using 1.0.8 and setting a status description in a response. If we use the jetty or the servlet connector, our description is not passed along, but the default is. For example, if we change the 404 description in the response status, it still says Not Found as the decription. But, if we

Authentication: multiple challenges?

2008-03-04 Thread Rhett Sutphin
Hi, According to RFC2616 section 14.47, it should be possible to have multiple challenges in a WWW-Authenticate header. I can't see a way to achieve that with Restlet. Is there a way? Context: I'm trying to protect a collection of resources with both HTTP Basic and a custom

How to use JSONP in Restlet?

2008-03-04 Thread cleverpig
Query 1.2 introduced JSONP support, but on initial read of the release notes, I wasn't completely sure what it was - so for anyone else that might want the Dr Seuss explanation.JSONP is script tag injection, passing the response from the server in to a user specified function. Anyone use JSONP

Reference and reference list

2008-03-04 Thread Leshek
I am looking for reference and reference list guidance, examples ( I think). At the first level of my service my URI pattern is simply AT the root my service is simply /{type}; In the root of my service I just started creating I would like to return a list of links to all available types. I