public class ConnectionUtil extends Object
| Constructor and Description |
|---|
ConnectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkUriAlive(org.apache.http.impl.client.CloseableHttpClient client,
String url)
Check uri link is alive, the basis for judging response status code.
|
static String |
convertUrlWithScheme(String serverUrl)
Convert url with scheme match coinstack-storage server
|
public static boolean checkUriAlive(org.apache.http.impl.client.CloseableHttpClient client,
String url)
client - httpClienturl - check urlCopyright © 2017 Blocko Inc.. All rights reserved.