Class AggregationTransformer

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

    public class AggregationTransformer
    extends PipelinedHandler
    transformer in charge of escaping the aggregation stages that can contain dollar prefixed keys (for operator) use the dot notation
    Author:
    Andrea Di Cesare <andrea@softinstigate.com>
    • Constructor Detail

      • AggregationTransformer

        public AggregationTransformer​(boolean phase)
        Parameters:
        phase - true -> transform request otherwise transform the response
    • 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
        Throws:
        Exception