Class NormalOrBulkDispatcherHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class NormalOrBulkDispatcherHandler
    extends PipelinedHandler
    this handler dispatches request to normal or bulk post collection handlers depending on the content to be an object or an array
    Author:
    Andrea Di Cesare <andrea@softinstigate.com>
    • Constructor Detail

      • NormalOrBulkDispatcherHandler

        public NormalOrBulkDispatcherHandler​(PipelinedHandler nextNormal,
                                             PipelinedHandler nextBulk)
        Creates a new instance of PostCollectionHandler
        Parameters:
        nextNormal - next handler for normal requests
        nextBulk - next handler for bulk requests
    • Method Detail

      • handleRequest

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