From 7a2fc2ff09cbe5050e938ff85d4f24950ddb1e50 Mon Sep 17 00:00:00 2001 From: sheip9 <53911290+sheip9@users.noreply.github.com> Date: Fri, 26 Jul 2024 15:47:37 +0800 Subject: [PATCH] Fix reference to configurePathMatching in code sample See gh-33277 --- framework-docs/modules/ROOT/pages/web/webflux/config.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/web/webflux/config.adoc b/framework-docs/modules/ROOT/pages/web/webflux/config.adoc index d09d98a4daeb..4d846f757735 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux/config.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux/config.adoc @@ -699,7 +699,7 @@ Java:: public class WebConfig implements WebFluxConfigurer { @Override - public void configurePathMatch(PathMatchConfigurer configurer) { + public void configurePathMatching(PathMatchConfigurer configurer) { configurer.addPathPrefix( "/api", HandlerTypePredicate.forAnnotation(RestController.class)); } @@ -715,7 +715,7 @@ Kotlin:: class WebConfig : WebFluxConfigurer { @Override - fun configurePathMatch(configurer: PathMatchConfigurer) { + fun configurePathMatching(configurer: PathMatchConfigurer) { configurer.addPathPrefix( "/api", HandlerTypePredicate.forAnnotation(RestController::class.java)) }