Fix typos detected by github.com/client9/misspell

(cherry picked from commit be211ceead)
This commit is contained in:
Kazuhiro Sera
2018-08-08 12:26:40 +02:00
committed by Juergen Hoeller
parent eaafcee077
commit a80f4caf37
38 changed files with 57 additions and 50 deletions

View File

@@ -43,6 +43,8 @@ This is different from the JDK's `ByteBuffer`, which only exposes one position f
writing, and a separate `flip()` operation to switch between the two I/O operations.
In general, the following invariant holds for the read position, write position, and the capacity:
[literal]
[subs="verbatim,quotes"]
--
0 <= read position <= write position <= capacity
--
@@ -94,7 +96,7 @@ In practice, this means that the reserved memory captured by the buffer will be
the memory pool, ready to be used for future allocations.
In general, _the last component to access a `DataBuffer` is responsible for releasing it_.
Withing Spring, there are two sorts of components that release buffers: decoders and transports.
Within Spring, there are two sorts of components that release buffers: decoders and transports.
Decoders are responsible for transforming a stream of buffers into other types (see <<codecs>> below),
and transports are responsible for sending buffers across a network boundary, typically as an HTTP message.
This means that if you allocate data buffers for the purpose of putting them into an outbound HTTP
@@ -165,7 +167,7 @@ Note that a decoder instance needs to consider <<databuffer-reference-counting,
Spring comes with a wide array of default codecs, capable of converting from/to `String`,
`ByteBuffer`, byte arrays, and also codecs that support marshalling libraries such as JAXB and
Jackson (with https://github.com/FasterXML/jackson-core/issues/57[Jackson 2.9+ support for non-blocking parsing]).
Withing the context of Spring WebFlux, codecs are used to convert the request body into a
Within the context of Spring WebFlux, codecs are used to convert the request body into a
`@RequestMapping` parameter, or to convert the return type into the response body that is sent back
to the client.
The default codecs are configured in the `WebFluxConfigurationSupport` class, and can easily be

View File

@@ -461,7 +461,7 @@ integration for using Spring MVC with Groovy Markup.
[TIP]
====
The Groovy Markup Tempalte engine requires Groovy 2.3.1+.
The Groovy Markup Template engine requires Groovy 2.3.1+.
====
@@ -2217,4 +2217,4 @@ This is rendered as:
</ul>
</body>
</html>
----
----

View File

@@ -3870,7 +3870,7 @@ for optimal performance. See section on configuring <<mvc-config-static-resource
=== ETag Filter
The `ShallowEtagHeaderFilter` can be used to add "shallow" eTag values, computed from the
response content and thus saving bandwith but not CPU time. See <<filters-shallow-etag>>.
response content and thus saving bandwidth but not CPU time. See <<filters-shallow-etag>>.