You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Lance Frohman <lf...@gmail.com> on 2011/12/12 22:23:15 UTC

commons vfs with http

I am trying to use commons vfs with http, but I am getting some errors.
Are there any examples of this, or any documentation online?
I could not get the http to work with apache httpcomponents,
only commons httpclient.

thanks

Re: commons vfs with http

Posted by Gary Gregory <ga...@gmail.com>.
I looks like you'll need to use a VFS HttpFileSystemConfigBuilder. I
do not know if that is documented anywhere. You best bet is to look at
the VFS source.

Gary

On Mon, Dec 19, 2011 at 3:10 PM, Lance Frohman <lf...@gmail.com> wrote:
> actually what I need is to override the
>
> http.connection-manager.max-per-host
>
> parameter in VFS, can I do that without passing in a BaseFile to
> resolveFile() ?
>
>
>
> On Mon, Dec 19, 2011 at 11:30 AM, Gary Gregory <ga...@gmail.com>wrote:
>
>> You should ask this on their mailing list. AFAIK, the docs are in the
>> zip you download. If the Javadoc is not enough, you can also download
>> the src and build the site yourself and see what additional docs are
>> included.
>>
>> Gary
>>
>> On Mon, Dec 19, 2011 at 1:41 PM, Lance Frohman <lf...@gmail.com> wrote:
>> > Where can I find the documentation for Apache commons http-client? Only
>> the
>> > documentation
>> > for the replacement seems available.
>> >
>> > On Mon, Dec 12, 2011 at 1:51 PM, Gary Gregory <garydgregory@gmail.com
>> >wrote:
>> >
>> >> Vfs is coded to the http-client API which  is not compatible with
>> >> http-components.
>> >>
>> >> What is on the site is all the docs we have. Then there's google ;)
>> >>
>> >> Gary
>> >>
>> >> On Dec 12, 2011, at 16:23, Lance Frohman <lf...@gmail.com> wrote:
>> >>
>> >> > I am trying to use commons vfs with http, but I am getting some
>> errors.
>> >> > Are there any examples of this, or any documentation online?
>> >> > I could not get the http to work with apache httpcomponents,
>> >> > only commons httpclient.
>> >> >
>> >> > thanks
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> >> For additional commands, e-mail: user-help@commons.apache.org
>> >>
>> >>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
>> Spring Batch in Action: http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
Spring Batch in Action: http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

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


Re: commons vfs with http

Posted by Lance Frohman <lf...@gmail.com>.
actually what I need is to override the

http.connection-manager.max-per-host

parameter in VFS, can I do that without passing in a BaseFile to
resolveFile() ?



On Mon, Dec 19, 2011 at 11:30 AM, Gary Gregory <ga...@gmail.com>wrote:

> You should ask this on their mailing list. AFAIK, the docs are in the
> zip you download. If the Javadoc is not enough, you can also download
> the src and build the site yourself and see what additional docs are
> included.
>
> Gary
>
> On Mon, Dec 19, 2011 at 1:41 PM, Lance Frohman <lf...@gmail.com> wrote:
> > Where can I find the documentation for Apache commons http-client? Only
> the
> > documentation
> > for the replacement seems available.
> >
> > On Mon, Dec 12, 2011 at 1:51 PM, Gary Gregory <garydgregory@gmail.com
> >wrote:
> >
> >> Vfs is coded to the http-client API which  is not compatible with
> >> http-components.
> >>
> >> What is on the site is all the docs we have. Then there's google ;)
> >>
> >> Gary
> >>
> >> On Dec 12, 2011, at 16:23, Lance Frohman <lf...@gmail.com> wrote:
> >>
> >> > I am trying to use commons vfs with http, but I am getting some
> errors.
> >> > Are there any examples of this, or any documentation online?
> >> > I could not get the http to work with apache httpcomponents,
> >> > only commons httpclient.
> >> >
> >> > thanks
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: user-help@commons.apache.org
> >>
> >>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
> Spring Batch in Action: http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Re: commons vfs with http

