erome
> -Message d'origine-
> De : Stian Soiland [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 23 mai 2007 17:52
> À : discuss@restlet.tigris.org
> Objet : Re: using org.restlet.Client
>
>
> On 17 May 2007, at 15:23, Jim Alateras wrote:
>
> > Jero
On 17 May 2007, at 15:23, Jim Alateras wrote:
Jerome, I am getting deadlocks when sharing the Client across
multiple requests. Haven't had time to resolve but it seems like a
look in commons-httpclient. I had to revert back to instantiating a
new instance of Client per request.
I experie
origine-
> De : Jim Alateras [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 17 mai 2007 16:24
> À : discuss@restlet.tigris.org
> Objet : Re: using org.restlet.Client
>
> Jerome Louvel wrote:
> > Hi Jim,
> >
> > Client connectors are intended to be shared by mu
Jerome Louvel wrote:
Hi Jim,
Client connectors are intended to be shared by multiple applications and
multiple concurrent requests. As a consequence, they are thread safe.
Jerome, I am getting deadlocks when sharing the Client across multiple
requests. Haven't had time to resolve but it seems
Hi Stian,
> So this part:
>
>public void handle(Request request, Response response) {
> init(request, response);
> ..
> }
>
> Wouldn't tie the client to that particular request and response?
> (That's the impression I got from reading the source, hence I make
> new Clie
On 17 May 2007, at 11:59, Jerome Louvel wrote:
Client connectors are intended to be shared by multiple
applications and
multiple concurrent requests. As a consequence, they are thread safe.
So this part:
public void handle(Request request, Response response) {
init(request, respo
2007 09:13
> À : discuss@restlet.tigris.org
> Objet : using org.restlet.Client
>
> Can I use one instance of org.restlet.Client across multiple
> (possible
> concurrent) requests. (i.e. is it thread-safe).
>
> cheers
>
Can I use one instance of org.restlet.Client across multiple (possible
concurrent) requests. (i.e. is it thread-safe).
cheers
8 matches
Mail list logo