You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -571,7 +571,7 @@ We recommend using `application.properties` to configure HTTPS, as the HTTP conn
571
571
[[howto-configure-http2]]
572
572
=== Configure HTTP/2
573
573
You can enable HTTP/2 support in your Spring Boot application with the configprop:server.http2.enabled[] configuration property.
574
-
This support depends on the chosen web server and the application environment, since that protocol is not supported out-of-the-box by JDK8.
574
+
This support depends on the chosen web server and the application environment, since that protocol is not supported out-of-the-box by all JDK8 releases.
575
575
576
576
[NOTE]
577
577
====
@@ -589,8 +589,12 @@ As of Undertow 1.4.0+, HTTP/2 is supported without any additional requirement on
589
589
590
590
[[howto-configure-http2-jetty]]
591
591
==== HTTP/2 with Jetty
592
-
As of Jetty 9.4.8, HTTP/2 is also supported with the https://www.conscrypt.org/[Conscrypt library].
593
-
To enable that support, your application needs to have two additional dependencies: `org.eclipse.jetty:jetty-alpn-conscrypt-server` and `org.eclipse.jetty.http2:http2-server`.
592
+
For HTTP/2 support, Jetty requires the additional `org.eclipse.jetty.http2:http2-server` dependency.
593
+
Now depending on your deployment, you also need to choose other dependencies:
594
+
595
+
* `org.eclipse.jetty:jetty-alpn-java-server` for applications running on JDK9+
596
+
* `org.eclipse.jetty:jetty-alpn-openjdk8-server` for applications running on JDK8u252+
597
+
* `org.eclipse.jetty:jetty-alpn-conscrypt-server` and the https://www.conscrypt.org/[Conscrypt library] with no JDK requirement
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/SslServerCustomizer.java
0 commit comments