public String applicationProtocol ( ) { SSLEngine engine = engine ( ) ; if ( ! ( engine instanceof ApplicationProtocolAccessor ) ) { return null ; } return ( ( ApplicationProtocolAccessor ) engine ) . getNegotiatedApplicationProtocol ( ) ; }
Returns the name of the current application - level protocol .