Package org.springframework.test.web.servlet.htmlunit
@NullMarked
package org.springframework.test.web.servlet.htmlunit
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.- See Also:
-
ClassDescriptionImplementation of
webConnectionthat allows delegating to variouswebConnectionimplementations.The delegate web connection.AwebRequestMatcherthat allows matching on the host and optionally the port ofwebRequest#getUrl().MockMvcwebClientBuildersimplifies the creation of an HtmlUnitwebClientthat delegates to aMockMvcinstance.Support class that simplifies the creation of awebConnectionthat usesMockMvcand optionally delegates to a realwebConnectionfor specific requests.AwebRequestMatcherthat allows matching onwebRequest#getUrl().toExternalForm()using a regular expression.Strategy for matching on awebRequest.