Interface SideEffectProducer

  • All Known Implementing Classes:
    SideEffectQueue, TypedResponseWriterImpl
    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 SideEffectProducer
    An action that is executed at the end of the processing. It will not be executed during the re-processing.
    • Method Detail

      • flush

        boolean flush()
        Applies the side effect.
        Returns:
        false to indicate that the side effect could not be applied successfully