Uses of Interface
org.springframework.test.web.servlet.htmlunit.WebRequestMatcher
Packages that use WebRequestMatcher Package Description org.springframework.test.web.servlet.htmlunit Server-side support for testing Spring MVC applications withMockMvc
and HtmlUnit.Uses of WebRequestMatcher in org.springframework.test.web.servlet.htmlunit
Classes in org.springframework.test.web.servlet.htmlunit that implement WebRequestMatcher Modifier and Type Class Description class
HostRequestMatcher
AWebRequestMatcher
that allows matching on the host and optionally the port ofWebRequest#getUrl()
.class
UrlRegexRequestMatcher
AWebRequestMatcher
that allows matching onWebRequest#getUrl().toExternalForm()
using a regular expression.Methods in org.springframework.test.web.servlet.htmlunit with parameters of type WebRequestMatcher Modifier and Type Method Description T
MockMvcWebConnectionBuilderSupport. useMockMvc(WebRequestMatcher... matchers)
Add additionalWebRequestMatcher
instances that will ensure thatMockMvc
is used to process the request, if such a matcher matches against the web request.Constructors in org.springframework.test.web.servlet.htmlunit with parameters of type WebRequestMatcher Constructor Description DelegateWebConnection(WebRequestMatcher matcher, com.gargoylesoftware.htmlunit.WebConnection delegate)