Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.MockServerSpec
Packages that use WebTestClient.MockServerSpec Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.Uses of WebTestClient.MockServerSpec in org.springframework.test.web.reactive.server
Classes in org.springframework.test.web.reactive.server with type parameters of type WebTestClient.MockServerSpec Modifier and Type Interface Description static interfaceWebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>Base specification for setting up tests without a server.Subinterfaces of WebTestClient.MockServerSpec in org.springframework.test.web.reactive.server Modifier and Type Interface Description static interfaceWebTestClient.ControllerSpecSpecification for customizing controller configuration equivalent to, and internally delegating to, aWebFluxConfigurer.static interfaceWebTestClient.RouterFunctionSpecSpecification for customizing router function configuration.Methods in org.springframework.test.web.reactive.server that return WebTestClient.MockServerSpec Modifier and Type Method Description static WebTestClient.MockServerSpec<?>WebTestClient. bindToApplicationContext(ApplicationContext applicationContext)Use this option to setup a server from the Spring configuration of your application, or some subset of it.static WebTestClient.MockServerSpec<?>WebTestClient. bindToWebHandler(WebHandler webHandler)Integration testing with a "mock" server targeting the given WebHandler.Methods in org.springframework.test.web.reactive.server with parameters of type WebTestClient.MockServerSpec Modifier and Type Method Description default voidMockServerConfigurer. afterConfigureAdded(WebTestClient.MockServerSpec<?> serverSpec)Invoked immediately, i.e.