hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: HttpClient & custom host names resolving
Date Wed, 31 Jan 2007 17:19:51 GMT
Hello Erwan,

> I'm still wondering how to select the appropriate
> Protocol once registered, but i'll find out :-)

Either you let the application use the alias, like
http1://.. instead of http://..., or else you modify
HttpClient to twist the protocol of the URLs it gets.
Then you can create multiple HttpClients, and each
one changes the protocol to a different value, thereby
triggering selection of a different implementation.


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

View raw message