Thanks Oleg and Roland for the quick replies! I agree with your views on the use of System properties to be container friendly, and am currently only interested in simple proxying, and thus should be able to do what I want with the Proxy-Connection directive.

regards
asankha

Roland Weber wrote:
Hi Asankha,

  
I believe HttpCore/NIO extensions does not support the standard Java
system properties that supports proxy servers
(http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html).
    

That is correct.

  
Is this something planned for a future release?
    

No, in core never. In client maybe as an optional feature.
The FAQ for HttpClient still applies in this case:
http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions#head-4808398f4e6d318df33672d886d1f27bd2845277

The next alpha of HttpClient will have an interface
HttpRoutePlanner that can be implemented based on
the system properties. We're not planning to do that
at this time, and it is of course not integrated with
HttpNIO anyway. For what it's worth, I believe that
the HttpRoute related classes in HttpConn are useful
for NIO applications, too. You might want to have a
look at them. The logic for route building with blocking
IO is implemented in the DefaultHttpRequestDirector.

hope that helps,
  Roland

---------------------------------------------------------------------
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]

Reply via email to