MCPcopy Create free account
hub / github.com/JoyChou93/trident / checkUrlWlist

Method checkUrlWlist

src/main/java/CheckURL.java:20–42  ·  view source on GitHub ↗

检测传入的URL是否在白名单的域名里 url:需要检测的URL urlWList: 一级域名的域名列表,比如String[] urlWList = {"joychou.com", "joychou.me"}; 返回值:合法URL返回true,非法URL返回false

(String url, String[] urlWList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by 1

mainMethod · 0.76