See gh-23986
This commit is contained in:
izeye 2020-11-01 22:53:19 +09:00 committed by Stephane Nicoll
parent f3134600c0
commit 9c35cd41ad
4 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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