public interface HttpUpgradeHandshake
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleUpgrade(HttpServerExchange exchange)
Validates an upgrade request and returns any extra headers that should be added to the response.
|
boolean handleUpgrade(HttpServerExchange exchange) throws IOException
exchange - the server exchangetrue if the handshake is valid and should be upgraded. False if it is invalidIOException - If the handshake is invalidCopyright © 2013 JBoss by Red Hat. All Rights Reserved.