HttpHandler
public class Http2UpgradeHandler extends Object implements HttpHandler
Constructor | Description |
---|---|
Http2UpgradeHandler(HttpHandler next) |
|
Http2UpgradeHandler(HttpHandler next,
String... upgradeStrings) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public Http2UpgradeHandler(HttpHandler next)
public Http2UpgradeHandler(HttpHandler next, String... upgradeStrings)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2018. All rights reserved.