Returns the UrlConnector instance appropriately.paramurl instance of JMXServiceURLparamenv map specifying name value pairs return new HttpUrlConnector(url, env);
return new HttpUrlConnector(url, env);
return new HttpsUrlConnector(url, env);