/** * If preferHTTPS is true, * return https URL unless console is http only. Default https://127.0.0.1:7667/ * If preferHTTPS is false, * return http URL unless console is https only. Default http://127.0.0.1:7657/ * * @since 0.9.34 */ public String getConsoleURL(boolean preferHTTPS) { return preferHTTPS ? getHTTPSConsoleURL() : getHTTPConsoleURL(); }