| 类 | 说明 |
|---|---|
| FallbackRequestHandler |
Handles the exceptional case where HTTP 1.x was negotiated under TLS.
|
| Html |
Static and dynamically generated HTML for the example.
|
| Http1RequestHandler |
Handles the requests for the tiled image using HTTP 1.x as a protocol.
|
| Http2OrHttpHandler |
Used during protocol negotiation, the main function of this handler is to
return the HTTP/1.1 or HTTP/2 handler once the protocol has been negotiated.
|
| Http2RequestHandler |
Handles all the requests for data.
|
| Http2Server |
Demonstrates an Http2 server using Netty to display a bunch of images and
simulate latency.
|
| HttpServer |
Demonstrates an http server using Netty to display a bunch of images, simulate
latency and compare it against the http2 implementation.
|
| ImageCache |
Caches the images to avoid reading them every time from the disk.
|
| Launcher |
Launches both Http and Http2 servers using Netty to display a set of images
and simulate latency.
|