+ 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()));
+ }
+
+ public static String getSuffix() {
+ return suffix;
+ }
+
+ public static String getSupportMailAddress() {
+ return "support@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
+ }
+
+ public static String getBoardMailAddress() {
+ return "board@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");