public class BuilderBasedWebTestClientFactory extends Object implements WebTestClientFactory
| Constructor and Description |
|---|
BuilderBasedWebTestClientFactory(org.springframework.test.web.reactive.server.WebTestClient.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.test.web.reactive.server.WebTestClient |
build(WebTestClientConfig webTestClientConfig)
Builds and returns a
WebTestClient instance based on provided configuration |
boolean |
isAssigned()
Checks if underlying
WebTestClient or WebTestClient.Builder
is not null |
public BuilderBasedWebTestClientFactory(org.springframework.test.web.reactive.server.WebTestClient.Builder builder)
public org.springframework.test.web.reactive.server.WebTestClient build(WebTestClientConfig webTestClientConfig)
WebTestClientFactoryWebTestClient instance based on provided configurationbuild in interface WebTestClientFactorywebTestClientConfig - configuration to be used during WebTestClient instantiationpublic boolean isAssigned()
WebTestClientFactoryWebTestClient or WebTestClient.Builder
is not nullisAssigned in interface WebTestClientFactoryCopyright © 2010–2022. All rights reserved.