docs: @Override
      @FFDCIgnore(NumberFormatException.class)
      public int getSecureHttpPort(String hostAlias) {
          int pos = hostAlias.lastIndexOf(':');
          if (pos > -1 && pos < hostAlias.length()) {
              try {
                  int port = Integer.valueOf(hostAlias.substring(pos + 1));
                  for (EndpointState state : myEndpoints.values()) {
                      if (state.httpPort == port || state.httpsPort == port) {
                          return state.httpsPort;
                      }
                  }
                  // we didn't find a match in httpEndpoints; lets look in httpProxyRedirects
                  String host = hostAlias.substring(0, pos);
                  Integer httpsPort = HttpProxyRedirect.getRedirectPort(host, port);
                  if (httpsPort != null) {
                      return httpsPort;
                  }
              } catch (NumberFormatException nfe) {
              }
          }
          return -1;
      }