Uses of Interface
org.springframework.test.web.servlet.htmlunit.WebRequestMatcher
Packages that use WebRequestMatcher
Package
Description
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.-
Uses of WebRequestMatcher in org.springframework.test.web.servlet.htmlunit
Classes in org.springframework.test.web.servlet.htmlunit that implement WebRequestMatcherModifier and TypeClassDescriptionfinal class
AWebRequestMatcher
that allows matching on the host and optionally the port ofWebRequest#getUrl()
.final class
AWebRequestMatcher
that allows matching onWebRequest#getUrl().toExternalForm()
using a regular expression.Methods in org.springframework.test.web.servlet.htmlunit with parameters of type WebRequestMatcherModifier and TypeMethodDescriptionMockMvcWebConnectionBuilderSupport.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 WebRequestMatcherModifierConstructorDescriptionDelegateWebConnection
(WebRequestMatcher matcher, com.gargoylesoftware.htmlunit.WebConnection delegate)