Interface WebRequestMatcher
- All Known Implementing Classes:
HostRequestMatcher
,UrlRegexRequestMatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for matching on a
WebRequest
.- Since:
- 4.2
- Author:
- Rob Winch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.gargoylesoftware.htmlunit.WebRequest request) Whether this matcher matches on the supplied web request.
-
Method Details
-
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
-