private void enableOpenSSLEngineImplAlpn(SSLEngine sslEngine) throws NoSuchFieldException,
            IllegalAccessException {
        Field sslParametersField = sslEngine.getClass().getDeclaredField("sslParameters");
        sslParametersField.setAccessible(true);
        Object sslParameters = sslParametersField.get(sslEngine);
        if (sslParameters != null) {
            Field alpnProtocolsField = sslParameters.getClass().getDeclaredField("alpnProtocols");
            alpnProtocolsField.setAccessible(true);
            alpnProtocolsField.set(sslParameters, concatLengthPrefixed());
        }
    }
Http request ssl codec enables Application-Layer Protocol Negotiation(ALPN).

See http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04#page-4

@author Megatron King
@since 2019/1/3 23:01
netbare-core/src/main/java/com/github/megatronking/netbare/http/HttpSSLRequestCodec.java