Re: ConnectMethod usage

2008-07-06 Thread Oleg Kalnichevski
On Sun, 2008-07-06 at 14:00 -0700, Mike Cumings wrote: Oleg, Perhaps my last response was a bit misleading. I'm not dealing exclusively with HTTP CONNECTs. This is a special purpose proxy which must handle multiple HTTP methods. I could use ProxyClient as a special case within the

Re: ConnectMethod usage

2008-07-05 Thread Oleg Kalnichevski
On Thu, 2008-07-03 at 15:12 -0700, Mike Cumings wrote: Hello all, I've got a question as to the usage of the ConnectMethod. From the API, it appears that the only non-deprecated way to create a HTTP CONNECT connection is to construct a ConnectMethod instance, passing in a HostConfiguration

Re: ConnectMethod usage

2008-07-05 Thread Mike Cumings
Hi Oleg, I'm well ware of what HTTP CONNECT is used for and how it works. When I added the explicit protocol selection in the snippet of code previously sent out, I was just checking to see if the scheme would e inherited from the host configuration. I had meant to cut that code out prior to

Re: ConnectMethod usage

2008-07-05 Thread Oleg Kalnichevski
On Sat, 2008-07-05 at 12:56 -0700, Mike Cumings wrote: Hi Oleg, I'm well ware of what HTTP CONNECT is used for and how it works. When I added the explicit protocol selection in the snippet of code previously sent out, I was just checking to see if the scheme would e inherited from the host

ConnectMethod usage

2008-07-03 Thread Mike Cumings
Hello all, I've got a question as to the usage of the ConnectMethod. From the API, it appears that the only non-deprecated way to create a HTTP CONNECT connection is to construct a ConnectMethod instance, passing in a HostConfiguration object configured for the target/destination host and port.