commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Negoda <...@cdev.ru>
Subject Re: [VFS] unexpected http connect
Date Mon, 02 Oct 2006 11:17:59 GMT
On Mon, 02 Oct 2006 10:06:34 +0200
Mario Ivankovits <mario@ops.co.at> wrote:

> Hi!
> > when I try to create a file object with "http://www.somehost.com/",
> > VFS fails when the host is unreachable (e.g. when not connected to
> > internet)
> > this is because org.apache.commons.vfs.provider.http.HttpFileSystem
> > has a constructor that has an argument HttpClient, whereas it should
> > be an HttpClientFactory
> Hmmm .... I think it's a matter of taste, isn't it?

It's not. I got just the same problem! User must authorize twice at proxy server: first when
using my HttpClient, then using the HttpClient created by vfs. Certainly, there should be
a way to specify an alternative HttpClient outside. 

This is just the point.

> 
> I'll think about changing it as I see the advantage of having a
> FileObject in any case.
> 
> Ciao,
> Mario
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 


-- 
с уважением
Дмитрий Негода
   
ведущий разработчик
ООО "Креативная разработка"
тел.: (8422)79-40-37
   

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


Mime
View raw message