ApplicationProtocolSelectorAdapter.selectApplicationProtocol

Performs the ALPN protocol selection from the given list of length-delimited peer protocols. @param encodedProtocols the peer protocols in length-delimited form. @return If successful, returns the offset into the {@code lenghPrefixedList} array of the selected protocol (i.e. points to the length prefix). Otherwise, returns {@link #NO_PROTOCOL_SELECTED}.

class ApplicationProtocolSelectorAdapter
int
selectApplicationProtocol

Meta