Class ClientConnectionFactory.Info

    • Method Detail

      • getProtocols

        public abstract java.util.List<java.lang.String> getProtocols​(boolean secure)
      • matches

        public boolean matches​(java.util.List<java.lang.String> candidates,
                               boolean secure)
        Tests whether one of the protocols of this class is also present in the given candidates list.
        Parameters:
        candidates - the candidates to match against
        secure - whether the protocol should be a secure one
        Returns:
        whether one of the protocols of this class is present in the candidates
      • upgrade

        public void upgrade​(EndPoint endPoint,
                            java.util.Map<java.lang.String,​java.lang.Object> context)