Interface ApplicationProtocolAccessor

All Known Implementing Classes:
BouncyCastleAlpnSslEngine, JdkAlpnSslEngine, JdkSslEngine, OpenSslEngine, ReferenceCountedOpenSslEngine

interface ApplicationProtocolAccessor
Provides a way to get the application-level protocol name from ALPN or NPN.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the negotiated application-level protocol.
  • Method Details

    • getNegotiatedApplicationProtocol

      String getNegotiatedApplicationProtocol()
      Returns the name of the negotiated application-level protocol.
      Returns:
      the application-level protocol name or null if the negotiation failed or the client does not have ALPN/NPN extension