public String[] getServersForURL() throws Exception { String[] servers = getServers() ; String[] result = new String[servers.length]; for (int i=0; i < servers.length; i++) { result[i] = JBossTestUtil.fixHostnameForURL(servers[i]); } return result; }
/** * Returns the JBoss server host from system property "jbosstest.server.host" * in a form suitable for inclusion in URLs (see RFC 2732). * JBAS-8540 */ public String getServerHostForURL() { String hostName = getServerHost() ; return JBossTestUtil.fixHostnameForURL(hostName); } }