Class Http2UpgradeHandler
- java.lang.Object
-
- io.undertow.server.protocol.http2.Http2UpgradeHandler
-
- All Implemented Interfaces:
HttpHandler
public class Http2UpgradeHandler extends java.lang.Object implements HttpHandler
Upgrade listener for HTTP2, this allows connections to be established using the upgrade mechanism as detailed in Section 3.2. This should always be the first handler in a handler chain.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description Http2UpgradeHandler(HttpHandler next)
Http2UpgradeHandler(HttpHandler next, java.lang.String... upgradeStrings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.
-
-
-
Constructor Detail
-
Http2UpgradeHandler
public Http2UpgradeHandler(HttpHandler next)
-
Http2UpgradeHandler
public Http2UpgradeHandler(HttpHandler next, java.lang.String... upgradeStrings)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
java.lang.Exception
-
-