public class ServerVersionQuery
extends java.lang.Object
| Constructor and Description |
|---|
ServerVersionQuery() |
| Modifier and Type | Method and Description |
|---|---|
static ApiVersion |
getMythVersion(java.lang.String baseUri)
Gets the api version of the given backend
|
static boolean |
isServerReachable(java.lang.String baseUrl)
Check if the server is reachable
|
public static ApiVersion getMythVersion(java.lang.String baseUri) throws java.io.IOException
baseUri - the backend services api urljava.io.IOException - if an error occurspublic static boolean isServerReachable(java.lang.String baseUrl)
throws java.io.IOException
baseUrl - The url of the server to testjava.io.IOException - if an error occurs