ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannes Wallnoefer <han...@helma.at>
Subject Re: Connections through a HTTP proxy
Date Wed, 13 Feb 2002 16:11:51 GMT
Olivier Sarrat wrote:

>> Yes, I think we should add a method with your code for setting the HTTP
>> proxy to XmlRpcClient.
>>
>> System.setProperty() is a static method and it sets the property for the
>> whole runtime, so it won't be possible to set the proxy per client
>> instance. I would propose to add a static method
>>
>>  public static void setHttpProxy (String host, int port, String auth)
>>
>> to XmlRpcClient.
>>
>> Hannes
>>
>>
>
> True, this method should be static.
>
> I would just propose a slightly different method :
>
> public static void setHttpProxy (String host, int port, String name, 
> String password)
>
> ... in order to bind the coding of the proxyAuthorization String. 
> (which used a weird class (sun.misc.BASE64Encoder) a user in a hurry 
> wouldn't like to look for)


Alright, sure. I wasn't thinking ;-)

Hannes

>
> Olivier.
>



Mime
View raw message