Package org.springframework.test.web.servlet.htmlunit
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.- See Also:
MockMvc
Interface Summary Interface Description WebRequestMatcher Strategy for matching on aWebRequest
.Class Summary Class Description DelegatingWebConnection Implementation ofWebConnection
that allows delegating to variousWebConnection
implementations.DelegatingWebConnection.DelegateWebConnection HostRequestMatcher AWebRequestMatcher
that allows matching on the host and optionally the port ofWebRequest#getUrl()
.MockMvcWebClientBuilder MockMvcWebClientBuilder
simplifies the creation of an HtmlUnitWebClient
that delegates to aMockMvc
instance.MockMvcWebConnection MockMvcWebConnectionBuilderSupport<T extends MockMvcWebConnectionBuilderSupport<T>> Support class that simplifies the creation of aWebConnection
that usesMockMvc
and optionally delegates to a realWebConnection
for specific requests.UrlRegexRequestMatcher AWebRequestMatcher
that allows matching onWebRequest#getUrl().toExternalForm()
using a regular expression.