Hi David,
The port value associated with a protocol is the default port for the
protocol (i.e. 80 for HTTP). It is possible to override this value
using the method URI or via the hostConfig. The reason that protocol
is null in the example below is that one has not been set.
Mike
On Nov 6, 2
I'm following the directions for enabling a custom socket factory (the
"easy" one, for self-signed certs). I noticed that the instructions
hardcode the scheme and port for the new protocol. Being somewhat anal,
I thought it would be useful to first get the existing protocol, and
just read the sch