接口 SniHostNameMatcher


  • public interface SniHostNameMatcher
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      boolean match​(long ssl, String hostname)
      Returns true if the hostname was matched and so SNI should be allowed.
    • 方法详细资料

      • match

        boolean match​(long ssl,
                      String hostname)
        Returns true if the hostname was matched and so SNI should be allowed.
        参数:
        ssl - the SSL instance
        hostname - the hostname to match.
        返回:
        true if the hostname was matched