Package org.springframework.test.web.servlet.htmlunit
@NonNullApi
@NonNullFields
package org.springframework.test.web.servlet.htmlunit
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.- See Also:
-
ClassDescriptionImplementation of
WebConnection
that allows delegating to variousWebConnection
implementations.The delegate web connection.AWebRequestMatcher
that allows matching on the host and optionally the port ofWebRequest#getUrl()
.MockMvcWebClientBuilder
simplifies the creation of an HtmlUnitWebClient
that delegates to aMockMvc
instance.Support class that simplifies the creation of aWebConnection
that usesMockMvc
and optionally delegates to a realWebConnection
for specific requests.AWebRequestMatcher
that allows matching onWebRequest#getUrl().toExternalForm()
using a regular expression.Strategy for matching on aWebRequest
.