接口 WebRequestMatcher
- 所有已知实现类:
HostRequestMatcher
,UrlRegexRequestMatcher
public interface WebRequestMatcher
Strategy for matching on aWebRequest
.- 从以下版本开始:
- 4.2
- 作者:
- Rob Winch
- 另请参阅:
HostRequestMatcher
,UrlRegexRequestMatcher
方法详细资料
matches
boolean matches(com.gargoylesoftware.htmlunit.WebRequest request)
Whether this matcher matches on the supplied web request.- 参数:
request
- theWebRequest
to attempt to match on- 返回:
true
if this matcher matches on theWebRequest