You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Sheetal D <sh...@yahoo.com> on 2006/03/07 06:26:28 UTC

help on Proxy

Hi all,
         I see two HttpClient, and ProxyClient.
  From HttpClient,  proxy is supported. what is the difference between these.
  Just a brief answer is fine.
   
  Thanks.
  Sheetal
   
   
   
   

		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 

Re: help on Proxy

Posted by Roland Weber <ht...@dubioso.net>.
Hello Sheetal,

>          I see two HttpClient, and ProxyClient.
>   From HttpClient,  proxy is supported. what is the difference between these.
>   Just a brief answer is fine.

If you want to send HTTP requests with or without proxy, use HttpClient.

If you want to tunnel non-HTTP protocols like FTP through an
HTTP proxy, use ProxyClient to get a proxied socket connection.

It's in the JavaDocs:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/ProxyClient.html

cheers,
  Roland

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