protected Handshake findHandshake ( HttpRequest request ) { for ( Handshake handshake : this . handshakes ) { if ( handshake . matches ( request ) ) { return handshake ; } } return null ; }
Locate a matching handshake version .