Class StorageBackedSessionManager.DefaultConsistentAddressConditionFactory

  • Enclosing class:
    StorageBackedSessionManager

    public static class StorageBackedSessionManager.DefaultConsistentAddressConditionFactory
    extends Object
    Simplifies Spring wiring of a true/false condition for the consistentAddress feature.
    Since:
    4.0.0
    • Constructor Detail

      • DefaultConsistentAddressConditionFactory

        public DefaultConsistentAddressConditionFactory()
    • Method Detail

      • getDefaultConsistentAddressCondition

        @Nonnull
        public static BiPredicate<String,​String> getDefaultConsistentAddressCondition​(boolean flag)
        Returns a suitable BiPredicate to satisfy a simple true/false value for the consistentAddress feature.
        Parameters:
        flag - true/false value for the feature
        Returns:
        a BiPredicate that satisfies the input