Class PipelinedHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler
    Direct Known Subclasses:
    PipelinedWrappingHandler, QueryStringRebuilder

    public abstract class PipelinedHandler
    extends Object
    implements io.undertow.server.HttpHandler
    base class to implement a PipelinedHandler
    Author:
    Andrea Di Cesare <andrea@softinstigate.com>
    • Constructor Detail

      • PipelinedHandler

        public PipelinedHandler()
        Creates a default instance of PipedHttpHandler with next = null
      • PipelinedHandler

        public PipelinedHandler​(PipelinedHandler next)
        Parameters:
        next - the next handler in this chain
    • Method Detail

      • handleRequest

        public abstract void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                                    throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Parameters:
        exchange -
        Throws:
        Exception
      • getNext

        protected PipelinedHandler getNext()
        Returns:
        the next PipedHttpHandler
      • setNext

        protected void setNext​(PipelinedHandler next)
        set the next PipedHttpHandler
        Parameters:
        next -
      • next

        protected void next​(io.undertow.server.HttpServerExchange exchange)
                     throws Exception
        Throws:
        Exception