Class PostCollectionHandler
- java.lang.Object
-
- org.restheart.handlers.PipelinedHandler
-
- org.restheart.mongodb.handlers.collection.PostCollectionHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class PostCollectionHandler extends PipelinedHandler
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
-
Field Summary
-
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description PostCollectionHandler()Creates a new instance of PostCollectionHandlerPostCollectionHandler(PipelinedHandler next)PostCollectionHandler(PipelinedHandler next, DocumentDAO documentDAO)PostCollectionHandler(DocumentDAO documentDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange exchange)-
Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
-
-
-
Constructor Detail
-
PostCollectionHandler
public PostCollectionHandler()
Creates a new instance of PostCollectionHandler
-
PostCollectionHandler
public PostCollectionHandler(DocumentDAO documentDAO)
- Parameters:
documentDAO-
-
PostCollectionHandler
public PostCollectionHandler(PipelinedHandler next)
- Parameters:
next-
-
PostCollectionHandler
public PostCollectionHandler(PipelinedHandler next, DocumentDAO documentDAO)
- Parameters:
next-documentDAO-
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Parameters:
exchange-- Throws:
Exception
-
-