Oleg: Thanks for the link.
Seems essentially we call the same API setProxy for both http proxy and
socks proxy server
(except HTTP take precedence over SOCKS settings, ie. you call
setProxy(httpServerHost, httpServerPort)
when both http and socks proxy are there) . sounds right to you?
thanks,
Michelle
Oleg Kalnichevski
<[EMAIL PROTECTED]
> To
HttpClient User Discussion
11/17/2006 10:49 <[email protected]
AM >
cc
Please respond to Subject
"HttpClient User Re: Does Apache support socks proxy
Discussion" and reverse proxy?
<httpclient-user@
jakarta.apache.or
g>
On Fri, 2006-11-17 at 10:38 -0600, Erxiang Liu wrote:
> Thanks a lot, Oleg!
>
> Do you happen to know how to call the apache API to use socks proxy?
> Or how to configure the JRE to do it? Any documentation I can refer
> to?
>
http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html
Oleg
>
> thanks,
>
> Michelle.
>
> Inactive hide details for Oleg Kalnichevski <[EMAIL PROTECTED]>Oleg
> Kalnichevski <[EMAIL PROTECTED]>
>
>
> Oleg Kalnichevski <[EMAIL PROTECTED]>
>
> 11/17/2006 10:04 AM
> Please respond to
> "HttpClient User Discussion"
<[email protected]>
>
>
> To
>
> HttpClient User
> Discussion
> <[email protected]>
>
> cc
>
>
>
> Subject
>
> Re: Does Apache
> support socks
> proxy and reverse
> proxy?
>
>
>
> On Thu, 2006-11-16 at 15:44 -0600, Erxiang Liu wrote:
> > Hello, All:
> >
> > A quick question.
> >
> > Seems Apache http client(org.apache.commons.httpclient) supports
> http
> > proxy.
> > The way to do it is to call HostConfiguration.setProxy().
> >
> > Does Apache http client also supports socks 4 proxy ,socks5 proxy
> and
> > reverse proxy?
>
> Michelle,
>
> HttpClient _should_ work with the socks protocol if it is supposed and
> properly configured on the JRE level. We _may_ provide better support
> for the socks protocol in the next major release of HttpClient.
>
> As far as I know one does not need any special support on the client
> side for reverse proxies. Reverse proxies are meant to be completely
> transparent to the HTTP agents.
>
> Oleg
>
> > if so, how to call the apache APIs to do it?
> >
> >
> > thanks a lot!
> >
> > Michelle
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]