+ return apiHostName + securePort;
+ }
+
+ public static int getSecurePort() {
+ if (securePort.isEmpty()) {
+ return 443;
+ }
+ return Integer.parseInt(securePort.substring(1, securePort.length()));
+ }
+
+ public static int getPort() {
+ if (port.isEmpty()) {
+ return 80;
+ }
+ return Integer.parseInt(port.substring(1, port.length()));