Starting from 3.4.6, CXF provides server-side support of HTTP/2 protocol (along with HTTP/1.x). 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 server engines for more details: