public static boolean get(String path, Map<String, String> headers) {
		HttpURLConnection conn = null;
		try {
			URL url = new java.net.URL(path);
			conn = (HttpURLConnection) url.openConnection();

			conn.setRequestMethod("GET");
			conn.setConnectTimeout((int) TimeUnit.SECONDS.toMillis(2));
			conn.setReadTimeout((int) TimeUnit.SECONDS.toMillis(2));
			if (!CollectionUtils.isEmpty(headers)) {
				headers.forEach(conn::setRequestProperty);
			}
			BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
			StringBuffer buffer = new StringBuffer();
			String str;
			while ((str = reader.readLine()) != null) {
				buffer.append(str);
			}
			String responseBody = buffer.toString();
			if (conn.getResponseCode() == 200 && StringUtils.hasText(responseBody)) {
				LOGGER.debug("exec get request, url: {} success, response data: {}", url, responseBody);
				return true;
			}
		}
		catch (Exception e) {
			LOGGER.error("exec get request, url: {} failed!", path, e);
			return false;
		}
		finally {
			if (null != conn) {
				conn.disconnect();
			}
		}
		return false;
	}
@Test
	public void testGet() {
		assertThat(OkHttpUtil.get("http://localhost:" + port + "/test", Maps.newHashMap("key", "value"))).isTrue();
		assertThat(OkHttpUtil.checkUrl("localhost", port, "/test", Maps.newHashMap("key", "value"))).isTrue();
		assertThat(OkHttpUtil.checkUrl("localhost", port, "test", Maps.newHashMap("key", "value"))).isTrue();
		assertThat(OkHttpUtil.get("http://localhost:" + port + "/error", Maps.newHashMap("key", "value"))).isFalse();
		assertThat(OkHttpUtil.get("http://localhost:55555/error", Maps.newHashMap("key", "value"))).isFalse();
	}