Class AggregationTransformer
java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.mongodb.handlers.aggregation.AggregationTransformer
- All Implemented Interfaces:
io.undertow.server.HttpHandler
transformer in charge of escaping the aggregation stages that can contain
dollar prefixed keys (for operators)
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
Constructor Details
-
AggregationTransformer
public AggregationTransformer(boolean phase) - Parameters:
phase- if 'true' then transform request otherwise transform the response
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Throws:
Exception
-