public class ServletUpgradeListener<T extends HttpUpgradeHandler> extends Object implements HttpUpgradeListener
Constructor and Description |
---|
ServletUpgradeListener(InstanceHandle<T> instance,
Deployment deployment,
HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
handleUpgrade(StreamConnection channel,
HttpServerExchange exchange)
Method that is called once the upgrade is complete.
|
public ServletUpgradeListener(InstanceHandle<T> instance, Deployment deployment, HttpServerExchange exchange)
public void handleUpgrade(StreamConnection channel, HttpServerExchange exchange)
HttpUpgradeListener
handleUpgrade
in interface HttpUpgradeListener
channel
- The connection that can be used to send or receive dataCopyright © 2020 JBoss by Red Hat. All rights reserved.