public interface HandshakeChecker
IOException
Modifier and Type | Method and Description |
---|---|
void |
checkHandshake(java.util.Map<java.lang.String,java.lang.String> headers)
Checks a handshake, and throws an exception if it is invalid
|
void checkHandshake(java.util.Map<java.lang.String,java.lang.String> headers) throws java.io.IOException
headers
- The response headers, keyed by lowercase namejava.io.IOException
- If the handshake is not validCopyright © 2016 JBoss, a division of Red Hat, Inc.