程序包 cn.taketoday.test.web.servlet.htmlunit
@NonNullApi
@NonNullFields
package cn.taketoday.test.web.servlet.htmlunit
Server-side support for testing Web MVC applications with
MockMvc
and HtmlUnit.- 另请参阅:
-
类说明Implementation of
WebConnectionthat allows delegating to variousWebConnectionimplementations.The delegate web connection.RequestPostProcessorto update the request for a forwarded dispatch.AWebRequestMatcherthat allows matching on the host and optionally the port ofWebRequest#getUrl().Internal class used to transform aWebRequestinto aMockHttpServletRequestusing Web MVC Test'sRequestBuilder.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.Builder used internally to createWebResponses.AWebRequestMatcherthat allows matching onWebRequest#getUrl().toExternalForm()using a regular expression.Strategy for matching on aWebRequest.