protected static void getAlpnResult ( SSLEngine engine , SSLConnectionLink link ) { alpnNegotiator . tryToRemoveAlpnNegotiator ( link . getAlpnNegotiator ( ) , engine , link ) ; }
This must be called after the SSL handshake has completed . If an ALPN protocol was selected by the available provider that protocol will be set on the SSLConnectionLink . Also additional cleanup will be done for some ALPN providers .