You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Starting from 3.4.6, CXF provides server-side support of HTTP/2 protocol, along with HTTP. To enable HTTP/2, it is sufficient to set HttpServerEngineSupport#ENABLE_HTTP2 property to "true". For example:

 final SpringBusFactory factory = new SpringBusFactory();
 final Bus bus = factory.createBus(...);
 bus.setProperty(HttpServerEngineSupport.ENABLE_HTTP2, true);

Please refer to the respective HTTP engines for more details:

  • Jetty HTTP/2 support
  • Undertow HTTP/2 support
  • Netty HTTP/2 support
  • No labels