spring-framework / org.springframework.test.web.servlet.htmlunit.webdriver / MockMvcHtmlUnitDriverBuilder / withDelegate

withDelegate

open fun withDelegate(driver: WebConnectionHtmlUnitDriver): MockMvcHtmlUnitDriverBuilder

Supply the WebConnectionHtmlUnitDriver that the driver built by this builder should delegate to when processing non-WebRequestMatcher requests.

Parameters

driver - the WebConnectionHtmlUnitDriver to delegate to for requests that do not match (never null)

Return
this builder for further customizations

See Also
#build()