public interface HttpUpgradeHandshake
If the request does not meet this handlers requirements it should return false to allow other upgrade handlers to inspect the request.
If the request is invalid (e.g. security information is invalid) this should thrown an IoException. if this occurs no further handlers will be tried.
boolean handleUpgrade(HttpServerExchange exchange) throws IOException
exchange- the server exchange
trueif the handshake is valid and should be upgraded. False if it is invalid
IOException- If the handshake is invalid
Copyright © 2015 JBoss by Red Hat. All rights reserved.