mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
update http judge function & doc
This commit is contained in:
parent
37dda15906
commit
04a54f88db
@ -58,11 +58,11 @@ public class HttpUtil {
|
|||||||
* 检测是否http
|
* 检测是否http
|
||||||
*
|
*
|
||||||
* @param url URL
|
* @param url URL
|
||||||
* @return 是否https
|
* @return 是否http
|
||||||
* @since 5.3.8
|
* @since 5.3.8
|
||||||
*/
|
*/
|
||||||
public static boolean isHttp(String url) {
|
public static boolean isHttp(String url) {
|
||||||
return url.toLowerCase().startsWith("http");
|
return url.toLowerCase().startsWith("http:");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user