HttpHandlerpublic 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
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionCopyright © 2018. All rights reserved.