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 booleanmatches(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- theWebRequestto attempt to match on- Returns:
trueif this matcher matches on theWebRequest