Class HostnameResolver


  • public class HostnameResolver
    extends Object
    Resolves a hostname from an SSLSession.
    • Field Detail

      • logger

        protected final Logger logger
        Logger for this class.
      • sslSession

        private final SSLSession sslSession
        SSL session.
    • Constructor Detail

      • HostnameResolver

        public HostnameResolver​(SSLSession session)
        Creates a new hostname resolver.
        Parameters:
        session - SSL session
    • Method Detail

      • resolve

        public String resolve()
        Resolves a hostname from the SSL session.
        Returns:
        hostname