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
    java.lang.String
    Returns the name of the negotiated application-level protocol.
  • Method Details

    • getNegotiatedApplicationProtocol

      java.lang.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