Interface WebRequestMatcher
- All Known Implementing Classes:
HostRequestMatcher
,UrlRegexRequestMatcher
public interface WebRequestMatcher
Strategy for matching on aWebRequest
.- Since:
- 4.2
- Author:
- Rob Winch
- See Also:
HostRequestMatcher
,UrlRegexRequestMatcher
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(com.gargoylesoftware.htmlunit.WebRequest request)
Whether this matcher matches on the supplied web request.
Method Detail
matches
boolean matches(com.gargoylesoftware.htmlunit.WebRequest request)
Whether this matcher matches on the supplied web request.- Parameters:
request
- theWebRequest
to attempt to match on- Returns:
true
if this matcher matches on theWebRequest