Module 
Package org.xnio.http

Interface ExtendedHandshakeChecker


  • public interface ExtendedHandshakeChecker
    A class that can decide if a HTTP upgrade handshake is valid. If not it should throw an IOException
    • Method Detail

      • checkHandshakeExtended

        void checkHandshakeExtended​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)
                             throws java.io.IOException
        Checks 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