Package | Description |
---|---|
org.springframework.test.web.servlet.htmlunit |
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit. |
Modifier and Type | Class and Description |
---|---|
class |
HostRequestMatcher
A
WebRequestMatcher that allows matching on the host and optionally
the port of WebRequest#getUrl() . |
class |
UrlRegexRequestMatcher
A
WebRequestMatcher that allows matching on
WebRequest#getUrl().toExternalForm() using a regular expression. |
Modifier and Type | Method and Description |
---|---|
T |
MockMvcWebConnectionBuilderSupport.useMockMvc(WebRequestMatcher... matchers)
Add additional
WebRequestMatcher instances that will ensure
that MockMvc is used to process the request, if such a matcher
matches against the web request. |
Constructor and Description |
---|
DelegateWebConnection(WebRequestMatcher matcher,
com.gargoylesoftware.htmlunit.WebConnection delegate) |