Polishing

This commit is contained in:
Juergen Hoeller 2021-04-13 12:26:31 +02:00
parent f03ccd5cc9
commit c7989c78c8
2 changed files with 7 additions and 7 deletions

View File

@ -135,7 +135,7 @@ public class DefaultPartHttpMessageReader extends LoggingCodecSupport implements
}
/**
* 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 class DefaultPartHttpMessageReader extends LoggingCodecSupport implements
}
/**
* 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 class DefaultPartHttpMessageReader extends LoggingCodecSupport implements
* in memory nor file.
* When {@code false}, parts are backed by
* in-memory and/or file storage. Defaults to {@code false}.
*
* <p><strong>NOTE</strong> that with streaming enabled, the
* {@code Flux<Part>} 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.
*
* <p>Also note that enabling this property effectively ignores
* {@link #setMaxInMemorySize(int) maxInMemorySize},
* {@link #setMaxDiskUsagePerPart(long) maxDiskUsagePerPart},
@ -192,8 +190,8 @@ public class DefaultPartHttpMessageReader extends LoggingCodecSupport implements
}
/**
* 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 <a href="https://tools.ietf.org/html/rfc7578#section-5.1">RFC-7578 Section 5.2</a>

View File

@ -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