public final class Launcher extends Object
Launches both Http and Http2 servers using Netty to display a set of images and simulate latency. It is a Netty version of the Go lang HTTP2 tiles demo.
Please note that if you intent to use the JDK provider for SSL, you MUST use JDK 1.8. Previous JDK versions don't have any cipher suite that is suitable for use with HTTP/2. The associated ALPN library for your JDK version can be found here: http://eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions. Alternatively, you can use the OpenSsl provider. Please make sure that you run OpenSsl version 1.0.2 or greater.
Constructor and Description |
---|
Launcher() |
public static void main(String[] args)
Copyright © 2008–2017 The Netty Project. All rights reserved.