diff --git a/spring-web/src/main/java/org/springframework/http/codec/multipart/DefaultPartHttpMessageReader.java b/spring-web/src/main/java/org/springframework/http/codec/multipart/DefaultPartHttpMessageReader.java index f1e5c59db54b..64c465035241 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/multipart/DefaultPartHttpMessageReader.java +++ b/spring-web/src/main/java/org/springframework/http/codec/multipart/DefaultPartHttpMessageReader.java @@ -135,7 +135,7 @@ public void setMaxParts(int maxParts) { } /** - * Sets the directory used to store parts larger than + * Set the directory used to store parts larger than * {@link #setMaxInMemorySize(int) maxInMemorySize}. By default, a directory * named {@code spring-webflux-multipart} is created under the system * temporary directory. @@ -154,7 +154,7 @@ public void setFileStorageDirectory(Path fileStorageDirectory) throws IOExceptio } /** - * Sets the Reactor {@link Scheduler} to be used for creating files and + * Set the Reactor {@link Scheduler} to be used for creating files and * directories, and writing to files. By default, * {@link Schedulers#boundedElastic()} is used, but this property allows for * changing it to an externally managed scheduler. @@ -174,13 +174,11 @@ public void setBlockingOperationScheduler(Scheduler blockingOperationScheduler) * in memory nor file. * When {@code false}, parts are backed by * in-memory and/or file storage. Defaults to {@code false}. - * *

NOTE that with streaming enabled, the * {@code Flux} that is produced by this message reader must be * consumed in the original order, i.e. the order of the HTTP message. * Additionally, the {@linkplain Part#content() body contents} must either * be completely consumed or canceled before moving to the next part. - * *

Also note that enabling this property effectively ignores * {@link #setMaxInMemorySize(int) maxInMemorySize}, * {@link #setMaxDiskUsagePerPart(long) maxDiskUsagePerPart}, @@ -192,8 +190,8 @@ public void setStreaming(boolean streaming) { } /** - * Sets the character set used to decode headers. Defaults to - * UTF-8 as per RFC 7578. + * Set the character set used to decode headers. + * Defaults to UTF-8 as per RFC 7578. * @param headersCharset the charset to use for decoding headers * @since 5.3.6 * @see RFC-7578 Section 5.2 diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index c9ebdb478eea..9d0d31359255 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -10953,8 +10953,10 @@ location path as a classpath location. You can also use location paths (resource with special prefixes to force loading of definitions from the classpath or a URL, regardless of the actual context type. + + [[context-functionality-startup]] -=== Application Startup tracking +=== Application Startup Tracking The `ApplicationContext` manages the lifecycle of Spring applications and provides a rich programming model around components. As a result, complex applications can have equally