> -----Original Message----- > From: Polar Humenn [mailto:[EMAIL PROTECTED] > Sent: 12 March 2007 16:31 > To: [email protected] > Subject: http alternateConnectionFactory > > It seems that the "alternateConnectionFactory" is used to > override the HTTPTransportFactory, > getConnectionFactory(config.getSslClient()) when a > "connectionFactory" element is supplied in a particular > HTTPConduit constructor. > > However, I don't see a pertinent use for this particular > constructor anywhere. Is the alternateConnectionFactory > variable a historical item in which its need has possibly > been transcended?
This is used for unit testing, so as to replace the real URLConnectionFactory with a mocked up version. Similarly for the alternate ServerEngine on the JettyHTTPDestination. /Eoghan
