mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Update documentation about jetty http2 dependency
See gh-38632
This commit is contained in:
parent
89a0ac3018
commit
829bec7602
@ -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