Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.ControllerSpec
Packages that use WebTestClient.ControllerSpec
- 
Uses of WebTestClient.ControllerSpec in org.springframework.test.web.reactive.serverMethods in org.springframework.test.web.reactive.server that return WebTestClient.ControllerSpecModifier and TypeMethodDescriptionWebTestClient.ControllerSpec.argumentResolvers(Consumer<ArgumentResolverConfigurer> configurer) Configure resolvers for custom controller method arguments.static WebTestClient.ControllerSpecWebTestClient.bindToController(Object... controllers) Use this server setup to test one@Controllerat a time.WebTestClient.ControllerSpec.contentTypeResolver(Consumer<RequestedContentTypeResolverBuilder> consumer) Customize content type resolution.WebTestClient.ControllerSpec.controllerAdvice(Object... controllerAdvice) Register one or moreControllerAdviceinstances to be used in tests (specifiedClasswill be turned into instance).WebTestClient.ControllerSpec.corsMappings(Consumer<CorsRegistry> consumer) Configure CORS support.WebTestClient.ControllerSpec.formatters(Consumer<FormatterRegistry> consumer) Register formatters and converters to use for type conversion.WebTestClient.ControllerSpec.httpMessageCodecs(Consumer<ServerCodecConfigurer> configurer) Configure custom HTTP message readers and writers or override built-in ones.WebTestClient.ControllerSpec.pathMatching(Consumer<PathMatchConfigurer> consumer) Configure path matching options.Configure a global Validator.WebTestClient.ControllerSpec.viewResolvers(Consumer<ViewResolverRegistry> consumer) Configure view resolution.