fix pinyin bug

This commit is contained in:
Looly
2020-06-16 10:58:55 +08:00
parent cf19fe3003
commit 165b915506
4 changed files with 34 additions and 1 deletions

View File

@@ -52,6 +52,17 @@ public class HttpUtil {
return url.toLowerCase().startsWith("https");
}
/**
* 检测是否http
*
* @param url URL
* @return 是否https
* @since 5.3.8
*/
public static boolean isHttp(String url) {
return url.toLowerCase().startsWith("http");
}
/**
* 创建Http请求对象
*