Posted by Gary Gregory <ga...@gmail.com>.
You should ask this on their mailing list. AFAIK, the docs are in the
zip you download. If the Javadoc is not enough, you can also download
the src and build the site yourself and see what additional docs are
included.

Gary

On Mon, Dec 19, 2011 at 1:41 PM, Lance Frohman <lf...@gmail.com> wrote:
> Where can I find the documentation for Apache commons http-client? Only the
> documentation
> for the replacement seems available.
>
> On Mon, Dec 12, 2011 at 1:51 PM, Gary Gregory <ga...@gmail.com>wrote:
>
>> Vfs is coded to the http-client API which  is not compatible with
>> http-components.
>>
>> What is on the site is all the docs we have. Then there's google ;)
>>
>> Gary
>>
>> On Dec 12, 2011, at 16:23, Lance Frohman <lf...@gmail.com> wrote:
>>
>> > I am trying to use commons vfs with http, but I am getting some errors.
>> > Are there any examples of this, or any documentation online?
>> > I could not get the http to work with apache httpcomponents,
>> > only commons httpclient.
>> >
>> > thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
Spring Batch in Action: http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

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


Re: commons vfs with http

Posted by Jörg Schaible <jo...@gmx.de>.
William Speirs wrote:

> There is no commons http-client, 

It is, that's version 3.x

> it is called http components now:
> http://hc.apache.org/

That's version 4.x and it is API-wise something different. vfs uses http-
client 3.x.

- Jörg


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


Re: commons vfs with http

Posted by William Speirs <ws...@apache.org>.
There is no commons http-client, it is called http components now:
http://hc.apache.org/

Bill-
On Dec 19, 2011 1:42 PM, "Lance Frohman" <lf...@gmail.com> wrote:

> Where can I find the documentation for Apache commons http-client? Only the
> documentation
> for the replacement seems available.
>
> On Mon, Dec 12, 2011 at 1:51 PM, Gary Gregory <garydgregory@gmail.com
> >wrote:
>
> > Vfs is coded to the http-client API which  is not compatible with
> > http-components.
> >
> > What is on the site is all the docs we have. Then there's google ;)
> >
> > Gary
> >
> > On Dec 12, 2011, at 16:23, Lance Frohman <lf...@gmail.com> wrote:
> >
> > > I am trying to use commons vfs with http, but I am getting some errors.
> > > Are there any examples of this, or any documentation online?
> > > I could not get the http to work with apache httpcomponents,
> > > only commons httpclient.
> > >
> > > thanks
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
>

Re: commons vfs with http

Posted by Lance Frohman <lf...@gmail.com>.
Where can I find the documentation for Apache commons http-client? Only the
documentation
for the replacement seems available.

On Mon, Dec 12, 2011 at 1:51 PM, Gary Gregory <ga...@gmail.com>wrote:

> Vfs is coded to the http-client API which  is not compatible with
> http-components.
>
> What is on the site is all the docs we have. Then there's google ;)
>
> Gary
>
> On Dec 12, 2011, at 16:23, Lance Frohman <lf...@gmail.com> wrote:
>
> > I am trying to use commons vfs with http, but I am getting some errors.
> > Are there any examples of this, or any documentation online?
> > I could not get the http to work with apache httpcomponents,
> > only commons httpclient.
> >
> > thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Re: commons vfs with http

Posted by Gary Gregory <ga...@gmail.com>.
Vfs is coded to the http-client API which  is not compatible with
http-components.

What is on the site is all the docs we have. Then there's google ;)

Gary

On Dec 12, 2011, at 16:23, Lance Frohman <lf...@gmail.com> wrote:

> I am trying to use commons vfs with http, but I am getting some errors.
> Are there any examples of this, or any documentation online?
> I could not get the http to work with apache httpcomponents,
> only commons httpclient.
>
> thanks

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