public class ServletUpgradeListener<T extends javax.servlet.http.HttpUpgradeHandler> extends Object implements HttpUpgradeListener
Constructor and Description |
---|
ServletUpgradeListener(InstanceHandle<T> instance, Deployment deployment, HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void | handleUpgrade(org.xnio.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(org.xnio.StreamConnection channel, HttpServerExchange exchange)
HttpUpgradeListener
handleUpgrade
in interface HttpUpgradeListener
channel
- The connection that can be used to send or receive dataCopyright © 2017 JBoss by Red Hat. All rights reserved.