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 withMockMvcand 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 classHostRequestMatcherAWebRequestMatcherthat allows matching on the host and optionally the port ofWebRequest#getUrl().classUrlRegexRequestMatcherAWebRequestMatcherthat 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 TMockMvcWebConnectionBuilderSupport. useMockMvc(WebRequestMatcher... matchers)Add additionalWebRequestMatcherinstances that will ensure thatMockMvcis 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)