jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingo Brunberg ...@fiz-chemie.de>
Subject Re: HttpClient/Authentication 'Caching' in WebdavResource
Date Mon, 22 Mar 2004 15:18:28 GMT
No need to subclass WebdavResource. The client will generally be
maintained between method calls (with the exception of optionsMethod)
as long as the credentials don't change.

Ingo

> Hi all,
> =20
> I would like to keep the same http client in WebdavResource to avoid to =
> (re)authenticate several time and lose execution time,...
> I try to extend WebdavResource and use the protected constructor with =
> HttpClient as parameter but i have an HttpException : 401 access denied =
> but when i use the constructor with Credentials as parameter, it works =
> but i think the client is initialized at every call of setHttpURL(), am =
> i wrong?
> =20
> If i'm not wrong, is there a simply way to do this?
> =20
> Thanks a lot
> =20
> Xavier Frisaye


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Mime
View raw message