/** * Push all cipher suites which are matched by the given predicate to the end of the enabled ciphers list. Only * cipher suites which are already enabled will be moved; no cipher suites are added by this transformation. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector pushToEnd(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() || predicate.isAlwaysTrue() ? this : new PushToEndCipherSuiteSelector(this, predicate); }
/** * Push all cipher suites which are matched by the given predicate to the end of the enabled ciphers list. Only * cipher suites which are already enabled will be moved; no cipher suites are added by this transformation. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector pushToEnd(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() || predicate.isAlwaysTrue() ? this : new PushToEndCipherSuiteSelector(this, predicate); }
/** * Push all cipher suites which are matched by the given predicate to the end of the enabled ciphers list. Only * cipher suites which are already enabled will be moved; no cipher suites are added by this transformation. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector pushToEnd(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() || predicate.isAlwaysTrue() ? this : new PushToEndCipherSuiteSelector(this, predicate); }
/** * Push all cipher suites which are matched by the given predicate to the end of the enabled ciphers list. Only * cipher suites which are already enabled will be moved; no cipher suites are added by this transformation. * * @param predicate the predicate to match * @return a new selector which includes the new rule */ public CipherSuiteSelector pushToEnd(final CipherSuitePredicate predicate) { return predicate == null || predicate.isAlwaysFalse() || predicate.isAlwaysTrue() ? this : new PushToEndCipherSuiteSelector(this, predicate); }