It appears that the URLConnection used in the HTTPConduit is always the subject of of an if(connection instanceof HttpURLConnection) predicate when some things need to be set. My question is, since this is an "http" conduit, and it is specifically based on the HttpURLConnection, why isn't this just set as such? What is the purpose of performing operations on a URLConnection that is not an HttpURLConnection? Is this Conduit used for anything other than HTTP?

Cheers,
-Polar

Reply via email to