@Test public final void testTeiidURLOneSlash() { String SERVER_URL = "mm:/localhost:31000"; assertFalse(TeiidURL.isValidServerURL(SERVER_URL)); }
public static boolean isValidServerURL(String serverURL) { boolean valid = true; try { new TeiidURL(serverURL); } catch (Exception e) { valid = false; } return valid; }
TeiidURL { public static boolean isValidServerURL(String serverURL) { boolean valid = true; try { new TeiidURL(serverURL); } catch (Exception e) { valid = false; } return valid; } }
TeiidURL { public static boolean isValidServerURL(String serverURL) { boolean valid = true; try { new TeiidURL(serverURL); } catch (Exception e) { valid = false; } return valid; } TeiidURL(String serverURL);  TeiidURL(String host, int port, boolean secure); }
TeiidURL { public static boolean isValidServerURL(String serverURL) { boolean valid = true; try { new TeiidURL(serverURL); } catch (Exception e) { valid = false; } return valid; } TeiidURL(String serverURL);  TeiidURL(String host, int port, boolean secure); static boolean isValidServerURL(String serverURL); List<HostInfo> getHostInfo(); String getHosts(); String getPorts(); static int validatePort(String port); static String validatePort(int portNumber); String getAppServerURL(); String toString(); boolean equals(Object obj); int hashCode(); boolean isUsingSSL(); }
TeiidURL { public static boolean isValidServerURL(String serverURL) { boolean valid = true; try { new TeiidURL(serverURL); } catch (Exception e) { valid = false; } return valid; } TeiidURL(String serverURL);  TeiidURL(String host, int port, boolean secure); static boolean isValidServerURL(String serverURL); List<HostInfo> getHostInfo(); String getHosts(); String getPorts(); static int validatePort(String port); static String validatePort(int portNumber); String getAppServerURL(); String toString(); boolean equals(Object obj); int hashCode(); boolean isUsingSSL(); static final String DOT_DELIMITER; static final String DOUBLE_SLASH_DELIMITER; static final String COMMA_DELIMITER; static final String COLON_DELIMITER; static final String BACKSLASH_DELIMITER; static final String DEFAULT_PROTOCOL; static final String SECURE_PROTOCOL; static final String INVALID_FORMAT_SERVER; }