Skip to content

Commit 7a2fc2f

Browse files
sheip9snicoll
authored andcommitted
Fix reference to configurePathMatching in code sample
See gh-33277
1 parent 5284981 commit 7a2fc2f

File tree

1 file changed

+2
-2
lines changed
  • framework-docs/modules/ROOT/pages/web/webflux

1 file changed

+2
-2
lines changed

framework-docs/modules/ROOT/pages/web/webflux/config.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ Java::
699699
public class WebConfig implements WebFluxConfigurer {
700700
701701
@Override
702-
public void configurePathMatch(PathMatchConfigurer configurer) {
702+
public void configurePathMatching(PathMatchConfigurer configurer) {
703703
configurer.addPathPrefix(
704704
"/api", HandlerTypePredicate.forAnnotation(RestController.class));
705705
}
@@ -715,7 +715,7 @@ Kotlin::
715715
class WebConfig : WebFluxConfigurer {
716716
717717
@Override
718-
fun configurePathMatch(configurer: PathMatchConfigurer) {
718+
fun configurePathMatching(configurer: PathMatchConfigurer) {
719719
configurer.addPathPrefix(
720720
"/api", HandlerTypePredicate.forAnnotation(RestController::class.java))
721721
}

0 commit comments

Comments
 (0)