Top Description Methods
io.netty.handler.ssl

pack-priv Interface ApplicationProtocolAccessor

Known Direct Implementers
io.netty.handler.ssl.ReferenceCountedOpenSslEngine, io.netty.handler.ssl.JdkSslEngine

Provides a way to get the application-level protocol name from ALPN or NPN.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the application-level protocol name or null if the negotiation failed or the client does not have ALPN/NPN extension
getNegotiatedApplicationProtocol
()

Returns the name of the negotiated application-level protocol.

Method Detail

getNegotiatedApplicationProtocolback to summary
public String getNegotiatedApplicationProtocol()

Returns the name of the negotiated application-level protocol.

Returns:String

the application-level protocol name or null if the negotiation failed or the client does not have ALPN/NPN extension