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