public static interface WebTestClient.ControllerSpec extends WebTestClient.MockServerSpec<WebTestClient.ControllerSpec>
WebFluxConfigurer.| Modifier and Type | Method and Description | 
|---|---|
WebTestClient.ControllerSpec | 
argumentResolvers(java.util.function.Consumer<ArgumentResolverConfigurer> configurer)
Configure resolvers for custom controller method arguments. 
 | 
WebTestClient.ControllerSpec | 
contentTypeResolver(java.util.function.Consumer<RequestedContentTypeResolverBuilder> consumer)
Customize content type resolution. 
 | 
WebTestClient.ControllerSpec | 
controllerAdvice(java.lang.Object... controllerAdvice)
Register one or more  
ControllerAdvice
 instances to be used in tests (specified Class will be turned into instance). | 
WebTestClient.ControllerSpec | 
corsMappings(java.util.function.Consumer<CorsRegistry> consumer)
Configure CORS support. 
 | 
WebTestClient.ControllerSpec | 
formatters(java.util.function.Consumer<FormatterRegistry> consumer)
Register formatters and converters to use for type conversion. 
 | 
WebTestClient.ControllerSpec | 
httpMessageCodecs(java.util.function.Consumer<ServerCodecConfigurer> configurer)
Configure custom HTTP message readers and writers or override built-in ones. 
 | 
WebTestClient.ControllerSpec | 
pathMatching(java.util.function.Consumer<PathMatchConfigurer> consumer)
Configure path matching options. 
 | 
WebTestClient.ControllerSpec | 
validator(Validator validator)
Configure a global Validator. 
 | 
WebTestClient.ControllerSpec | 
viewResolvers(java.util.function.Consumer<ViewResolverRegistry> consumer)
Configure view resolution. 
 | 
apply, build, configureClient, webFilter, webSessionManagerWebTestClient.ControllerSpec controllerAdvice(java.lang.Object... controllerAdvice)
ControllerAdvice
 instances to be used in tests (specified Class will be turned into instance).WebTestClient.ControllerSpec contentTypeResolver(java.util.function.Consumer<RequestedContentTypeResolverBuilder> consumer)
WebTestClient.ControllerSpec corsMappings(java.util.function.Consumer<CorsRegistry> consumer)
WebTestClient.ControllerSpec pathMatching(java.util.function.Consumer<PathMatchConfigurer> consumer)
WebTestClient.ControllerSpec argumentResolvers(java.util.function.Consumer<ArgumentResolverConfigurer> configurer)
WebTestClient.ControllerSpec httpMessageCodecs(java.util.function.Consumer<ServerCodecConfigurer> configurer)
WebTestClient.ControllerSpec formatters(java.util.function.Consumer<FormatterRegistry> consumer)
WebTestClient.ControllerSpec validator(Validator validator)
WebFluxConfigurer.getValidator()WebTestClient.ControllerSpec viewResolvers(java.util.function.Consumer<ViewResolverRegistry> consumer)