File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Kotlin::
6161
6262By default, method parameters that use this annotation are required, but you can specify that
6363a method parameter is optional by setting the `@RequestParam` annotation's `required` flag to
64- `false` or by declaring the argument with an `java.util.Optional` wrapper.
64+ `false` or by declaring the argument with a `java.util.Optional` wrapper.
6565
6666Type conversion is automatically applied if the target method parameter type is not
6767`String`. See xref:web/webmvc/mvc-controller/ann-methods/typeconversion.adoc[Type Conversion].
8686
8787 // ...
8888
89- @PostMapping(value = "/process", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
89+ @PostMapping(path = "/process", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
9090 public String processForm(@RequestParam MultiValueMap<String, String> params) {
9191 // ...
9292 }
You can’t perform that action at this time.
0 commit comments