/** * Remove all cipher suites which are matched by the given predicate. Matching ciphers may be re-added by a later * rule. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector remove(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() ? this : new RemovingCipherSuiteSelector(this, predicate); }
/** * Remove all cipher suites which are matched by the given predicate. Matching ciphers may be re-added by a later * rule. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector remove(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() ? this : new RemovingCipherSuiteSelector(this, predicate); }
/** * Remove all cipher suites which are matched by the given predicate. Matching ciphers may be re-added by a later * rule. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector remove(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() ? this : new RemovingCipherSuiteSelector(this, predicate); }
/** * Remove all cipher suites which are matched by the given predicate. Matching ciphers may be re-added by a later * rule. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector remove(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() ? this : new RemovingCipherSuiteSelector(this, predicate); }