From 66138f0dcedfa6b0d856fc7b131e90b7044aa0d9 Mon Sep 17 00:00:00 2001 From: xuxiang Date: Sat, 10 Oct 2020 22:35:56 +0800 Subject: [PATCH] Fix a few typos in the web reference docs Closes gh-25893 Co-authored-by: zhiyi.xx --- src/docs/asciidoc/web/webflux.adoc | 2 +- src/docs/asciidoc/web/webmvc-functional.adoc | 2 +- src/docs/asciidoc/web/webmvc.adoc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/web/webflux.adoc b/src/docs/asciidoc/web/webflux.adoc index bc864454636..584ea2eb38f 100644 --- a/src/docs/asciidoc/web/webflux.adoc +++ b/src/docs/asciidoc/web/webflux.adoc @@ -3224,7 +3224,7 @@ initialize instances of `WebDataBinder`. Those, in turn, are used to: headers, cookies, and others) to the target type of controller method arguments. * Format model object values as `String` values when rendering HTML forms. -`@InitBinder` methods can register controller-specific `java.bean.PropertyEditor` or +`@InitBinder` methods can register controller-specific `java.beans.PropertyEditor` or Spring `Converter` and `Formatter` components. In addition, you can use the <> to register `Converter` and `Formatter` types in a globally shared `FormattingConversionService`. diff --git a/src/docs/asciidoc/web/webmvc-functional.adoc b/src/docs/asciidoc/web/webmvc-functional.adoc index db480cc3fb5..ded811f373b 100644 --- a/src/docs/asciidoc/web/webmvc-functional.adoc +++ b/src/docs/asciidoc/web/webmvc-functional.adoc @@ -103,7 +103,7 @@ as the following example shows: If you register the `RouterFunction` as a bean, for instance by exposing it in a -@Configuration class, it will auto-detected by the servlet, as explained in <>. +@Configuration class, it will be auto-detected by the servlet, as explained in <>. diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index b91245cd1f9..38608acedc4 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -3560,7 +3560,7 @@ initialize instances of `WebDataBinder`, and those, in turn, can: headers, cookies, and others) to the target type of controller method arguments. * Format model object values as `String` values when rendering HTML forms. -`@InitBinder` methods can register controller-specific `java.bean.PropertyEditor` or +`@InitBinder` methods can register controller-specific `java.beans.PropertyEditor` or Spring `Converter` and `Formatter` components. In addition, you can use the <> to register `Converter` and `Formatter` types in a globally shared `FormattingConversionService`. @@ -5992,5 +5992,5 @@ For more details, see the https://github.com/spring-projects/spring-framework/wiki/HTTP-2-support[HTTP/2 wiki page]. The Servlet API does expose one construct related to HTTP/2. You can use the -`javax.servlet.http.PushBuilder` proactively push resources to clients, and it +`javax.servlet.http.PushBuilder` to proactively push resources to clients, and it is supported as a <> to `@RequestMapping` methods.