Interface ValidationConsumer<T>

  • Type Parameters:
    T - the type of the object to be validated
    All Superinterfaces:
    java.util.function.BiConsumer<T,​org.springframework.validation.Errors>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ValidationConsumer<T>
    extends java.util.function.BiConsumer<T,​org.springframework.validation.Errors>
    ValidationConsumer is an interface that works along with other Validators to help with the validation work. It extends the Consumer interface and it should perform the validation work.
    • Method Summary

      • Methods inherited from interface java.util.function.BiConsumer

        accept, andThen