Class SNIContextMatcher


  • public class SNIContextMatcher
    extends Object
    A class which returns a matching SSL context based on the SNI server list provided.
    • Method Detail

      • getContext

        public SSLContext getContext​(List<SNIServerName> servers)
        Used for finding the matching servers from the server list. Firstly, the exacts are matched, if not found, wildcards are tried.
      • getDefaultContext

        public SSLContext getDefaultContext()