mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
See gh-23986
This commit is contained in:
parent
f3134600c0
commit
9c35cd41ad
@ -653,7 +653,7 @@ As of Undertow 1.4.0+, HTTP/2 is supported without any additional requirement on
|
||||
|
||||
[[howto-configure-http2-h2c]]
|
||||
==== HTTP/2 Cleartext with supported servers
|
||||
To enable HTTP/2 with cleartext support, you need to leave the `configprop:server.http2.enabled[]` property set to `false`,
|
||||
To enable HTTP/2 with cleartext support, you need to leave the configprop:server.http2.enabled[] property set to `false`,
|
||||
and instead apply a customizer specific to your choice of server:
|
||||
|
||||
For Tomcat, we need to add an upgrade protocol:
|
||||
|
@ -1441,7 +1441,7 @@ NOTE: The `prefix` value for the annotation _must_ be in kebab case (lowercase a
|
||||
|
||||
| Environment Variables
|
||||
| Upper case format with underscore as the delimiter (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>).
|
||||
| Numeric values surrounded by underscores (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>)`
|
||||
| Numeric values surrounded by underscores (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>)
|
||||
|
||||
| System properties
|
||||
| Camel case, kebab case, or underscore notation
|
||||
|
@ -68,6 +68,7 @@ public class ConfigurationMetadata {
|
||||
/**
|
||||
* Add item meta-data if it's not already present.
|
||||
* @param itemMetadata the meta-data to add
|
||||
* @since 2.4.0
|
||||
*/
|
||||
public void addIfMissing(ItemMetadata itemMetadata) {
|
||||
add(this.items, itemMetadata.getName(), itemMetadata, true);
|
||||
|
@ -121,7 +121,7 @@ public final class ConfigDataLocation implements OriginProvider {
|
||||
|
||||
/**
|
||||
* Create a new {@link ConfigDataLocation} with a specific {@link Origin}.
|
||||
* @param origin the orgin to set
|
||||
* @param origin the origin to set
|
||||
* @return a new {@link ConfigDataLocation} instance.
|
||||
*/
|
||||
ConfigDataLocation withOrigin(Origin origin) {
|
||||
|
Loading…
Reference in New Issue
Block a user