Class ApplicationPipeline<H extends ApplicationHandler<H>>

    • Constructor Detail

      • ApplicationPipeline

        public ApplicationPipeline​(List<H> handlers)
        Creates an instance with a given list of handlers.

        Modification to the input list do not affect the pipeline.

        Parameters:
        handlers - the handlers
    • Method Detail

      • reverse

        public ApplicationPipeline<H> reverse()
        Returns a pipeline with the same handlers as this pipeline but in reverse order.
        Returns:
        the reversed pipeline