Created
August 22, 2015 16:56
-
-
Save jmnarloch/2272daa872f6945f1f13 to your computer and use it in GitHub Desktop.
Enabling HTTP2 in Undertow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
UndertowEmbeddedServletContainerFactory embeddedServletContainerFactory() { | |
UndertowEmbeddedServletContainerFactory factory = new UndertowEmbeddedServletContainerFactory(); | |
factory.addBuilderCustomizers( | |
builder -> builder.setServerOption(UndertowOptions.ENABLE_HTTP2, true)); | |
return factory; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment