@@ -103,7 +103,7 @@ as the following example shows:
103
103
104
104
105
105
If you register the `RouterFunction` as a bean, for instance by exposing it in a
106
- @Configuration class, it will auto-detected by the servlet, as explained in <<webmvc-fn-running>>.
106
+ @Configuration class, it will be auto-detected by the servlet, as explained in <<webmvc-fn-running>>.
107
107
108
108
109
109
@@ -117,7 +117,7 @@ access to the HTTP request and response, including headers, body, method, and st
117
117
118
118
119
119
[[webmvc-fn-request]]
120
- === ` ServerRequest`
120
+ === ServerRequest
121
121
122
122
`ServerRequest` provides access to the HTTP method, URI, headers, and query parameters,
123
123
while access to the body is provided through the `body` methods.
@@ -165,7 +165,7 @@ val map = request.params()
165
165
166
166
167
167
[[webmvc-fn-response]]
168
- === ` ServerResponse`
168
+ === ServerResponse
169
169
170
170
`ServerResponse` provides access to the HTTP response and, since it is immutable, you can use
171
171
a `build` method to create it. You can use the builder to set the response status, to add response
@@ -714,10 +714,10 @@ For instance, consider the following example:
714
714
ServerRequest.from(it)
715
715
.header("X-RequestHeader", "Value").build()
716
716
}
717
- POST("/person", handler::createPerson)
718
- after { _, response -> // <2>
719
- logResponse( response)
720
- }
717
+ }
718
+ POST("/person", handler::createPerson)
719
+ after { _, response -> // <2>
720
+ logResponse(response)
721
721
}
722
722
}
723
723
----
0 commit comments