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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
