Class GetDocumentHandler
- java.lang.Object
-
- org.restheart.handlers.PipelinedHandler
-
- org.restheart.mongodb.handlers.document.GetDocumentHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
- Direct Known Subclasses:
GetFileHandler
public class GetDocumentHandler extends PipelinedHandler
- Author:
- Andrea Di Cesare <[email protected]>
-
-
Field Summary
-
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description GetDocumentHandler()
Default ctorGetDocumentHandler(PipelinedHandler next)
Default ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
-
-
-
Constructor Detail
-
GetDocumentHandler
public GetDocumentHandler()
Default ctor
-
GetDocumentHandler
public GetDocumentHandler(PipelinedHandler next)
Default ctor- Parameters:
next
-
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Specified by:
handleRequest
in classPipelinedHandler
- Parameters:
exchange
-- Throws:
Exception
-
-