-
public interface HandshakeCheckerA class that can decide if a HTTP upgrade handshake is valid. If not it should throw anIOException
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckHandshake(java.util.Map<java.lang.String,java.lang.String> headers)Checks a handshake, and throws an exception if it is invalid
-
-
-
Method Detail
-
checkHandshake
void checkHandshake(java.util.Map<java.lang.String,java.lang.String> headers) throws java.io.IOExceptionChecks a handshake, and throws an exception if it is invalid- Parameters:
headers- The response headers, keyed by lowercase name- Throws:
java.io.IOException- If the handshake is not valid
-
-