mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge pull request #38632 from gavlyukovskiy
* pr/38632: Update documentation about jetty http2 dependency Closes gh-38632
This commit is contained in:
commit
aad3e73b5d
@ -221,7 +221,7 @@ More on this in the {tomcat-docs}/apr.html[official Tomcat documentation].
|
||||
|
||||
[[howto.webserver.configure-http2.jetty]]
|
||||
==== HTTP/2 With Jetty
|
||||
For HTTP/2 support, Jetty requires the additional `org.eclipse.jetty.http2:http2-server` dependency.
|
||||
For HTTP/2 support, Jetty requires the additional `org.eclipse.jetty.http2:jetty-http2-server` dependency.
|
||||
To use `h2c` no other dependencies are required.
|
||||
To use `h2`, you also need to choose one of the following dependencies, depending on your deployment:
|
||||
|
||||
|
@ -96,7 +96,7 @@ class SslServerCustomizer implements JettyServerCustomizer {
|
||||
Assert.state(isJettyAlpnPresent(),
|
||||
() -> "An 'org.eclipse.jetty:jetty-alpn-*-server' dependency is required for HTTP/2 support.");
|
||||
Assert.state(isJettyHttp2Present(),
|
||||
() -> "The 'org.eclipse.jetty.http2:http2-server' dependency is required for HTTP/2 support.");
|
||||
() -> "The 'org.eclipse.jetty.http2:jetty-http2-server' dependency is required for HTTP/2 support.");
|
||||
return createHttp2ServerConnector(config, sslContextFactory, server);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user